Postgres DB not connecting
repassaticket
FREEOP

a month ago

The server (django+postgres) was running perfectly and all of a sudden stopped, and the postgres database verifies:
Deployment Online

  • This service has an active deployment.

Required Variables

  • This service has all the necessary variables that this UI uses to connect to the database.

    But doesn't load in:

    Database Connection

    • Attempting to connect to the database...

it just stays there forever, even though i didnt change anything in the code

The error i get from django logs are:
"Is the server running on that host and accepting TCP/IP connections?

connection to server at "postgres.railway.internal" (10.150.200.193), port 5432 failed: Connection refused" and "django.db.utils.OperationalError: connection to server at "postgres.railway.internal" (fd12:1578:bb2a:1:2000:7d:3416:c8c1), port 5432 failed: Connection refused"

Solved

3 Replies

a month ago

Apologies, we had an incident affecting private networking which caused internal database connections to fail, and it's now resolved. Please redeploy your Django service and let us know if the issue persists. Details: https://status.railway.com/incident/cmliaunmb000fuv5y0a9vpnjp


Status changed to Awaiting User Response Railway 29 days ago


brody

Apologies, we had an incident affecting private networking which caused internal database connections to fail, and it's now resolved. Please redeploy your Django service and let us know if the issue persists. Details: https://status.railway.com/incident/cmliaunmb000fuv5y0a9vpnjp

repassaticket
FREEOP

a month ago

Well, now it doesn't load forever, instead it falls into an error that says: "the database containear is starting up or transitioning railway postgres". Even after I've redeployed, any idea why?


Status changed to Awaiting Railway Response Railway 29 days ago


a month ago

I am not seeing any user-initiated redeploy from your end, but I went ahead and did that for you.


Status changed to Awaiting User Response Railway 29 days ago


Railway
BOT

22 days ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 22 days ago


Loading...