GAE Server Error when Opening App in Console - google-app-engine

When I open up the Google App Engine console and click on one particular app I get:-
Server Error (500)
A server error has occurred.
Additional info:-
This only happens for one app (I have 8 in total).
The app is deployed and I can view it no dramas via the appspot URL.
It happens as soon as I click the app name in the "Applications Overview" page - I am unable to view the console for that app at all.
There are no errors when deploying from the GAE Launcher and I've tried re-deploying several times.
I was able to login yesterday morning but have been receiving this error since yesterday afternoon.
The app is Python (as are all my apps).
I tried logging in "incognito" and on a different PC without success.
I also tried deleting all the *.pyc files and re-compiling them but it made no difference.
Has anyone else come across this issue? Any suggestions on how to resolve it?
Thanks.

The issue was my YAML file contained:-
- url: /.*
script: about.application
Once I changed this so that the "about" page wasn't so greedy, it has worked.

Related

Application doesn't reflect updated contents once deployed locally through App Engine Standard

I have just started working on App Engine and during my first sample run only I faced this issue. I deployed the sample 'Hello App Engine' servlet code locally through Eclipse IDE. After hitting the localhost URL I was able to see the expected message 'Hello App Engine' as well.
Later I changed the message body to be displayed (Hi App Engine) and again deployed the code. Now, when I hit the localhost URL I don't see the updated message body. Instead it shows me the old message (Hello App Engine) only.
I tried refreshing my browser and manually setting the 'Run configuration' but nothing worked. Does anybody have any leads what could be the possible reason? Thanks.
Have you verified you are executing the redeployment correctly?.
To make sure you are not failing in this step you should delete the application completely and redeploy it again

Why Domain is Loading very slowly but when opening directly through App Engine Url it is opening very fastly?

I have a Domain which i bought it from GoDaddy.com and i have linked it to Google App Engine Flexible(NodeJs) Environment.
Now I when I am opening my Domain then it is sometimes taking more than 5 secs to load and sometimes I am getting Error
Server Error - 502
But the thing is when i am directly opening my app engine url which is https://************.appspot.com/ then it is always opening without status code 502 and also very fast.
Can anyone please tell me why this is happening.
The Problem got solved when i deployed my App again on different region (asia-south1) previously it was deployed on region us-east1. Don't know what was the error but it worked for me.

Can't deploy to GAE - the application doesn't exist

Using Eclipse, I am experiencing an error when trying to deploy a rather basic web app with JAX-RS and JAXB. It runs okay locally, but when trying it on the remote servers I get the message shown below...
'Deploying to Google' has encountered a problem / This application does not exist
Below shows my appengine-web.xml
The XML file illustrates that I am using the same name in the xml as what's specified in the project properties...
The output window show...
------------ Deploying frontend ------------
Preparing to deploy:
Created staging directory at: '/var/folders/n8/6by626014jbfc0dwmxnb0ly00000gn/T/appcfg2754901216637807129.tmp'
Scanning for jsp files.
Scanning files on local disk.
Initiating update.
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=hillingarincident&version=0&
404 Not Found
This application does not exist (app_id=u'hillingarincident').
Debugging information may be found in /private/var/folders/n8/6by626014jbfc0dwmxnb0ly00000gn/T/appengine-deploy447984481661870877.log
The referenced debug logs show...
Unable to update:
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=hillingarincident&version=0&
404 Not Found
This application does not exist (app_id=u'hillingarincident').
at com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:293)
at com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:253)
at com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:232)
at com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:644)
at com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:449)
at com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:124)
at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:371)
at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:53)
at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:433)
at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:148)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Any answers will be appreciated. At one point my browser was not logged in to the target google account, so I swapped to the correct one a little later, Google does render the application name as expected.
Okay, this was simple in the end! Eclipse performs an auto-login to the Google account, unfortunately I created the Eclipse project whilst being logged in to one Google account and then tried to specify the application name afterwards.
You'll see in the bottom-right (or bottom-left in some versions) a Google icon with the name of the user that you are logged in as. If that's not the account where your application is defined, then simply logout of that account, then login as the correct Google account.
Now there's no error :-)
I know this question is super old but I had this issue all day and finally I found a solution. Maybe it will help someone out in the future.
After you create a project in Google Cloud Platform, you must go to google cloud shell in your project and run the command
gcloud beta app create
After you run this command, you will get prompted to choose a region. Then go back to eclipse and try deploying it. It worked for me.
There are not just 1 way can cause this problem. For me, I have this problem when I create the project using Maven. But I don't have the same issue if I directly create the project from the Google plugin.
There might be another issue, when you register with Google App Engine, you receive email indicating your activation. If you have not received the email yet, this problem could occur too.
Another issue could be to use the gmail account for the Google App Engine to avoid any such errors.

Getting 404 on my app

I have a GAE application I'm developing. I've been away for about two weeks and have not used the app. Today I get a 404, not found. How could my app disappear? I can still log in as administrator and the app seems to be set up correctly but even using the links from admin I get a 404.
A GAE app doesn't disappear with a 404 error...
You should have another setup issue.
Have a look to the tutorial

Eclipse error on deploying AppEngine project

I am using the Eclipse with the Google AppEngine plugins (Java) and following the http://code.google.com/appengine/docs/java/gettingstarted/uploading.html tutorial.
Everything works fine locally, but when I try to deploy to AppEngine I get an error
"Error While signing in"
An error occurred while trying to sign in 400 bad request. See the error logs for more details.
This error is before I enter any login info or anything.
I am copy/pasting the App ID from the AppEngine website so Im pretty sure I got it right.
I have no idea where the logs are on this thing, so any help there would also be appreciated.
Try logging out and back in again. That worked for me.
Change your proxy settings!
Please go to Window -> Preferences
Then from General find Network Connections and update your proxy settings.
This must solve your issue.

Resources