4 months 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.
4 months ago
Assigning a public domain to Postgres doesn't do anything, as Postgres uses TCP.
4 months 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?
4 months ago
4 months ago
Can you share your database logs?
4 months ago
(IIRC the thread may be marked as duplicate if you open another one)
4 months 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
4 months 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
4 months ago
Try redeploying the database.
4 months ago
Also, are you able to access the database via a database client? (eg, Datagrip)
4 months 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..."
4 months 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.