ETIMEDOUT

AnonymousPRO

2 months ago

Error: connect ETIMEDOUT

Feb 25 13:44:27

at Socket.<anonymous> (/app/node_modules/ioredis/built/Redis.js:170:41)

Feb 25 13:44:27

at Object.onceWrapper (node:events:631:28)

Feb 25 13:44:27

at Socket.emit (node:events:517:28)

Feb 25 13:44:27

at Socket._onTimeout (node:net:598:8)

Feb 25 13:44:27

at listOnTimeout (node:internal/timers:569:17)

Feb 25 13:44:27

at process.processTimers (node:internal/timers:512:7) {

Feb 25 13:44:27

errorno: 'ETIMEDOUT',

Feb 25 13:44:27

code: 'ETIMEDOUT',

Feb 25 13:44:27

syscall: 'connect'

Feb 25 13:44:27

}

Just today I woke up and saw that my RedisBullMQ is failing with my backend which is also deployed. My backend is showing errors that it can't connect to Redis, but my Redis instance is working fine. I thought that maybe the memory was full but I have 32 GB, just in case, I deleted the data that was stored in Redis, did a deploy again and it fixed the problem for 10 seconds, and then it crashed again. Does anyone know what causes this problem?

Awaiting User Response

1 Replies

2 months ago

Hello,

Can you please configure your service to connect to Redis via the private network?

You will need this docs page to do that -

https://docs.railway.com/reference/errors/enotfound-redis-railway-internal#using-bullmq

Best,
Brody


Status changed to Awaiting User Response railway[bot] 2 months ago


ETIMEDOUT - Railway Help Station