Redis cluster (US East) connection issue

Ajinthan Thavendrarajah 0 Reputation points
2023-01-13T08:37:12.36+00:00

I create two redis clusters on the east and west coasts of the United States. I use the ioredis library to connect those to my node js project. The West Region redis I is fully operational. However, East Region One is throwing an error.

Error Message : ClusterAllFailedError: Failed to refresh slots cache.

Both use the same configurations and same code for connect !

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
305 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SSingh-MSFT 16,371 Reputation points Moderator
    2023-01-13T10:15:36.6666667+00:00

    Hi @Ajinthan Thavendrarajah ,

    Welcome to Microsoft Q&A platform and thanks for using Azure services.

    As I understand from the question, you are getting error when connecting to Redis cluster in US East using ioredis library of node js project.

    I checked through Azure portal that the Region looks fine.

    I would recommend you to look into the below links and the solutions provided which might help in your case:

    ioredis - ClusterAllFailedError: Failed to refresh slots cache

    ClusterAllFailedError: Failed to refresh slots cache.

    ClusterAllFailedError: Failed to refresh slots cache. with Cluster mode and TLS enabled

    Please let us know if this helped. If not, do let us know of further queries.

    Thank you!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.