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

已查看 44 次
跳至第一个未读帖子

Thierry Falvo

未读,
2021年5月20日 03:21:232021/5/20
收件人 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

未读,
2021年5月20日 05:04:172021/5/20
收件人 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  : 
回复全部
回复作者
转发
0 个新帖子