15 days ago
Hey, my Postgres database is stuck in this state "
Database Connection
Attempting to connect to the database...". Its been at least 10 minutes. Any ideas?
Attachments
30 Replies
Enable public networking for the service. Service > Settings > Public Networking > Generate Domain.
No, if that was it, it will be fixed. If it still doesn't work after that, then I don't know.
15 days ago
Assigning a public domain to Postgres doesn't do anything, as Postgres uses TCP.
15 days ago
A TCP proxy isn't needed either, Railway handles it for you regardless
If that is true they changed it. A year ago public TCP needed to be enabled for the dashboard to be able to connect tothe database - with this exact behavior (infinitely stuck on this step with no other information presented to the user)
So this discord is not for help from the employees of railway? How can I get assistance from them?
15 days ago
15 days ago
Can you share your database logs?
15 days ago
(IIRC the thread may be marked as duplicate if you open another one)
15 days ago
might only be for when you create a Discord thread after help station thread? after all, "Discord is community support" heh
(no markdown available for this content)
Attachments
15 days ago
Can you copy it as plaintext or log and not JSON? It helps with readability that way.
(no markdown available for this content)
Attachments
15 days ago
Try redeploying the database.
15 days ago
Also, are you able to access the database via a database client? (eg, Datagrip)
15 days ago
There are numerous free database clients you can download online.
Attachments
I just saw that in my website it loads stuff from the database finally. But in railway dash I am still seeing "attempting to connect to the database..."
14 days ago
I had this same issue... the firewall at my office seemed to be blocking it somehow. I moved to a mobile hotspot and it would then load. Get back on the work network, it would stop working. Seems strange but either way it was a network issue for me.