Google App Engine Datastore Admin - google-app-engine

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!

Related

Can't open "Datastore Admin"

I have a project including a problem.
After I enabled Datastore Admin, I clicked "Open Datastore Admin" button.
However, I faced an error of "500 Internal Server Error".
An error message is as follows.
The server has either erred or is incapable of performing the requested operation.
In other project, I can open Datastore Admin normally.
I deployed the program of correct project to GAE by eclipse, but same error has occurred.
I cannot find a solution, please help me.
There is a bug report for this issue:
https://code.google.com/p/googleappengine/issues/detail?id=10150&q=%22datastore%20admin%22&colspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log
"This looks to be a problem because you are using non-default authentication scheme.
Are you using user service/Google Accounts API for authentication of users inside your application? If not, consider changing your authentication method.
If you are, then you'll need to setup a custom domain and access the datastore admin via:
https://ah-builtin-python-bundle-dot-
so that the correct authentication cookies can be used."
I have the same issue, I'm using simpleauth for authentication and I suspect that is the problem... but I haven't solved it yet, changing my authentication scheme is not an option.

App Engine (On Google Apps) Custom Domain can't remove

I got the error when I click 'delete' for deleting Web address
We are unable to process your request at this time. Please try again later. (Error #1000)
and I got this error when I try to delete google app engine from Google Apps
You do not have the permissions necessary to uninstall this application.
Today problem gone after I email to support and post this issue =)

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.

Error when deploying application on Google App Engine

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

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