Signal R 502 Bad Gateway

glennoleum 16 Reputation points
2022-11-18T16:06:30.07+00:00

Hi.

After receiving a 502 on a call to SignalR I tried using the Signal R Live Trace Tool on the Azure portal. There, too, I received a 502 immediately upon launching the tool.

How do I start to diagnose this?

Thank you!

Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
147 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 16,586 Reputation points Microsoft Employee
    2022-11-19T20:51:57.52+00:00

    @glennoleum We understand you are encountering 502 bad gateway errors on your Azure SignalR service.

    502 errors are rather generic so it would be best to enable logging for further diagnostics,
     
    if the issue reoccurs again, please enable server side and client side signalR tracing to see if there are more error details logged in during the time of issue. This will help us to find out more details on the issue.
     
    To enable server-side logging,
    Enable server-side logging for ASP.NET Core SignalR | Microsoft Learn
     
    To enable client-side logging
    How to enable client-side log | Microsoft Learn

    This should provide you greater detail into the errors that you are receiving and assist you to locate the root cause of the 502 errors.

    Please share with us the outcome of your logging.

    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.