Azure / Azure/DotNetty

Exception when connected on Linux

Open
#204 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.3k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

I'm trying to deploy my project based on dotnet core 1.1.1 and DotNetty 0.4.2 to a CentOS 7 machine. Which worked fine when debugging on Windows.

There is an warning every time I connect:

```
info: DotNetty.Handlers.Logging.LoggingHandler[0]
[id: 0x2c5ab5dc, [::ffff:192.168.29.131]:3724] RECEIVED: [id: 0x697be0b0, [::ffff:192.168.29.1]:51555 => [::ffff:192.168.29.131]:3724]
warn: DotNetty.Transport.Channels.Sockets.TcpServerSocketChannel[0]
Failed to create a new channel from an accepted socket.
System.ArgumentException: The socket handle is not valid.
at System.Net.Sockets.Socket..ctor(SafeCloseSocket fd)
at System.Net.Sockets.Socket.Accept()
at DotNetty.Transport.Channels.Sockets.TcpServerSocketChannel.TcpServerSocketChannelUnsafe.FinishRead(SocketChannelAsyncOperation operation)
info: DotNetty.Handlers.Logging.LoggingHandler[0]
[id: 0x2c5ab5dc, [::ffff:192.168.29.131]:3724] EXCEPTION: System.ArgumentException: The socket handle is not valid.
at System.Net.Sockets.Socket..ctor(SafeCloseSocket fd)
at System.Net.Sockets.Socket.Accept()
at DotNetty.Transport.Channels.Sockets.TcpServerSocketChannel.TcpServerSocketChannelUnsafe.FinishRead(SocketChannelAsyncOperation operation)
System.ArgumentException: The socket handle is not valid.
at System.Net.Sockets.Socket..ctor(SafeCloseSocket fd)
at System.Net.Sockets.Socket.Accept()
at DotNetty.Transport.Channels.Sockets.TcpServerSocketChannel.TcpServerSocketChannelUnsafe.FinishRead(SocketChannelAsyncOperation operation)
warn: DotNetty.Transport.Channels.DefaultChannelPipeline[0]
An ExceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
System.ArgumentException: The socket handle is not valid.
at System.Net.Sockets.Socket..ctor(SafeCloseSocket fd)
at System.Net.Sockets.Socket.Accept()
at DotNetty.Transport.Channels.Sockets.TcpServerSocketChannel.TcpServerSocketChannelUnsafe.FinishRead(SocketChannelAsyncOperation operation)

```

However things seems to be working, I can see my Console output when I send message from client.

Is this something I should concern about?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.