New deploys hang on Postgres connect during startup
shayneallan
HOBBYOP

2 months ago

Every redeploy of an already-successfully-deployed commit hangs during startup and fails the healthcheck. Deploy log stops right after:

INFO: Started server process [1]

INFO: Waiting for application startup.

No further output, no exception - it just sits until the healthcheck (100s timeout) fails and the deploy is marked failed. The exact same commit deployed successfully about 4 hours earlier and is still active and serving traffic now, so this isn't a code issue - it's the same build hanging only on redeploy.

Solved$10 Bounty

5 Replies

Railway
BOT

2 months ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway • about 2 months ago


Did you make any changes to the service configuration? (Eg, start command)


0x5b62656e5d

Did you make any changes to the service configuration? (Eg, start command)

shayneallan
HOBBYOP

2 months ago

No changes to service config.


I assume the healthcheck is stalled due to the application not being able to reach the Postgres database over private network?


shayneallan
HOBBYOP

2 months ago

That was the solution - thanks!!


0x5b62656e5d

I assume the healthcheck is stalled due to the application not being able to reach the Postgres database over private network?

shayneallan
HOBBYOP

2 months ago

Correct - I ended up re-depoying the Postgres and then the app and it passed. All good now thx.


Status changed to Solved mayori • about 2 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...