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.
Related
For some reason my project is not showing logs in the page https://console.cloud.google.com/logs/viewer and I'm prompted with the message:
Welcome to Cloud Logging
View, search, analyze, and download your project's log data, all in one place. This is where you will find the logs for all your projects and Cloud Platform services.
You do not have any logs in your project right now.
However I definitely have logs generated by a google app engine and cloud build, I can access them without a problem using the gcloud command:
gcloud logging read "resource.type=gae_app" --limit 10 --format json
Also, I've enabled error reporting and I can see the logs there for errors, but if I click the label "View Logs" it does nothing.
There's something broken in my project but I'm not sure how to reach support in this case, also has anyone ever experienced something similar ? Is there any action that I can perform that could fix this issue ?
Thank you for any help :)
It magically fixed itself this morning. Yesterday I've enabled stackdriver monitoring in the hope that it could fix the issue, I don't know if that is relevant.
For anyone facing the same problem, best suggestion would be to contact support. For me it fixed automatically after few days :)
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.
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.
I have created an application using google app engine platform. Initially I tested the application locally using the GAE SDK with Eclipse and everything works fine. When I m trying to deploy it on Google`s server I get the following error:
" Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error message and the query that caused it. "
This is a very generic error. Is there a way to see the server`s log to get an idea of what might have went wrong?
Thnx
Well after looking around on GAE site , I found that you can view the server log in the following location:
Admin console -> "MyAppplication" -> Logs
When I try to access the Datastore Admin page in my GAE app, i get the following error
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error message and the query that caused it.
I have switched it on in my app.yaml
builtins:
- datastore_admin: on
I am not even able to download data from the datastore. I get the error Authentication failed.
What could be the reason ?
The bug is something to do with using custom domain. When I create a normal application and upload the code, it works fine. Only when I have a custom domain, i get the problem
I changed the apps's authentication method from Google Apps Domain to Google Accounts API and it now works.
look at the procedure in this documentation.
Maybe you forgot to add :
builtins:
- remote_api: on
Hope it help!