简体   繁体   English

App Engine端点向下

[英]App Engine Endpoints DOWN

I use Google Cloud Endpoints for my application. 我将Google Cloud Endpoints用于我的应用程序。 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. 我尝试将端点添加到app.yaml的库部分,但是部署失败,因为它不是有效的库。 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! 当我查看实例页面时,它说我的实例正在App Engine 1.8.5上运行,这是一个尚未发行的预发行版本!

Is this a Google problem or something with my code? 这是Google问题还是我的代码有问题?

The message you're seeing is a warning, not an error. 您看到的消息是警告,而不是错误。 Endpoints running on Python 2.7 will continue to work without code changes. 在Python 2.7上运行的端点将继续工作而无需更改代码。

However, you may also be seeing an error if you're trying to run Endpoints on Python 2.5. 但是,如果您尝试在Python 2.5上运行Endpoints,也可能会看到错误。 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. 要恢复使用Endpoints,您需要将应用程序更新为Python 2.7。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM