django.db.utils.OperationalError: [Errno 11001] getaddrinfo failed
franklinson
FREEOP

a year ago

My postgres keep failing when I connect to it. I spinned a new one but still. When I use a different postgres server it works but from railway, I get this error:django.db.utils.OperationalError: [Errno 11001] getaddrinfo failed

16 Replies

franklinson
FREEOP

a year ago

N/A


brody
EMPLOYEE

a year ago

please see our docs on this topic -


franklinson
FREEOP

a year ago

Here is my code and used them in the .env as well

1340359004609581000


brody
EMPLOYEE

a year ago

do you have the app and the database in the same project


franklinson
FREEOP

a year ago

Yes please


brody
EMPLOYEE

a year ago

yes please?


franklinson
FREEOP

a year ago

Lol….yes I have the app and db in the same project


brody
EMPLOYEE

a year ago

screenshot please


franklinson
FREEOP

a year ago

Screenshot of?


brody
EMPLOYEE

a year ago

your project


franklinson
FREEOP

a year ago

1340360259868557300


brody
EMPLOYEE

a year ago

your railway project


franklinson
FREEOP

a year ago

1340360541612408800


brody
EMPLOYEE

a year ago

show me the service variables please


franklinson
FREEOP

a year ago

1340361798037012500


brody
EMPLOYEE

a year ago

project id please


Loading...