Thursday, September 28, 2017

[google-cloud-sql-discuss] Sporadic connection errors (tcp i/o timeout; cannot fetch oauth token; connection refused)

Hi,

We're using sqlproxy (gcr.io/cloudsql-docker/gce-proxy:1.10) to connect a PHP application running within Google's container engine.

For the most part it's working fine - but every so often we see errors like :

SQLSTATE[HY000] [2002] Connection refused

from the PHP application.

We're also seeing :

2017/09/28 08:04:51 couldn't connect to "<project-name>:europe-west2:<mysql instance name>": Post https://www.googleapis.com/sql/v1beta4/projects/<project-name>/instances/<mysql instance name>/createEphemeral?alt=json: oauth2: cannot fetch token: Post https://accounts.google.com/o/oauth2/token: dial tcp: i/o timeout


In the sqlproxy log.

Any suggestions?

thanks,

David.

--
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/7794cff5-7075-4c2d-82b5-7a2b4f3fea69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment