Thursday, May 20, 2021

[google-cloud-sql-discuss] Re: Strange error log "Improper path /cloudsql/..."

Sorry I've just found the answer on Stackoverflow (question already posted yesterday) :
https://stackoverflow.com/questions/67595318/cloudrun-suddenly-got-improper-path-cloudsql-sql-connection-name-to-connect

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  : 
https://issuetracker.google.com/issues/188462249



On Thursday, May 20, 2021 at 9:21:23 AM UTC+2 Thierry Falvo wrote:
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



--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/bb443f22-dc83-48ad-9042-4772499c8953n%40googlegroups.com.

No comments:

Post a Comment