Strange error log "Improper path /cloudsql/..."

39 views
Skip to first unread message

Thierry Falvo

unread,
May 20, 2021, 3:21:23 AM5/20/21
to Google Cloud SQL discuss
Hello,

I'm using stack Cloud Run (NestJS/TypeOrm) + Cloud Sql. Everything is working fine since a long time, and with multiples services, projects and databases. 

However, since yesterday morning, I saw a strange error message in Cloud Run log when attempting to connect to Cloud SQL :

Improper path /cloudsql/INSTANCE_NAME to connect to Postgres Cloud SQL instance INSTANCE_NAME.

where INSTANCE_NAME is the correct name of my cloud sql instance.

But everything is still working as usual. No problem. DB Connection is OK

This new log error happened first after a service update. No changes in my configuration, nothing in my dependencies (node.js), except if child dependencies have been updated during container build...

Cloud run environment variables are OK (INSTANCE_NAME).

Have you ever seen this kind of message ?
Thank you for your help and feedback !

Regards
Thierry



Thierry Falvo

unread,
May 20, 2021, 5:04:17 AM5/20/21
to Google Cloud SQL discuss
Sorry I've just found the answer on Stackoverflow (question already posted yesterday) :

Answer : 

This log was recently added in Cloud Run data path to provide more context for debugging CloudSQL connectivity issues. However, the original logic was overly aggressive, emitting this message even for properly working CloudSQL connections. Your application is working correctly and should not receive this warning.

Thank you for reporting this issue. The fix is ready and should roll out soon. You should not see this message anymore after the fix is out.


Here is also the issue  : 
Reply all
Reply to author
Forward
0 new messages