SignalR disconnects on browser idle behaviour or browser minimize scenarios

Ankur Manchanda 21 Reputation points
2021-10-22T12:40:13.603+00:00

Hello Team,

We have been facing an issue with SignalR in our web application, the SignalR gets disconnected when browser is idle, minified, or not in focus.
It runs for sometime and then the disconnected event is got, after that until the page is reloaded the connection is not established.

We saw some blogs and we used signalr ver 2.4.4 (link below), but we think it is improved but not resolved.
https://github.com/SignalR/SignalR/issues?q=is%3Aissue%20sort%3Aupdated-desc%20is%3Aclosed%20milestone%3A2.4.2%20

Please suggest a way to resolve this issue

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,219 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yijing Sun-MSFT 7,061 Reputation points
    2021-10-25T07:15:38.47+00:00

    Hi @Ankur Manchanda ,
    It may be the Throttling issue. I think now the solution is to update the SignalR to the newest version. It may solve your problem.

    Best regards,
    Yijing Sun


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful