Java 应用程序引擎端点警告
当我在我的GAE应用程序上查看日志时,我经常会看到这样的警告消息:Java 应用程序引擎端点警告,java,google-app-engine,google-cloud-endpoints-v2,Java,Google App Engine,Google Cloud Endpoints V2,当我在我的GAE应用程序上查看日志时,我经常会看到这样的警告消息: com.google.api.control.Client flushAndScheduleReports: direct send of a report request failed because of endpoints.repackaged.com.google.api.client.http.HttpResponseException: 400 (Client.java:354) { "error": {
com.google.api.control.Client flushAndScheduleReports: direct send of a report request failed because of endpoints.repackaged.com.google.api.client.http.HttpResponseException: 400 (Client.java:354)
{
"error": {
"code": 400,
"message": "Precondition check failed.",
"errors": [
{
"message": "Precondition check failed.",
"domain": "global",
"reason": "failedPrecondition"
}
],
"status": "FAILED_PRECONDITION"
}
}
然而,客户端应用程序似乎能按预期工作,我不明白这意味着什么。如果您有一个低流量API,如果请求之间的间隔太长,通常会发生这种情况。该应用程序将按预期工作,但度量报告可能已关闭。这是因为,除非您运行的是后端实例,否则每隔这么多请求都会聚合和报告度量值。您是否在应用程序引擎标准版上运行?是的,标准版环境