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
Facing OperationCanceledException from Microsoft.Azure.SignalR.ServiceConnection specially during every deployment or webapp restart or sometimes we have seen this exception coming even when deployment or restart is not done.
And further there are 2 subtypes :
Error while skipping handshake response
Error while processing messages
The operation was canceled.
Exception:
System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at System.IO.Pipelines.Pipe.GetReadAsyncResult()
at System.IO.Pipelines.Pipe.DefaultPipeReader.GetResult(Int16 token)
at Microsoft.Azure.SignalR.ServiceConnection.SkipHandshakeResponse(ClientConnectionContext connection, CancellationToken token)
Solution
we can silently fail the connection instead of throwing out the exception
To Reproduce
Exceptions (if any)
Further technical details
Your Azure SignalR SDK version
Your Server ASPNETCORE version or Assembly version of Microsoft.AspNetCore.SignalR
Your SignalR Client SDK version
The text was updated successfully, but these errors were encountered:
Describe the bug
Facing OperationCanceledException from Microsoft.Azure.SignalR.ServiceConnection specially during every deployment or webapp restart or sometimes we have seen this exception coming even when deployment or restart is not done.
And further there are 2 subtypes :
The operation was canceled.
Exception:
System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at System.IO.Pipelines.Pipe.GetReadAsyncResult()
at System.IO.Pipelines.Pipe.DefaultPipeReader.GetResult(Int16 token)
at Microsoft.Azure.SignalR.ServiceConnection.SkipHandshakeResponse(ClientConnectionContext connection, CancellationToken token)
Solution
we can silently fail the connection instead of throwing out the exception
To Reproduce
Exceptions (if any)
Further technical details
Microsoft.AspNetCore.SignalR
The text was updated successfully, but these errors were encountered: