Deployments Periodically fail to connect to their database
dmvinson
PROOP

2 years ago

Hi, periodically my services fail to connect to their corresponding database after a deploy. This is without changing any database connection related settings. I've had this happen with my App project as well which hosts a NodeJS server connected to a PostgreSQL server running on Railway. I'm not sure what the issue is, but I've been able to fix it often by connecting via public networking.

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

2 Replies

2 years ago

Hello,

The linked service is still running on the Legacy runtime, It had issues with private network availability for the first 3 seconds of the deployments lifetime, Can you try enabling the V2 runtime in the service settings and switch back to connecting via the private network.

Let me know how that goes!


dmvinson
PROOP

2 years ago

Thanks, I tried that and no longer noticing the connectivity issues on startup, I'd say this is resolved and will open up a new ticket if the issue happens again.

Thanks for your help!


Status changed to Awaiting Railway Response Railway over 1 year ago


Status changed to Solved brody over 1 year ago


Loading...