9 months ago
My NestJS instance is crashing and it seems to be related to connecting to REDIS.
Server logs below:
2025-05-07T20:11:23.890Z info: [RouterExplorer] Mapped {/users, POST} route +0ms
2025-05-07T20:11:23.891Z info: [RouterExplorer] Mapped {/users/:id, GET} route +1ms
2025-05-07T20:11:23.891Z info: [RouterExplorer] Mapped {/users/:id, PATCH} route +0ms
2025-05-07T20:11:23.891Z info: [RouterExplorer] Mapped {/users/:id, DELETE} route +0ms
Error: connect ECONNREFUSED ::1:6379
at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
at __node_internal_exceptionWithHostPort (node:internal/errors:671:12)
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 6379
}
2025-05-07T20:11:23.917Z error: [BULLMQ WORKER EVENT - ERROR] Worker error for Job ID: N/A, Name: N/A, ImportJobId: N/A. Error: connect ECONNREFUSED ::1:6379 +26ms
["Error: connect ECONNREFUSED ::1:6379\n at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)\n at __node_internal_exceptionWithHostPort (node:internal/errors:671:12)\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)"]
2025-05-07T20:11:23.918Z error: [BULLMQ WORKER EVENT - ERROR] Worker error for Job ID: N/A, Name: N/A, ImportJobId: N/A. Error: connect ECONNREFUSED ::1:6379 +1ms
["Error: connect ECONNREFUSED ::1:6379\n at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)\n at __node_internal_exceptionWithHostPort (node:internal/errors:671:12)\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)"]
2 Replies
9 months ago
Status changed to Awaiting User Response Railway • 9 months ago
9 months ago
Closing this out because it's a duplicate. Please do not create duplicate threads.
Status changed to Closed ray-chen • 9 months ago