Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In this article, we provide troubleshooting help for connecting your client application to Azure Managed Redis. Connectivity issues are divided into two types: intermittent connectivity issues and continuous connectivity issues.
Your client application might have intermittent connectivity issues caused by events such as patching, or spikes in the number of connections.
Sometimes, your cache undergoes a planned or an unplanned server maintenance. Your application can be negatively affected during the maintenance. To minimize the effects of failovers, see Connection resilience.
Check if the Max aggregate for Connected Clients
metric is close or higher than the maximum number of allowed connections for a particular cache size. For more information on sizing per client connections, see Azure Managed Redis pricing.
Using optimistic TCP settings in Linux might cause client applications to experience connectivity issues. See Connection stalls lasting for 15 minutes.
If your application can't connect to your Azure Managed Redis instance, it's possible some configuration on the cache isn't set up correctly. The following sections offer suggestions on how to make sure your cache is configured correctly.
Test connectivity using redis-cli. For more information on CLI, Use the Redis command-line tool with Azure Managed Redis.
If redis-cli is unable to connect, you can test connectivity using PSPING
in PowerShell.
psping -q <cache DNS endpoint>:<Port Number>
You can confirm the number of sent packets is equal to the received packets. Confirming ensures no drop in connectivity.
Steps to check your private endpoint configuration:
<instancename>.<region>.redis.azure.net
on port 10000. We recommend avoiding the use of <instancename>.<region>.privatelink.redis.cache.windows.net
in the configuration or the connection string.nslookup <hostname>
from within the VNet that is linked to the private endpoint to verify that the command resolves to the private IP address for the cache.Public Network Access
is currently not supported for Azure Managed Redis (preview). You cannot connect to your cache private endpoint from outside the virtual network of your cache.If you have a firewall configured for your Azure Managed Redis, ensure that your client IP address is added to the firewall rules. You can check Firewall on the Resource menu under Settings on the Azure portal.
When you use a third-party firewall or proxy in your network, check that the endpoint for Azure Managed Redis, *.redis.azure.net
, is allowed along with the port 10000
. You might need to allow more ports when using a clustered cache or geo-replication.
If you've configured any networking or security resource to use your cache's public IP address, check to see if your cache's public IP address changed. For more information, see Rely on hostname not public IP address for your cache.
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayTraining
Learning path
Azure Support Engineer for Connectivity Specialty - Training
Azure Support Engineer for Connectivity Specialty
Certification
Microsoft Certified: Azure Network Engineer Associate - Certifications
Demonstrate the design, implementation, and maintenance of Azure networking infrastructure, load balancing traffic, network routing, and more.
Documentation
How to configure Azure Managed Redis (preview) - Azure Managed Redis
Understand the default Redis configuration for Azure Managed Redis and learn how to configure your Azure Managed Redis instances.
Troubleshoot Azure Managed Redis (preview) latency and timeouts - Azure Managed Redis
Learn how to resolve common latency and timeout issues with Azure Managed Redis, such as Redis server patching and timeout exceptions.
Failover and patching - Azure Managed Redis (preview) - Azure Managed Redis
Learn about failover, patching, and the update process for Azure Managed Redis (preview).