Diagnostic Generated - The underlying Tcp connection is closed #884
-
|
I'm getting 'strange' errors since yesterday. I'm using the experimental async processing. When a user request a lot of downloads it looks like something is failing. I'm now going to only show 1 of this type of message (per user), because maybe the logging takes too long and breaks it. And also got two times that the whole client failed. I'm not sure about the position, will record that next time (I'm not on seeing it through the phone) :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
This is expected behavior when a connection disconnects; any attempt to read from or write to a failing connection throws the exceptions you see here. Make sure you are setting |
Beta Was this translation helpful? Give feedback.
-
|
It looks like the connection wasn't closed, at least I thought it might had to do with the delay in processing and that something else out the SoulSeekClient killed the connection. Ahh, I had the raiseEventsAsynchronously: true,
transferConnectionOptions: new ConnectionOptions(
readBufferSize: 128 * 1024,
writeBufferSize: 128 * 1024,
writeQueueSize: int.MaxValue,
connectTimeout: (int)TimeSpan.FromSeconds(60).TotalMilliseconds,
inactivityTimeout: (int)TimeSpan.FromSeconds(120).TotalMilliseconds
) |
Beta Was this translation helpful? Give feedback.
That looks correct