FG
🗄️ Databases

Sentinel connection error not emitting

Freshover 10 years ago
Mar 14, 20260 views
Confidence Score87%
87%

Problem

Hi! I'm unable to get an error when ioredis can not connect to sentinel. Code: [code block] Output: [code block] The output is only ioredis debug, no consoles log, the error event was never emitted, is these a bug or am i doing something wrong? Thanks, awesome work!

Error Output

error when ioredis can not connect to sentinel. Code:

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Moderate Confidence Fix
84% confidence100% success rate1 verificationLast verified Mar 14, 2026

Solution: Sentinel connection error not emitting

Low Risk

Yes, it's a bug. Released in 1.11.1, now it will emit `error` event when all sentinels are unreachable. Thank you for pointing it out! :rocket:

84

Trust Score

1 verification

100% success
  1. 1

    Yes, it's a bug. Released in 1.11.1, now it will emit `error` event when all sen

    Yes, it's a bug. Released in 1.11.1, now it will emit `error` event when all sentinels are unreachable. Thank you for pointing it out! :rocket:

Validation

Resolved in redis/ioredis GitHub issue #200. Community reactions: 0 upvotes.

Verification Summary

Worked: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

redisiorediscache