Cannot connect to internal services, error: dial tcp: lookup redis.railway.internal: i/o timeout

nic0l3333PRO

10 months ago

When booting our service, connecting to railway deployed redis, redis.railway.internal resulted in error: dial tcp: lookup redis.railway.internal: i/o timeout

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

4 Replies

10 months ago

Are you using ioredis?

It also looks like you are no longer using the private network to connect?


nic0l3333PRO

10 months ago

Are you using ioredis?

Nope, we were using Golang's rueidis (one of the official one).

It also looks like you are no longer using the private network to connect?

It impacted our services so we moved to public network.


10 months ago

Okay, I'll put this on the todo to see if I can repro, likely just a simple miss configuration somewhere in your code or service.


10 months ago

Hey Nicole,

I was unable to reproduce this issue with rueidis and the private network, this is the code I used - https://github.com/brody192/rueidis-test

Please switch back to the private network so we can debug further.