DEV Community

Numan Azad
Numan Azad

Posted on

Infinite redis request

ERROR 2024-12-25T04:38:08.186520Z Error: connect ECONNREFUSED 127.0.0.1:6379 at TCPConnectWrap.afterConnect as oncomplete {
DEFAULT 2024-12-25T04:38:08.186523Z errno: -111,
DEFAULT 2024-12-25T04:38:08.186526Z code: 'ECONNREFUSED',
DEFAULT 2024-12-25T04:38:08.186528Z syscall: 'connect',
DEFAULT 2024-12-25T04:38:08.186531Z address: '127.0.0.1',
DEFAULT 2024-12-25T04:38:08.186533Z port: 6379
DEFAULT 2024-12-25T04:38:08.186535Z }

this is getting logged infinite times and increasing the gcp cost like crazy. I commented out every single line that calls for redis or bullmq or any queue related connection. But still it keeps on requesting somehow.
I need to stop this instantly.

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more