R
Railway4mo ago
T4P4N

Database not reachable

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
No description
Solution:
try changing that command to sleep 3 && node server/dist/main
Jump to solution
7 Replies
Percy
Percy4mo ago
Project ID: 6d0f799e-be59-4388-899d-f00456f30667
T4P4N
T4P4N4mo ago
This gets fixed only after manually doing a restart.
Brody
Brody4mo ago
make sure to add a delay to the start of your application
T4P4N
T4P4N4mo ago
Can you tell us how to do that? We face this issue after every deployment.
Brody
Brody4mo ago
sure! what's your current start command and where is it set?
T4P4N
T4P4N4mo ago
cmd = node server/dist/main nixpacks.toml
No description
Solution
Brody
Brody4mo ago
try changing that command to sleep 3 && node server/dist/main
Want results from more Discord servers?
Add your server