Open longfin opened 1 year ago
SocketException (22) can be thrown from .NET runtime / macOS by the below reasons
SendBufferSize
as 0: https://github.com/dotnet/runtime/issues/20453.SetSocketOpt()
and it can be matter. https://github.com/somdoron/AsyncIO/blob/1507ff3b4fadc2b7efc001ee6c4771f06234d1b6/Source/AsyncIO/AsyncSocket.cs#L140ReceiveTimeout
with incompatible value against OS keepalive: https://github.com/dotnet/runtime/issues/27668At first, I assumed this to be a Linger-related issue, but in that case, the error will occurs on .Accept()
...
Of course, it is possible that the function has been inlined... but the current estimate may not be accurate.
Setting noDelay
to the accepted socket may be a problem. (NetMQ had done a similar fixe 4 years ago).
I don't have confidence that it's a NetMQ side bug yet. but it seems helpful to debug current situation.
https://smartos.org/bugview/OS-6312 Maybe related? 🤔
echo "xnet_skip_checks/W1" | mdb -kw
if this workaround tricks, it seems a timing issue about _router
in NetMQTransport
.
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.
The test is terminated with those errors in
macos-netcore-test
with this PROriginally posted by @riemannulus in https://github.com/planetarium/libplanet/issues/2735#issuecomment-1397165002