a year ago
getting read ECONNRESET when trying to connect to redis
8 Replies
a year ago
Are you using private networking or TCP? And are you using the Redis template that has the pre-defined variables and start command?
a year ago
I just added a Redis service and I'm using REDIST_URL
(Using a Variable Reference) to get the connection url.
btw, what is private networking?
a year ago
https://docs.railway.app/reference/private-networking
https://docs.railway.app/guides/private-networking
Please check out these docs pages.
a year ago
ok, I'll read about it. but I don't think that this is the issue... also, I want to be able to connect to the database from outside
Why do I get this read ECONNRESET
error?
a year ago
90% of the time it's working...
a year ago
Looks like when I point my DATABASE_URL
to ${{Postgres.DATABASE_PRIVATE_URL}}
and not ${{Postgres.DATABASE_URL}}
(Same for Redis) it's working (For now...)
a year ago
same problem here and I'm even stuck with US west