question

AnkurManchanda-0487 avatar image
0 Votes"
AnkurManchanda-0487 asked YijingSun-MSFT answered

SignalR disconnects on browser idle behaviour or browser minimize scenarios

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

dotnet-aspnet-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

YijingSun-MSFT avatar image
0 Votes"
YijingSun-MSFT answered

Hi @AnkurManchanda-0487 ,
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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.