Monday, June 1, 2020

[google-cloud-sql-discuss] issue with cloudsql closing the connection unexpectedly error

Hello.

At times, a cloud function will fail due to the following error:

server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request.

This can happen with different cloud functions (in Python) and it's random.  Sometimes I'll go a week without an error and other times it can happen several times within a 24 hour period.  It's not like the cloud function is taking a long time to run, sometimes only a few seconds.  Most of the time the functions work great so I know it's not a security or service permission error.  Also, when this occurs, there's no consistent time of day so it's not like a backup or other system maintenance was being performed.

If anyone has any suggestions about what to do or how to handle, I would appreciate it.

Thanks.
Rhys

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/7176b3ac-cbd3-4de9-97fa-d5492e809670%40googlegroups.com.

No comments:

Post a Comment