2016-07-14 11 views
0

APIバックエンドのすべてのエンドポイントで問題はないようですが、ウェブクライアントでは_ah/api/explorer URLにサービスが表示されません。 APIはローカルサーバーには表示されますが、展開時には表示されません。 ;ログには、明らかに次のようにAPIがデプロイされ、サービス中...サービスが表示されない - GAE

API構成更新サービング

app.yamlを

application: mk-dev 
version: 1 
runtime: python27 
api_version: 1 
threadsafe: yes 

- url: /_ah/spi/.* 
script: main.api 

- url: /.* 
script: main.app 
secure: always 

展開があることを示し

03:13 PM Compilation completed. 

03:13 PM Starting deployment. 

03:13 PM Checking if deployment succeeded. 

03:13 PM Deployment successful. 

03:14 PM Checking if updated app version is serving. 

03:14 PM Checking if Endpoints configuration has been updated. 

03:14 PM Will check again in 1 seconds. 

03:14 PM Checking if Endpoints configuration has been updated. 

03:14 PM Will check again in 2 seconds. 

03:14 PM Checking if Endpoints configuration has been updated. 

03:14 PM Will check again in 4 seconds. 

03:14 PM Checking if Endpoints configuration has been updated. 

03:14 PM Will check again in 8 seconds. 

03:14 PM Checking if Endpoints configuration has been updated. 

03:14 PM Completed update of app: mk-dev, version: v1 

03:14 PM Uploading index definitions. 

UPDATE

だけのdevのツールのコンソールでチェック。

Failed to load resource: https://mk-dev.appspot.com/_ah/api/discovery/v1/apis resourse the server responded with a status of 404() 

cb=gapi.loaded_0:46 Uncaught Error: java.lang.IllegalArgumentException: Error parsing JSON: SyntaxError: Unexpected token < in JSON at position 1 [<html> <head> <title>404 Not Found</title> </head> <body> <h1>404 Not Found</h1> The resource could not be found.<br /><br />  </body> </html>]  
+0

安全でないスクリプトを読み込むには、ブラウザを有効にする必要があります。ブラウザのアドレスバーにあるセキュリティアイコンをクリックします。 –

+0

@AvinashRaj質問の更新をご確認ください。リソースが実際にロードされていない –

答えて

0

ソリューションは、クラウドコンソールの設定で、バージョン「1」から「v1」へのトラフィックを移行していることを確認していました。今はうまく動作します。

関連する問題