Exception: StackExchange.Redis.RedisConnectionException Message: No connection is available to service this operation

Neha Awale 0 Reputation points
2024-04-04T21:01:50.52+00:00

Hi There,

we are using Azure cache for Redis and our redis started timing out abruptly and not able to serve any request due to which our entire sites went down on production on 3rd april 4:50 PM EST till 5:35 PM EST. as we dont have redis logs to monitor what has happened to it, can you please help us with some triaging documents or any steps to check?

we have redis on Azure PAAS and our Sitecore CD/xDB servers on Azure IAAS.

Azure SQL Database
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,153 questions
Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
216 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,900 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Achraf Ben Alaya 976 Reputation points MVP
    2024-04-07T10:43:48.7133333+00:00

    HI ,

    1- You can monitor azure cache for Redis data using Diagnostic settings , you can follow the instructions on this link :

    https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-monitor-diagnostic-settings?tabs=basic-standard-premium?wt.mc_id=MVP_328341

    2- monitor insights/metrics to identify any spikes or abnormalities that might occured :
    https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-insights-overview?wt.mc_id=MVP_328341

    https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-monitor?wt.mc_id=MVP_328341

    3- Check also your application logs to ensure there is no networks issues between you app and Redis
    4-Consider implementing retry-logic : https://learn.microsoft.com/en-us/azure/architecture/best-practices/retry-service-specific#azure-cache-for-redis?wt.mc_id=MVP_328341

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.