For the past few days I get the following two warning entries in my logs every half a second, to the point that the logs (without filtering) are useles.
CloudSQL warning: your action is needed to update your application and avoid potential disruptions. Please see https://cloud.google.com/sql/docs/mysql/connect-overview for additional details: googleapi: Error 400: Invalid request: Invalid value for region: . Region name can't be empty., invalid
and
failed to refresh the ephemeral certificate for ###############: googleapi: Error 400: Invalid request: Invalid value for region: . Region name can't be empty., invalid
The url they point you at is of no use, and there is not region name setting anywhere.
Anyone faced a similar issue?
This is an appengine standard environment django app and the cloudsql is msql if that helps
I suspect some recent logging changes on the backend have surfaced these errors. Either way, the log messages point to the problem: you're not including a region when connecting to the Cloud SQL database. Instead you'll want to use something like:
/cloudsql/your-project:region:your-db-instance