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

閲覧: 44 回
最初の未読メッセージにスキップ

Thierry Falvo

未読、
2021/05/20 3:21:232021/05/20
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

未読、
2021/05/20 5:04:172021/05/20
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  : 
全員に返信
投稿者に返信
転送
新着メール 0 件