Both my DBs Postgres and redis are not available.
I always get this log message on my deploy logs. It worked for postgres and redis fine for about a week.
Can't reach database server at
postgres.railway.internal:5432
15 Replies
Project ID:
ecf6869f-75a8-4fd3-9caf-8e5d6e3b7952
ecf6869f-75a8-4fd3-9caf-8e5d6e3b7952
Solution
you are still on the legacy runtime, please switch to the v2 runtime
how?
from within the service settings
this is only required for the backend service? The dbs will have no option for migrating to v2?
deploying
lets see
they are already on v2
i see
please use reference variables for redis - https://docs.railway.app/guides/variables#referencing-another-services-variable
works fine now
awsome
thanks mate
no problem!
will change to ref vars with erdis
have a nice day
sounds good, you too!