App Engine Endpoints DOWN

冷暖自知 提交于 2019-12-05 07:10:16

问题


I use Google Cloud Endpoints for my application. Whenever I hit the application root, it gives an error. The console says:

Importing endpoints from google.appengine.ext is deprecated and will be removed.  Add the endpoints library to app.yaml, then endpoints can be imported simply with "import endpoints".

There is no mention of this in the documentation and I believe I am doing this correctly.

I tried adding endpoints to the library section of app.yaml, but the deployment failed saying that it wasn't a valid library. When I look in the instance page, it says that my instances are running on App Engine 1.8.5, which is a pre-release version that hasn't even come out yet!

Is this a Google problem or something with my code?


回答1:


The message you're seeing is a warning, not an error. Endpoints running on Python 2.7 will continue to work without code changes.

However, you may also be seeing an error if you're trying to run Endpoints on Python 2.5. This will no longer work, and unfortunately was not well communicated prior to the release. To resume use of Endpoints, you'll need to update your application to Python 2.7.



来源:https://stackoverflow.com/questions/18985115/app-engine-endpoints-down

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!