【问题标题】:Production deployment issue on Google App engineGoogle App 引擎上的生产部署问题
【发布时间】:2018-09-13 10:12:12
【问题描述】:

我正在使用 Google App 引擎并部署了 Web 应用程序。 我尝试使用 App 引擎在本地部署代码然后它工作正常 但是当我部署在生产服务器上时,它会导致错误。

Request : POST 20180909t164211-dot-spry-autumn-140509.appspot.com/_ah/spi/BackendService.getApiConfigs 

(View request) Status : 500 Internal Server Error, Updated Screen shots for error and web.xml configration.

Web.xml configration: 
     <servlet>
            <servlet-name>SystemServiceServlet</servlet-name>
            <servlet-class>com.google.api.server.spi.SystemServiceServlet</servlet-class>
            <init-param>
                <param-name>services</param-name>
                <param-value />
            </init-param>
        </servlet>
        <servlet-mapping>
            <servlet-name>SystemServiceServlet</servlet-name>
            <url-pattern>/_ah/spi/*</url-pattern>
        </servlet-mapping>

生产错误:

请给我一些相同的解决方案。

【问题讨论】:

    标签: google-app-engine google-cloud-endpoints


    【解决方案1】:

    Endpoints v1 已关闭。您必须将应用程序迁移到 Endpoints v2。见migration instructions

    【讨论】:

    • 非常感谢您的建议,我也照做了,现在也不例外。但我没有从服务器获得任何值。当我检查日志,然后在警告下方看到:2018-09-17 15:54:05.318 IST [s~spry-autumn-140509/20180917t155213.412633544762062087].: api.twitter.com 相关讨论可以在互联网地址:google.co.jp/search?q=a6c11b97google.co.jp/search?q=64f416b2 TwitterException{exceptionCode=[a6c11b97-64f416b2 d82b1369-398ebb55], statusCode=-1, message=null, code=-1, retryAfter=-1, rateLimitStatus=null, version=4.0 .1}
    猜你喜欢
    • 1970-01-01
    • 2021-06-19
    • 1970-01-01
    • 1970-01-01
    • 2017-07-28
    • 2019-10-10
    • 1970-01-01
    • 1970-01-01
    • 2016-11-06
    相关资源
    最近更新 更多