简体   繁体   English

Google App Engine 错误 DeadlineExceededException

[英]Google App Engine error DeadlineExceededException

The http request ( Or database connection ) is interrupted after 60 seconds, where it has been running without issues since years, this started to happen before couple of days after I deployed a new version of the application. http 请求(或数据库连接)在 60 秒后中断,多年来它一直运行没有问题,这在我部署新版本的应用程序后几天前开始发生。

Config: Java8 Instance class B4配置:Java8 实例 class B4

Migrating back to the older version runs just fine ( same DB, same config,.. )迁移回旧版本运行良好(相同的数据库,相同的配置,..)

Some important parts of the exception:异常的一些重要部分:

Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
..
..
Caused by: com.google.apphosting.api.DeadlineExceededException: This request (000001725d05624c) started at 2020/05/28 20:42:13.452 UTC and was still executing at 2020/05/28 20:43:14.119 UTC.

The issue was caused from using the deprecated google maven plugin com.google.appengine.appengine-maven-plugin which fails silently and it does not update GAE configuration, and so the defaults ones are used, for example the instance class was F1 . The issue was caused from using the deprecated google maven plugin com.google.appengine.appengine-maven-plugin which fails silently and it does not update GAE configuration, and so the defaults ones are used, for example the instance class was F1 .

Switched to maven plugin com.google.cloud.tools.appengine-maven-plugin .切换到 maven 插件com.google.cloud.tools.appengine-maven-plugin

More info about the plugin https://cloud.google.com/appengine/docs/standard/java/using-maven#adding_the_app_engine_plugin_to_an_existing_project_optional有关插件https://cloud.google.com/appengine/docs/standard/java/using-maven#adding_the_app_engine_plugin_to_an_existing_project_optional的更多信息

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

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