ioredis: sentinel connect unhandled error

Unhandled error event: Error: All sentinels are unreachable. Retrying from scratch after 10ms.

but I can reach all sentinels server,and all redis operator is ok.

so, I dont understand why this error shown frequently.

wish solutions, sincerely.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 7
  • Comments: 15

Most upvoted comments

I‘m get the same problem, but the detail error message is Unhandled error event: Error: connect ETIMEDOUT at Socket.<anonymous> (/node_modules/ioredis/lib/redis.js:289:21) Also, I can access all sentinel servers by redis-cli.

I am facing the same issue in the latest version 5.2.5

Sorry for the late response. Could you enable the debug log (DEBUG=ioredis:* node yourapp.js) and post the logs here?