redis and django cacheops error
dev-moa
TRIALOP

a year ago

i am trying to connect redis instance to my django cacheops app but its giving me error : The cacheops cache is unreachable! Error: Error -2 connecting to redis.railway.internal:6379. Name or service not known.
warnings.warn("The cacheops cache is unreachable! Error: %s" % e, RuntimeWarning)

Solved

4 Replies

dev-moa
TRIALOP

a year ago

950ed36e-611c-49be-82fd-8e974613993d


a year ago

redis.railway.internal can only be accessed by services that are in the same project and environment. More on that can be found in the docs:


a year ago

If your django app is running outside of Railway, such as running it locally, you would have to use the public url of your redis instance to access it.


a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...