I cannot run Google Endpoints Framework V2 on the local AppEngine application development server.
To demonstrate the problem, I created a gradle demo project. It works fine if it is deployed to a real instance of the standard AppEngine environment, but does not work with the local dev server.
Playback Actions:
- edit appengine-web.xml if you want to change the default appengine service name (framework-v2-someapi) and change that name in step 5.
- gcloud auth login
- gcloud config set project PROJECT_ID
- ./gradlew appengineDeploy
- gcloud app browse -s framework-v2-someapi
- Click the API link in the new browser window that opens.
- Play with the API and check Services> someapi API v1> someapi.method.getHash works fine.
- ./gradlew appengineStart and open http: // localhost: 8080 to try to make the same locale and get errors.
Finally got
January 24, 2017: 7:25:40 com.google.appengine.tools.development.devappserver2.RemoteApiDelegate log SEVERE: [1485285940023000] javax.servlet.ServletContext log: unavailable com.google.appengine.tools.remoteapi.RemoteApiException: python exception: cgoogle.appengine.runtime.apiproxy_errors ApplicationError
My question is how to run Google Endpoints Framework V2 locally?
source
share