Failed to refresh slots cache
Problem
Hi, We are running ioredis 4.0.0 against an AWS ElastiCache replication group with cluster mode on (2 nodes, 1 shard) and using the cluster configuration address to connect to the cluster. [code block] and the config part: [code block] Every time we start the application the logs shows us: [code block] What more information do you need so we can get this fixed? <img width="1105" alt="screenshot 2018-09-28 at 16 08 57" src="https://user-images.githubusercontent.com/1263414/46213556-1fde1380-c339-11e8-9b9c-4fc8c627fd58.png">
Error Output
Error: Failed to refresh slots cache.\n at tryNode (/app/node_modules/ioredis/built/cluster/index.js:371:25)\n at /app/node_modules/ioredis/built/cluster/index.js:383:17\n at Timeout.<anonymous> (/a
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Failed to refresh slots cache
Please enable the debug mode `DEBUG=ioredis:* node yourapp.js` and post the logs here.
Trust Score
5 verifications
- 1
Please enable the debug mode `DEBUG=ioredis:* node yourapp.js` and post the logs
Please enable the debug mode `DEBUG=ioredis:* node yourapp.js` and post the logs here.
Validation
Resolved in redis/ioredis GitHub issue #711. Community reactions: 12 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep