Saturday, November 16, 2019

[google-cloud-sql-discuss] go sql driver unable to connect to cloud sql - googleapi: got HTTP response code 404 with body: Not Found

We have found that since yesterday, when our 2nd generation cloud sql instance got updated, the go-sql code that was used to connect to the cloud sql instance has been consistently failing. The error we get when calling the db.Ping API from go code is:
"ensure that the account has access to "[project]:us-central1:sql-1" (and make sure there's no typo in that name). Error during createEphemeral for [project]:us-central1:sql-1: googleapi: got HTTP response code 404 with body: Not Found"

Immediately after this error I see the following error by the go sql client - "Throttling refreshCfg(scio-deployment:us-central1:sql-1): it was only called 41.673428426s ago" . To re-iterate this code has been working perfectly for months but broke yesterday without any code change on our part. Any pointers to diagnose this issue is much appreciated! Thanks Vish

--
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/36128286-d354-44ca-b9fb-1472ed4b4391%40googlegroups.com.

No comments:

Post a Comment