I can't get running Google Endpoints Framework V2 on local AppEngine development server.
To demonstrate an issue i created a gradle demo project It works just fine if deploy to real AppEngine standard environment instance but does not work with local dev server.
The steps to reproduce:
- edit appengine-web.xml in case wish to change default appengine service name (framework-v2-someapi) and change that name on step 5 as well.
- gcloud auth login
- gcloud config set project PROJECT_ID
- ./gradlew appengineDeploy
- gcloud app browse -s framework-v2-someapi
- Click API link in new opened browser window.
- Play with API Explorer and check the Services > someapi API v1 > someapi.method.getHash works fine.
- ./gradlew appengineStart and open http://localhost:8080 to try do the same localy and get errors instead.
Eventually got
Jan 24, 2017 7:25:40 PM com.google.appengine.tools.development.devappserver2.RemoteApiDelegate log SEVERE: [1485285940023000] javax.servlet.ServletContext log: unavailable com.google.appengine.tools.remoteapi.RemoteApiException: response was a python exception: cgoogle.appengine.runtime.apiproxy_errors ApplicationError
My question is how to run Google Endpoints Framework V2 localy?
web.xml. - saiyr[INFO] GCLOUD: WARNING: failed endpoints-api-controller: com.google.appengine.tools.remoteapi.RemoteApiException: response was a python exception: [INFO] GCLOUD: cgoogle.appengine.runtime.apiproxy_errors [INFO] GCLOUD: ApplicationError- Alexei Volkov