My Postgresql database is stuck in Database Connection state
macciep
PROOP

23 days ago

For over an hour now, my PostgreSQL database has been stuck on:

Database Connection
Attempting to connect to the database…

What could be causing this issue, and what steps can I take to resolve it?

Solved

5 Replies

23 days ago

Hey there!
We had an incident related to this that should be recovered. The fix is to click the 3 dots and hit "restart" on the latest green deploy. Went ahead and did that things look good now. Can you take a look at let me know how it looks?


Status changed to Awaiting User Response Railway 23 days ago


macciep
PROOP

23 days ago

Hi,
this restart didn't resolve the issue. I still the same Database Connection
Attempting to connect to the database…

In deployments logs i can see this:

2026-02-11 21:51:54.352 UTC [30] LOG: database system was interrupted; last known up at 2026-02-11 21:50:55 UTC

2026-02-11 21:51:54.383 UTC [30] LOG: database system was not properly shut down; automatic recovery in progress

2026-02-11 21:51:54.392 UTC [30] LOG: redo starts at 0/2F9CCB0

2026-02-11 21:51:54.392 UTC [30] LOG: invalid record length at 0/2F9CCE8: expected at least 24, got 0


Status changed to Awaiting Railway Response Railway 23 days ago


23 days ago

Have you since restarted the service trying to connect to the database? I just connected and it shows healthy. Where are you seeing this?


Status changed to Awaiting User Response Railway 23 days ago


macciep
PROOP

23 days ago

Ok I now see that its working.
Thank you for your help!


Status changed to Awaiting Railway Response Railway 23 days ago


23 days ago

Absolutely! Sorry you got hit by this


Status changed to Awaiting User Response Railway 23 days ago


Status changed to Solved noahd 23 days ago


Loading...