4 months 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
15 Replies
4 months ago
Hey there! We've found the following might help you get unblocked faster:
- 📚 Troubleshooting Slow Deployments and Applications
- 🧵 Railway proxy timeout
- 🧵 TCP Proxy for PostgreSQL not accepting connections - Connection timeout
- 🧵 502 Gateway issue, but my Postgres has space.
If you find the answer from one of these, please let us know by solving the thread!
4 months ago
+1
4 months ago
+1
4 months ago
+1
4 months ago
After restarting the DB, normal operation is confirmed!
4 months ago
+1
4 months ago
After restarting the DB, it is fixed.
4 months ago
I had same issues.
dammyjay
I had same issues.
4 months ago
I had same issues. How do I restart DB
Attachments
4 months ago
After I restarted my db it's fixed
4 months 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.
4 months ago
Have you been able to sort it out now
4 months ago
@dammyjay restarting the server will fix it
gaetanlegac
@dammyjay restarting the server will fix it
4 months 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
4 months 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 • 4 months ago
Status changed to Solved sam-a • 4 months ago