Signal R | Error: The connection was stopped during negotiation.

Oleksandr Dashevskyi 1 Reputation point
2022-11-28T17:29:52.387+00:00

Good day Microsoft community,

I require your assistance to resolve error that comes from server using Signal R for our chat room.

We have issue, that our chat lose connection every 30sec - 1 minute due to below error, so the chat room keeps reconnecting again, so it give to us bad user experience, that visual the user. see that chat room loads again.

"Error: Failed to start the connection: Error: The connection was stopped during negotiation"

I have added debug logger and see currently following:
264850-localhost-1669656148292.log

Please let me know if I should post here a client code for review.
Thank you.

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

1 answer

Sort by: Most helpful
  1. Oleksandr Dashevskyi 1 Reputation point
    2022-11-29T15:45:26.55+00:00

    Thank you for your response, it was found that it is UI issue that stops signal r, the chat component rerenders by itself that caused triggers stop signal r connection.

    Anyway, thanks for the assistance.

    0 comments No comments