'Microsoft.Cache' 502 Bad Gateway

Mikael Jansson 0 Reputation points
2024-08-07T11:26:42.58+00:00

Hi,

I'm not able to manage Azure Cache for Redis resources in West Europe region. I receive "502 Bad Gateway" via the portal and the CLI.

Known issue? Please advice.

//Mike

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

1 answer

Sort by: Most helpful
  1. ShaktiSingh-MSFT 15,341 Reputation points
    2024-08-08T09:48:18.03+00:00

    Hi Mikael Jansson •,

    Welcome to Microsoft Q&A forum.

    As I understand, you are getting 'Microsoft.Cache' 502 Bad Gateway in Azure cache for Redis.

    This looks like Network issue.

    If you have a firewall configured for your Azure Cache For 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 Cache for Redis, *.redis.cache.windows.net, is allowed along with the ports 6379 and 6380. 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.

    OR

    Sometimes, your cache undergoes a planned or an unplanned server maintenance. Your application can be negatively affected during the maintenance. You can validate by checking the Errors (Type: Failover) metric on your portal. To minimize the effects of failovers, see Connection resilience.

    Please let us know your existing cache configuration and result after checking above.

    Awaiting your reply.

    Thanks

    0 comments No comments

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.