Database not connecting
abdulrehmanjr
PROOP

18 days ago

Hey i have enabled the pg statics section and now i am not being able to connect my database on remote server usign public url or on railway dashboard please help me its live database . I have attched the screen shot . i followed the new ai agent in dashboard but it did not work please help me

Attachments

$20 Bounty

6 Replies

Railway
BOT

18 days ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open Railway 18 days ago


Can you provide Postgres deployment logs?


hellmoyy
PRO

18 days ago

same problem


savagejayog
HOBBYTop 10% Contributor

18 days ago

The screenshot means Railways own Postgres UI cannot open a DB session, so check the Postgres deployment logs first. If you enabled Static IPs, that does not expose Postgres inbound; use the TCP Proxy / DATABASE_PUBLIC_URL with the generated proxy host and port. If you enabled pg_stat_statements, undo/fix the preload config and restart, because bad Postgres config can leave the database online-looking but unreachable.


hellmoyy

same problem

savagejayog
HOBBYTop 10% Contributor

18 days ago

Check the Postgres deployment logs first. If Railway’s Database tab hangs, it’s likely DB config/process, not app code.


laurentcompania
PRO

18 days ago

same problem


abdulrehmanjr
PROOP

18 days ago

Fixed for me i have just unistalled the pg_stat_statement after 20-30 mins of loading...


Welcome!

Sign in to your Railway account to join the conversation.

Loading...