Database Connection error
youknow-yoonho
PROOP

22 days ago

I'm running a server and database on the railway.

I'm getting a 502 error when accessing the service. Upon checking, I found that it appears to be a DB connection failure.

Attachments

Solved

15 Replies

Railway
BOT

22 days ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


styloxkid
HOBBY

22 days ago

+1


sgavinolla001
PRO

22 days ago

+1


amoko2021
HOBBY

22 days ago

+1


youknow-yoonho
PROOP

22 days ago

After restarting the DB, normal operation is confirmed!


elliot112686
PRO

22 days ago

+1


sgavinolla001
PRO

22 days ago

After restarting the DB, it is fixed.


dammyjay
HOBBY

22 days ago

I had same issues.


dammyjay

I had same issues.

dammyjay
HOBBY

22 days ago

I had same issues. How do I restart DB

Attachments


dammyjay
HOBBY

22 days ago

After I restarted my db it's fixed


gaetanlegac
PRO

22 days ago

I got the same issue on our two projects. The database received a shutdown signal at 2:55pm UTC.

We got complains from our users, that's a mess.


gaetanlegac

I got the same issue on our two projects. The database received a shutdown signal at 2:55pm UTC. We got complains from our users, that's a mess.

dammyjay
HOBBY

22 days ago

Have you been able to sort it out now


gaetanlegac
PRO

22 days ago

@dammyjay restarting the server will fix it


gaetanlegac

@dammyjay restarting the server will fix it

dammyjay
HOBBY

22 days ago

I did a restart on my db and user were able to login and all pages were able to fetch information from the database. First were you able to load up and access all your tables on railway


sam-a
EMPLOYEE

22 days ago

As most of you noted, a restart or redeployment should fix the issue.

If any of you are still having issues please try restarting or redeploying your services. The incident yesterday caused some running workloads to be unexpectedly terminated while the status in the UI didn't properly update. This has since been resolved, but in some cases, you may need to redeploy your services.

You can find the post-mortem for the incident here: https://blog.railway.com/p/incident-report-february-11-2026

Our deepest apologies for the inconvenience this has caused.

If you do still have an issue, please open a new individual thread so we can troubleshoot any further problems.


Status changed to Awaiting User Response Railway 22 days ago


Status changed to Solved sam-a 22 days ago


Loading...