Endpoints stopped working with proxy.html error - google-app-engine

Error I'm getting
Refused to display 'ah/api/static/proxy.html?jsh=m%3B%2F%2">https://appname.appspot.com/ah/api/static/proxy.html?jsh=m%3B%2F%2…8s_uMxLg#parent=http%3A%2F%2Fappname.appspot.com&rpctoken=....' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
Everything worked until yesterday. Started browser this morning to access app and got above message. Getting this on other endpoint apps too. Seems to fail when I access the endpoints to get info from the backend.

Yes, Endpoints discovery seems to be failing, but it's on Google's side and not your code. Star this issue and get updates on its progress:
https://code.google.com/p/googleappengine/issues/detail?id=9167

End points are indeed down for several of our apps. Certainly an error on google's side. Got to wait.
Worked till we refreshed the browser page today!
Error noted from Chrome's JavaScript Console:
GET https://_____.appspot.com/_ah/api/static/proxy.html?jsh=m%3B%2F_%2Fscsâ¦L3eu8s_uMxLg#parent=http%3A%2F%2F_____.appspot.com&rpctoken=689483000 404 (Not Found) cb=gapi.loaded_0:116
Refused to display 'https://_____.appspot.com/_ah/api/static/proxy.html?jsh=m%3B%2F_%2Fscsâ¦L3eu8s_uMxLg#parent=http%3A%2F%2F_____.appspot.com&rpctoken=689483000' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. about:blank:1
GET https://_____.appspot.com/_ah/api/static/proxy.html?jsh=m%3B%2F_%2Fscsâ¦L3eu8s_uMxLg#parent=http%3A%2F%2F_____.appspot.com&rpctoken=401828000 404 (Not Found) cb=gapi.loaded_0:116
Refused to display 'https://_____.appspot.com/_ah/api/static/proxy.html?jsh=m%3B%2F_%2Fscsâ¦L3eu8s_uMxLg#parent=http%3A%2F%2F_____.appspot.com&rpctoken=401828000' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. about:blank:1
Update (somebody is apparently working on it), the error has changed to:
Invalid gadgets.rpc token. 429366340 vs 703741727 cb=gapi.loaded_0:41
c cb=gapi.loaded_0:41
_.Mb._.sa cb=gapi.loaded_0:41
h cb=gapi.loaded_0:59
c cb=gapi.loaded_0:52
Uncaught Error: m`apiproxy0e30dfc60185e9bebed936e8008c20776b338f810.6918280611280352 cb=gapi.loaded_0:71
_.T.Ca.Mm cb=gapi.loaded_0:71
h cb=gapi.loaded_0:59
c

Related

requests are working locally but not on Heroku. Getting internal server error 500 and JSON not valid

I built a web application with django and react. It is working perfectly fine locally and the heroku deployment worked fine without issues.
When I am testing the heroku app some of my requests are working fine like login/register. However the request where information is being sent back from the server to be displayed or post requests sending information are giving me the following error
GET [request name] 500 (Internal Server Error)
and
Uncaught (in promise) SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
Would this issue be related to my requirements.txt or Procfile? Since the issue is not happening when the project is run locally and only on heroku.
Could anyone point me in the right direction?

react native 404 not found while using deployed endpoint

I'm using React Native to work on my project. The problem I'm facing: it is working perfectly 200 ok while fetching data locally but, when I try to use after deployment it says 404 not found.
What could be the reason?
A 404 error is an HTTP status code that means that the page you were trying to reach, couldn't be found on their server.

React/Github-pages: Failed to load resource: the server responded with a status of 404 ()

I have successfully uploaded react app`s to github pages before, but this time when I try to upload a new page the code is pushed and everything looks fine in the repository, everything loads fine in the localhost. The problem is when I access the website in the console i get the error message above.
const res = await axios.get(' https://api.open5e.com/monsters/?limit=1086');
I am using this API, the limit is above 50 but I don`t believe this is the reason for the crash but I cannot think of anything else.
Website 1: (Currently redirects you to a 404 error page, as part of my attempt to solve the problem)
https://ottotsuma.github.io/MonsterSearch/
Repo - Website 1:
https://github.com/ottotsuma/MonsterSearch
Website 2:
https://ottotsuma.github.io/MonsterApiReact/
Repo all code:
https://github.com/ottotsuma/DnD-React
I also get this error in localhost and the hosted website: Uncaught TypeError: Cannot use 'in' operator to search for 'default' in undefined. But since the website was working as intended so far I have just ignored it.
I was hoping if anyone else has had a similar problem with gh-pages they might know what I have done wrong.
Kind regards,
Sheep

Autodesk Forge API tutorial Get a 3-Legged Token 404 error

I have a similar issue to this post.
I am following the 3-legged tutorial on the Forge API website here, and I matched the callback URI and URL, tried swapping the data:read for viewables:read, and tried switching to https:// and not http:// but I'm still getting an error when I run the app and login via the link in the tutorial which I adjusted with my information.
The error I get is:
Not Found.
The requested URL /parking/oauth/callback was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Do you know what could be wrong?

Weird issue fetching HTTP URL on Production AppEngine instance [Java]

I am quite puzzled by this behavior.
I have a Java AppEngine instance which makes an http call to a "settings.php" on another server. But I get the following error:
ERROR :
java.io.IOException: Could not fetch URL: http://<3rdpartywebsite>/settings.php
at com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java:138)
at com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:45)
at com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:30)
...
I have tried using URLFetchService and even a simple HttpURLConnection class. Even tried with a different User-Agent and other http headers, but to no avail.
What is baffling is that the same code and website works fine on Local Eclipse Dev environment, works via Browser (can see php text) AND works on the Compute Engine too! Only the Production App Engine throws the "could not fetch" error. Unfortunately this is not a transient error, it fails 10/10 times.
Any idea what could be going wrong or something that I can try?
Thanks, Asim

Resources