My SignalR server (ASP.NET) and client (ASP.NET) both are working fine as excepted but multiple times on a daily basis, I'm getting the following two errors at the end of the SignalR client (ASP.NET):
System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
System.Net.WebException: The request was aborted: The connection was closed unexpectedly.
I've looked in the following ways but still unable to find out the root cause
- Check High CPU usage when the error occurred.
- Tried to send lots of data to the Server but received all the data received successfully at the Client through the Server.
- Checked server is not creating unnecessary connections. Only max three connections are there.