Does ioredis support Azure cache cluster mode?
See original GitHub issueWe are using Azure Cache in cluster mode,and we have confirmed that there is no configure issue.
Code:
const redisClient = new Redis.Cluster([
{
port: 6379,
host: 'xxxxxx.redis.cache.windows.net'
}
], {
redisOptions: {
password: 'xxxxx'
}
});
and then got lots of error when run above code:
Reids occurs an error when connecting to a node ReplyError: ERR This instance has cluster support disabled
Redis init occurred error: ClusterAllFailedError: Failed to refresh slots cache.
Redis a node is disconnected
node: 10.15.0 ioredis: 4.9.5
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Connecting to an Azure Redis Cluster using node.js ioredis ...
Okay I've managed to connect to Azure Redis Cluster using a non-tls connection: new Redis.Cluster(['host.redis.cache.windows.net', 3679], ...
Read more >Configure Redis clustering - Premium Azure Cache for Redis
Clustering is enabled New Azure Cache for Redis on the left during cache creation. To create a premium cache, sign in to the...
Read more >Use JavaScript with Redis on Azure - Microsoft Learn
To create or move your Redis database to Azure, you need an Azure Cache for Redis resource.
Read more >Quickstart: Use Azure Cache for Redis in Node.js
In this quickstart, you incorporate Azure Cache for Redis into a Node.js app to have access to a secure, dedicated cache that is...
Read more >Best practices using client libraries - Azure Cache for Redis
Azure Cache for Redis is based on the popular open-source in-memory data ... configuration for cluster mode that you can modify as needed:....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@shivansh see #1149
@JeffreyCA This works, thanks a lot!