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