Hi Énok Gábor,
Thank you for reaching out to Microsoft Q&A.
I understand you are experiencing timeout and connectivity issues with newly created Azure Redis Cache instances in the Basic tier, while your older instances function without any problems.
Please review the following suggestions and let us know if they resolve your issue. Firstly, check the firewall rules to ensure the new caches allow your client IP addresses. In the Azure portal, verify and add your client IP if it's missing. For those using private endpoints, confirm that public network access is enabled if you need to connect from outside the virtual network.
Next, examine the Network Security Groups (NSG) to see if any rules are blocking traffic to ports 6379 or 6380, which Redis uses. Also, ensure the cache hostname resolves correctly from your client machine by using the command nslookup .redis.cache.windows.net. Double-check your connection string and ports. Make sure your application uses the correct connection string, the right port (usually 6380 for SSL), and the appropriate password. Compare these settings with your old working caches and align the new ones accordingly.
If the initial solution does not resolve the connectivity issue with Azure Redis Cache,
Please share the below information further investigating the issue;
- Are the new Redis Cache instances configured with the same firewall rules as the old working instances?
- Can you confirm which IP addresses or ranges are allowed?
- Are you using private endpoints or virtual network integration with these new caches?
- If so, have you verified the private endpoint configuration and DNS resolution inside the VNet?
- Can you perform basic network connectivity tests (such as ping or redis-cli connect) to the Redis Cache hostname and port from your client machine?
- Is the connection string used by your application exactly the same for old and new caches, including hostnames, ports (6379 for non-SSL or 6380 for SSL), and authentication keys?
- Are there any Network Security Groups (NSGs) or firewall rules on the client subnet or Redis subnet that might be blocking traffic on ports 6379 or 6380?
- What is the Redis Cache tier and size of the newly created instances compared to the old ones?
- Are there any differences in tier or configuration?
- Have you enabled diagnostic logging on the new Redis Cache instances? What errors or warnings does the diagnostic log indicate?
- Are there any recent changes in your network environment, such as changes in DNS configuration, proxy settings, or VPNs, that might affect connectivity?
- Can you share the exact timeout or error messages you receive when trying to connect?
Your detailed response will help us identify and resolve the issue more effectively.
Microsoft Reference documents:
Kindly let us know if the above helps or you need further assistance on this issue.