Database not reachable
Anonymous
TRIALOP

2 years ago

Why the database is not reachable sometimes when we a do deploy?
This is happening frequently from last week & customers are expriencing outages because of this.
Project Id: 6d0f799e-be59-4388-899d-f00456f30667

0 Replies

Anonymous
TRIALOP

2 years ago

This gets fixed only after manually doing a restart.


brody
EMPLOYEE

2 years ago

make sure to add a delay to the start of your application


Anonymous
TRIALOP

2 years ago

Can you tell us how to do that? We face this issue after every deployment.


brody
EMPLOYEE

2 years ago

sure!

what's your current start command and where is it set?


Anonymous
TRIALOP

2 years ago

cmd = node server/dist/main

nixpacks.toml

1246042225713086500


brody
EMPLOYEE

2 years ago

try changing that command to sleep 3 && node server/dist/main


Loading...