The Datastore Admin page is blank in my App Engine Control panel

十年热恋 提交于 2020-01-22 13:10:06

问题


The Datastore Admin page is blank in all my apps on appspot.com, I have followed the instructions to enable them, and receive no error message, just a blank page load.

Can anyone help?


回答1:


If you are on Google Chrome and logged in via multiple gmail accounts, try to open up App Engine dashboard using an incognito window. That should solve it.




回答2:


For future users with same blank page problem and Federated login you can also try the following.

Try to open the Datastore Admin page and if it's black then view the page source.

Your should see something like this (chrome - firefox - safari):

<iframe style="border:0px solid #ffffff"
        frameborder="0"
        src="https://ah-builtin-python-bundle-dot-latest-dot-app-id.appspot.com/_ah/datastore_admin/?app_id=s~app-id&adminconsolecustompage"
        width="100%"
        height="1024px">
<p>Your browser does not support iframes.</p>
</iframe>

The link you are looking for is the src:

https://ah-builtin-python-bundle-dot-latest-dot-app-id.appspot.com/_ah/datastore_admin/?app_id=s~app-id&adminconsolecustompage

Copy the link with the datastore admin login auth and open it in a new window.

That will ask you from OpenID(GOOGLE) to confirm that you want to grant access to Datastore admin to your email etc.

Allow and done ;-)

PS. This works once and you don't have to re do it again. Though you have to follow the same procedure for each of your apps that you have enabled Federated login




回答3:


It might also be because you are using Federated Login. I had the same issues with blank screens and no error messages. For me, the Datastore Admin became available when I changed the Authentications Options back to Google Accounts API. Definitely not a permanent solution, but desperate times calls for desperate solutions.

Ref: How to enable datastore admin




回答4:


  1. Open your browser's dev tools and look for errors in the console. In Firefox, I received:

    Invalid 'X-Frame-Options' header encountered when loading 'https://ah-builtin-python-bundle-dot-healthometry-hrd.appspot.com/_ah/datastore_admin/?app_id=s~healthometry-hrd&adminconsolecustompage': 'ALLOW-FROM https://appengine.google.com' is not a recognized directive. The header will be ignored.

  2. Open the long link in a separate tab and go through the federated login process. The datastore admin will appear. Upon refreshing your appengine.google.com page the Datastore Admin should appear there as well.



来源:https://stackoverflow.com/questions/8280623/the-datastore-admin-page-is-blank-in-my-app-engine-control-panel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!