6 hours ago
UI Is simply stuck loading on "Attempting to connect to the database..."
service is up but cannot check database.
6 Replies
6 hours ago
Your Postgres service is deployed and running normally, and its recent logs show regular activity with no errors, so the database itself is up even though the Database tab isn't loading.
To work out why the tab is stuck on "Attempting to connect to the database...", could you share a screenshot or short screen recording of that screen, along with the time you saw it in UTC and whether it happens in another browser too?
Status changed to Awaiting User Response Railway • about 6 hours ago
6 hours ago
Status changed to Awaiting Railway Response Railway • about 6 hours ago
6 hours ago
Your Postgres service's deployment, image, and connection variables are all in place, so the check that stalls is only the dashboard's own connection to the database, not the setup of the service itself.
To narrow down which side is stuck, could you tell us whether your backend service is currently reading from and writing to the database normally, and whether running psql from the Postgres service's Console tab connects?
Status changed to Awaiting User Response Railway • about 6 hours ago
5 hours ago
on console it says - websocket connection failed. I just want to connect to database and check some records.
yes, backend service is able to connect to dB.
Status changed to Awaiting Railway Response Railway • about 5 hours ago
5 hours ago
Thanks for the screenshot and for confirming your backend is reading and writing normally. We're sorry our earlier suggestion to try psql in the Console didn't get you any further.
Your Postgres service is online and your account is active, and both the Database tab and the Console connect to it through a browser session. A "websocket connection failed" error in both of those, while the database itself is serving your backend, points to the connection between your computer or network and the dashboard. Troubleshooting that local computer or network environment is outside the scope of what our support covers.
Status changed to Awaiting User Response Railway • about 5 hours ago
5 hours ago
ok
Status changed to Awaiting Railway Response Railway • about 5 hours ago
Status changed to Solved pastariyaharsh30 • about 5 hours ago