在Google Cloud SQL中读取通信数据包时出错

问题描述 投票:0回答:1

从3月31日起,我在Google Cloud SQL中遇到以下错误:

读取通信包时出错。

我已经使用Google Cloud SQL 2年了,但从未遇到过这样的问题。我很担心。

这是详细的错误消息:

textPayload:  "2019-04-29T17:21:26.007574Z 203385 [Note] Aborted connection 203385 to db: {db_name} user: {db_username} host: 'cloudsqlproxy~{private ip}' (Got an error reading communication packets)"
google-cloud-platform connection google-cloud-sql database-connectivity
1个回答
0
投票

此错误消息表明存在连接问题,原因是您的应用程序未正确终止连接或由于网络问题。

正如在GCP文档中针对MySQLPostgreSQL实例的这些故障排除步骤中所建议的那样,您可以通过检查是否遵循best practices for managing database connections来开始调试。

© www.soinside.com 2019 - 2024. All rights reserved.