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