Google Apis explorer does not work on local development server

Google Apis explorer does not work on the local development server, and it does not show errors, just redirects.

INFO 2016-02-01 06:19: 42,645 module.py:787] default: "GET / _ah / api / explorer HTTP / 1.1" 302 - INFO 2016-02-01 06:19: 45,206 module.py:787 ] default: "GET /ah/api/static/proxy.html?jsh=m%3B%2F%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.en_GB.mX-Sl4wQAT8.O%2Fm% 3D__features __% 2Fam% 3DAQ% 2Frt% 3Dj% 2Fd% 3D1% 2FT% 3Dzcms% 2Frs% 3DAGLTcCNc6PXZbysb_U3xKZFWCKbDMDUETg HTTP / 1.1 "200 7933 INFO 2016-02-01 06: 19: 52,044 module ahpy7878 / module:py7878 / ah: 7878 module ahpy /api/static/proxy.html?jsh=m%3B%2F%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.en_GB.mX-Sl4wQAT8.O%2Fm%3D__features__%2Fam%3DAQ% 2Frt % 3Dj% 2Fd% 3D1% 2FT% 3Dzcms% 2Frs% 3DAGLTcCNc6PXZbysb_U3xKZFWCKbDMDUETg HTTP / 1.1 "200 7933

Im able to view the discovery document for my application also without errors. I can make calls from the javascript client to my apis, but I do not see them in apis explorer. I was able to see them on the last day, and left in the morning.

  • The problem persists in all applications running on the development server.
  • Specifications: -

    • 1.9.31 - sdk version
    • python - language
    • mac-os x

    I am new to Google Cloud endpoints and I cannot figure out how to track the issue. Any recommendations would be appreciated. Thanks

Update: Workaround

, , Chrome. , Chrome --user-data-dir=test --unsafely-treat-insecure-origin-as-secure=http://localhost:8080, google https://code.google.com/p/googleappengine/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log&groupby=&sort=&id=12713

chrome- mac-osx, : https://www.chromium.org/user-experience/user-data-directory

+4
3

- , Chrome , api explorer localhost

Google.

api explorer localhost dev.
, Chrome "-allow-running-insecure-content"
MacOS :

//Google\Chrome.app/Contents/Mac/Google\Chrome --user-data-dir = test --allow-running-insecure-content

+2

. , API .

To access the API browser remotely, open the following link in your browser. https://your-app-id.appspot.com/_ah/api/explorer

It works until a solution is available.

0
source

Source: https://habr.com/ru/post/1626818/


All Articles