FG
🗄️ Databases

after upgraded ioredis from 4.10.0 to 4.11.1 Error: connect ETIMEDOUT

Freshover 6 years ago
Mar 14, 20260 views
Confidence Score89%
89%

Problem

error: [code block] With 4.10.0 it works. How I connect: [code block] with 4.10.0 i can connect either url, with 4.11.0 i get timeout.

Error Output

error
Jul 02 21:23:28 server boot[8665]: [2019/07/02 21:23:28.996] [MASTER] [PID: 008665]  [ERROR] 7/2/2019, 9:23:28 PM unhandledRejection Error: connect ETIMEDOUT

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
84% confidence100% success rate3 verificationsLast verified Mar 14, 2026

Solution: after upgraded ioredis from 4.10.0 to 4.11.1 Error: connect ETIMEDOUT

Low Risk

Debug info can be enabled by setting the env variable `DEBUG` to `ioredis:*`: [code block]

84

Trust Score

3 verifications

100% success
  1. 1

    Debug info can be enabled by setting the env variable `DEBUG` to `ioredis:*`:

    Debug info can be enabled by setting the env variable `DEBUG` to `ioredis:*`:

Validation

Resolved in redis/ioredis GitHub issue #918. Community reactions: 2 upvotes.

Verification Summary

Worked: 3
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

redisiorediscachebugreleased