Database suddenly unable to be connected to from nestjs application

willkessler
HOBBY

a year ago

Hello,

Nothing has changed on my end, but suddenly in my backend's logs I'm getting:

[Nest] 36 - 05/24/2024, 12:22:53 AM ERROR [TypeOrmModule] Unable to connect to the database. Retrying (2)…

Error: connect ETIMEDOUT 35.212.174.161:43903

at TCPConnectWrap.afterConnect as oncomplete

I can connect to my database instance and run queries from my laptop. But the nestjs application at Railway suddenly cannot connect. I have changed nothing on the configuration but I have restarted both services.

Is there a lower level system failure going on here?

Thank you!

Solved

1 Replies

willkessler
HOBBY

a year ago

OK this is weird… the problem just went away. Nothing new was deployed on my end! Huh….


Status changed to Solved Railway about 1 year ago