Redis internal works in dev but not in prod
parmlalli
HOBBYOP

a month ago

I have a video queue service that calls Redis and works just fine in development. However, in production, I keep getting errors. The error is: getaddrinfo ENOTFOUND redis-jl7b.railway.internal. I have tried everything and get get it to work. I need to get this working so I can deploy my production app. Please help

Solved$10 Bounty

5 Replies

Railway
BOT

a month ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


brody
EMPLOYEE

a month ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody about 1 month ago


starphoneswebtech
PRO

a month ago

have you tried adding ?family=0 on the redis internal url?


marcblattmann
PRO

a month ago

Looks like your app can’t reach the internal Redis host. It’s a DNS issue. If you havent already try deploy your app inside the same Railway environment.


marcblattmann

Looks like your app can’t reach the internal Redis host. It’s a DNS issue. If you havent already try deploy your app inside the same Railway environment.

Using the public URL is not a good solution.


parmlalli
HOBBYOP

a month ago

Hi Everyone, thanks for the quick replies. I tried @starphoneswebtech solution and it worked.


Status changed to Solved samgordon about 1 month ago


Loading...