The Datastore Admin page is blank in my App Engine

2019-03-22 16:55发布

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?

4条回答
聊天终结者
2楼-- · 2019-03-22 17:39

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

查看更多
何必那么认真
3楼-- · 2019-03-22 17:39
  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.

查看更多
甜甜的少女心
4楼-- · 2019-03-22 17:43

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

查看更多
欢心
5楼-- · 2019-03-22 17:45

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.

查看更多
登录 后发表回答