Problem with private Postgres host
thandden
HOBBYOP

2 years ago

I've been running postgres with a python application and it was previously working. Suddenly (or appeared sudden) getting this error:

sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) could not translate host name "postgres.railway.internal" to address: Name or service not known

I'm using the Postgres.DATABASE_URL variable for my postgres instance.

Solved

1 Replies

thandden
HOBBYOP

2 years ago

Fixed it. Realised that my Python service was running on v1 and my postgres service on v2. Changed to V2 and fixed it.


Status changed to Solved brody • about 2 years ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...