【问题标题】:Google App Engine ERROR Throttling refreshCfg with Gcloud MySQL instanceGoogle App Engine 错误使用 Gcloud MySQL 实例限制 refreshCfg
【发布时间】:2021-08-25 04:13:11
【问题描述】:

在具有公共 IP 的 Google APP Engine 上运行的 Google Cloud MySQL 中发生连续失败的连接尝试错误。

这些是一些日志:

receiveTimestamp    resource.labels.module_id   resource.labels.project_id  resource.labels.version_id  resource.labels.zone    resource.type   severity    textPayload timestamp

2021-06-08T05:48:43.497385728Z  zzzzzzzzzz  xxxxxxx 4   eu5 gae_app ERROR   Throttling refreshCfg(xxxxxxx:europe-west1:yyyyyyyyy): it was only called 80.802µs ago  2021-06-08T05:48:43.494284Z

2021-06-08T05:19:08.394840567Z  zzzzzzzzzz  xxxxxxx 4   eu5 gae_app ERROR   Throttling refreshCfg(xxxxxxx:europe-west1:yyyyyyyyy): it was only called 42.519µs ago  2021-06-08T05:19:08.391909Z

2021-06-08T05:13:42.889911567Z  zzzzzzzzzz  xxxxxxx 4   eu5 gae_app ERROR   Throttling refreshCfg(xxxxxxx:europe-west1:yyyyyyyyy): it was only called 73.279µs ago  2021-06-08T05:13:42.888659Z

2021-06-08T04:47:07.470804269Z  zzzzzzzzzz  xxxxxxx 4   eu5 gae_app ERROR   Throttling refreshCfg(xxxxxxx:europe-west1:yyyyyyyyy): it was only called 85.928µs ago  2021-06-08T04:47:07.467377Z

我尝试了一些不同的 max_connections、pool_size、pool_timeout 配置,但没有成功。

已咨询this上一期。

还有this 文档。

我们将不胜感激。

更多信息。错误总是在日志记录中出现此警告:

"protoPayload": {
"@type": "type.googleapis.com/google.cloud.audit.AuditLog",
"status": {},
"authenticationInfo": {
  "principalEmail": "bbbbbbbb@appspot.gserviceaccount.com",
  "serviceAccountDelegationInfo": [
    {
      "firstPartyPrincipal": {
        "principalEmail": "app-engine-appserver@prod.google.com"
      }
    }
  ]
},
"requestMetadata": {
  "callerIp": "2600:1900:2001:12::8",
  "requestAttributes": {
    "time": "2021-06-09T05:59:27.400680Z",
    "auth": {}
  },
  "destinationAttributes": {}
},
"serviceName": "cloudsql.googleapis.com",
"methodName": "cloudsql.instances.connect",
"authorizationInfo": [
  {
    "resource": "instances/aaaaaaaaaaa",
    "permission": "cloudsql.instances.connect",
    "granted": true,
    "resourceAttributes": {}
  }
],
"resourceName": "instances/aaaaaaaaa",
"request": {
  "project": "bbbbbbb",
  "@type": "type.googleapis.com/google.cloud.sql.v1beta4.SqlInstancesCreateEphemeralCertRequest",
  "instance": "zzzzzzzzz",
  "body": {}
},
"response": {
  "@type": "type.googleapis.com/google.cloud.sql.v1beta4.SslCert",
  "kind": "sql#sslCert"
}
},
"insertId": "-rgtsssssssssss",
"resource": {
    "type": "cloudsql_database",
    "labels": {
    "region": "europe-west1",
    "project_id": "bbbbbbbb",
    "database_id": "aaaaaaaaaaaaaaa"
}
},
"timestamp": "2021-06-09T05:59:27.381352Z",
"severity": "NOTICE",
"logName": 
"projects/demosmf/logs/cloudaudit.googleapis.com%2Factivity",
"receiveTimestamp": "2021-06-09T05:59:27.746071609Z"

我认为这与ssl证书的管理有关。

我已验证申请证书有效且未过期

【问题讨论】:

  • 我们在使用 App Engine 和 Google Cloud SQL (postgres) 时遇到了同样的问题。它似乎发生在新的应用引擎实例启动时。我们在 6 月 4 日左右开始注意到这一点。

标签: mysql google-app-engine gcloud google-cloud-sql


【解决方案1】:

此错误已通过 Google 的Public Issue Tracker 报告。

您可以按照我上面提到的线程跟踪进度。

【讨论】:

    猜你喜欢
    • 2021-12-31
    • 2018-11-03
    • 1970-01-01
    • 1970-01-01
    • 2017-10-21
    • 2012-06-18
    • 1970-01-01
    • 2017-04-16
    • 1970-01-01
    相关资源
    最近更新 更多