You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering a problem with my ASP.NET SignalR client where, upon reopening the app after it has been in the background for around 20 minutes, the client hangs when it tries to connect. This eventually leads to either freezing the app or causing it to crash entirely.
I'm using Microsoft.AspNet.SignalR.Client for real-time communication in my application. It works flawlessly under normal circumstances, but the issue arises when the app has been inactive in the background for approximately 20 minutes. Upon reopening the app, the SignalR client seems to struggle to connect, causing the app to become unresponsive or crash.
I've tried debugging the issue, but I'm unable to pinpoint the exact cause. It seems like the connection process gets stuck or times out after the app has been in the background for an extended period.
Could this be related to some kind of timeout setting in SignalR or perhaps a network-related issue? Any insights or suggestions on how to troubleshoot and resolve this issue would be greatly appreciated. Thank you!
using Xamarin Forms with Microsoft.AspNet.SignalR.Client 2.4.3
The text was updated successfully, but these errors were encountered:
I'm encountering a problem with my ASP.NET SignalR client where, upon reopening the app after it has been in the background for around 20 minutes, the client hangs when it tries to connect. This eventually leads to either freezing the app or causing it to crash entirely.
Here's a snippet of the relevant code:
which both of these methods do the following:
I'm using Microsoft.AspNet.SignalR.Client for real-time communication in my application. It works flawlessly under normal circumstances, but the issue arises when the app has been inactive in the background for approximately 20 minutes. Upon reopening the app, the SignalR client seems to struggle to connect, causing the app to become unresponsive or crash.
I've tried debugging the issue, but I'm unable to pinpoint the exact cause. It seems like the connection process gets stuck or times out after the app has been in the background for an extended period.
Could this be related to some kind of timeout setting in SignalR or perhaps a network-related issue? Any insights or suggestions on how to troubleshoot and resolve this issue would be greatly appreciated. Thank you!
using Xamarin Forms with Microsoft.AspNet.SignalR.Client 2.4.3
The text was updated successfully, but these errors were encountered: