My postgres is stuck in Attempting to connect to the database...
flare-tribe
HOBBYOP

3 days ago

Im trying to create new Postgres instance but its stuck in Attempting to connect to database stage. Tried restarting it couple of time and also deleted and created again, but still same issue

Screenshot 2026-06-20 at 1.09.50 PM.png

Attachments

$10 Bounty

14 Replies

Railway
BOT

3 days ago

Your Postgres deployment is online and the volume is healthy, but the Database View can't establish a connection. This is typically caused by a stale container image that a normal restart won't fix. Open your Postgres service, press Cmd+K (or Ctrl+K) to open the command palette, and select "Redeploy source image" to pull a fresh image.


Status changed to Awaiting User Response Railway 3 days ago


Railway

Your Postgres deployment is online and the volume is healthy, but the Database View can't establish a connection. This is typically caused by a stale container image that a normal restart won't fix. Open your Postgres service, press Cmd+K (or Ctrl+K) to open the command palette, and select "Redeploy source image" to pull a fresh image.

flare-tribe
HOBBYOP

3 days ago

Ive done the same steps, but its still the same issue again


Status changed to Awaiting Railway Response Railway 3 days ago


Railway
BOT

3 days ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway 3 days ago


Can you share the deployment logs?


flare-tribe
HOBBYOP

3 days ago


Can you take a screenshot of deployment details?


flare-tribe
HOBBYOP

3 days ago

Screenshot 2026-06-20 at 1.37.33 PM.png

Attachments


A normal redeploy usually fixes this problem. Since you already tried it, I suggest you wait some time and try to redeploy again if it isn't fixed by then, and see if the issue persists.


flare-tribe
HOBBYOP

3 days ago

Still getting same error. Tried creating new image after hours

Screenshot 2026-06-20 at 8.48.20 PM.png

Attachments


lmcl2026free
PRO

3 days ago

are you running a local CLI? It may have an expired authorization token


Are you able to access the database using the public URL via database client (eg, Datagrip)?


lmcl2026free

are you running a local CLI? It may have an expired authorization token

lmcl2026free
PRO

2 days ago


flare-tribe
HOBBYOP

a day ago

No, Im not using any CLI. Im just trying to create an instance

Also this is failing from datagrip if i connect using public url with error:

psql: error: connection to server at "maglev.proxy.rlwy.net" (66.33.22.251), port 19093 failed: Operation timed out

Is the server running on that host and accepting TCP/IP connections?

gkogkos-th
PRO

19 hours ago

Im having the same issue the past hour


flare-tribe
HOBBYOP

5 hours ago

@gkogkos-th is that resolved?

@0x5b62656e5d any other workarounds?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...