Unexpected exception #313
ShayanFiroozi
started this conversation in
General
Replies: 1 comment 1 reply
-
This is expected when the other end of the connection times out or disconnects. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use FastLog.Net to log my events ( including exceptions )
Sometimes the WatsonTCP throws an exception like this ⬇
This exception has been registered by FastLog.Net
{
"DateTime": "2025-02-15 10:51:24",
"Type": "EXCEPTION",
"Id": "0",
"Message":
{
"Id": "-2146232800",
"Message": "Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond..",
"Inner Exception":
{
"Id": "-2147467259",
"Message": "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.",
"Inner Exception": "N/A",
"Source": "N/A",
"StackTrace": "N/A",
"Target Site": "N/A"
},
"Source": "System.Net.Sockets",
"StackTrace": " at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
--- End of stack trace from previous location ---
at WatsonTcp.WatsonMessageBuilder.BuildFromStream(Stream stream, CancellationToken token)
at WatsonTcp.WatsonTcpServer.DataReceiver(ClientMetadata client, CancellationToken token)",
"Target Site": "ThrowException"
},
Beta Was this translation helpful? Give feedback.
All reactions