cloud-sql-proxy: Upgrading from 1.14 to 1.16 causes authError, Message: Invalid Credentials

Recently I upgraded cloud-sql-proxy to 1.16 and spent most of my day figuring out what portion of my configuration i had screwed up. Rolling back to 1.14 resolves the problem… Here is what is shown in the logs:

E 2019-12-30T19:01:10.104576468Z Reason: authError, Message: Invalid Credentials
E 2019-12-30T19:01:10.104570780Z More details:
E 2019-12-30T19:01:10.104557726Z 	googleapi: Error 401: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
E 2019-12-30T19:01:10.104518343Z 2019/12/30 19:01:10 errors parsing config:

Perhaps there’s some config parsing change introduced? This issue appears similar to #301

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 27 (16 by maintainers)

Most upvoted comments

Hi @alejandro-delgado-garcia - please open a new issue as this is a different issue that just happens to be throwing the same error.

Hi @carlos-cubas - Can you provide more info so we can try to replicate? What does your config look like and what scenario are you using the proxy in?