Cannot connect to database from the Railway dashboard
nesbahdev
HOBBYOP

2 years ago

Due to a payment failure, my subscription was canceled. I activated it again, but now I can't access my data both from the Railway dashboard and SQL client.

On the Railway dashboard, it says:
Required Variables
This service has all the necessary variables that this UI uses to connect to the database.
Database Connection
We are unable to connect to the database over the public network.

On my SQL client it says:
connection failed: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request.

How can I gain access to my data again? On the Postgres data page it still says 225MB of storage is in use so I believe my data is still there.

Solved

3 Replies

2 years ago

does the service have an active deployment? if your payment has failed then your services were shut down and you would need to redeploy them manually, this can be done via the removed deployment's 3-dot menu.


Status changed to Solved Railway almost 2 years ago


nesbahdev
HOBBYOP

2 years ago

I pressed redeploy and it worked, thank you so much!


2 years ago

no problem


Loading...