2016-07-14 1 views
0

API 백엔드의 모든 점이 정상적으로 표시되지만 내 웹 클라이언트는 _ah/api/explorer url에 서비스를 표시하지 않습니다. API는 로컬 서버에는 표시되지만 배포에는 표시되지 않습니다. 로그에서 명확API가 배포 및 게재 중 ... 서비스가 표시되지 않음 - GAE

애플리케이션 제목을 제공

API 구성 업데이트를 보여줍니다

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

단지 개발 도구 콘솔에서 확인;

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"으로 트래픽을 마이그레이션하고 있는지 확인했습니다. 이제 잘 작동합니다.

관련 문제