E 2017-08-18T12:09:41.883032Z 344745 [Note] Aborted connection 344745 to db: '***' user: '***' host: '***.***.***.***' (Got an error reading communication packets)
E 2017-08-18T12:11:12.061786Z 362326 [Note] Aborted connection 362326 to db: '***' user: '***' host: '***.***.***.***' (Got timeout reading communication packets)
E 2017-08-18T13:22:07.443999Z 10400 [Note] Aborted connection 10400 to db: 'cms' user: '***' host: 'cloudsqlproxy~***' (Got an error reading communication packets)
E 2017-08-18T13:22:07.447055Z 10459 [Note] Aborted connection 10459 to db: 'cms' user: '***' host: 'cloudsqlproxy~***' (Got an error reading communication packets)
E 2017-08-18T13:22:11.617081Z 10509 [Note] Aborted connection 10509 to db: 'cms' user: '***' host: 'cloudsqlproxy~***' (Got an error reading communication packets)
E 2017-08-18T13:22:12.841405Z 9892 [Note] Aborted connection 9892 to db: 'cms' user: '***' host: 'cloudsqlproxy~***' (Got timeout reading communication packets)
Hello Thomas,
Please note that aborted connection error is caused mainly by the following events:
- A client attempts to access a database but has no privileges for it.
- A client uses an incorrect password.
- A connection packet does not contain the right information.
- It takes more than connect_timeout seconds to obtain a connect packet.”
- The client slept for longer than the defined wait_timeout or interactive_timeout seconds
I suggest you review this document that contains a list of the most frequent issues you might run into when working with Google Cloud SQL instances as well as steps you can take to address them. I would also recommend to read this third party document to identify the possible reasons for MySQL “Got an error reading communication packet” errors, and how to address them.
If you still are seeing this error after reviewing the above information, and you believe the issue is on our end, please open a private Issue Tracker and provide the following information:
- Project ID and Cloud SQL instance ID
- Timestamp of the last occurence
- Have you performed any change to the code accessing the Mysql since the "timeouts" or the "error reading" was not happening?
- Do you close the connections properly during the normal behaviour?
- Do you keep many connections idle and open for a long time?
- Screenshot of the error encountered on your end
Please make sure to open it using the provided link as it will be a private Issue Tracker where you will be able to share your project ID.
Hi Alejo,
Thank you for reporting this issue.
Please note that Issue tracker would be the right channel to address these kind of technical issue as Google Groups hosts discussion forums where you're likely to find information like service status updates and release notes and high-level discussions on the platform.
Currently the Cloud SQL engineering team is aware of this issue and it's currently being worked on.
Further communications will be made in this thread, however we cannot promise an ETA for the resolution of this issue.
Also of my colleague answered here [2] with detailed resolution steps,
I hope it helps you!
Hello Melki,
Thank you for your reply.