NethermindEth / nethermind

A robust execution client for Ethereum node operators.
https://nethermind.io/nethermind-client
GNU General Public License v3.0
1.26k stars 433 forks source link

Handle unexpected disconnect message format (16) #161

Closed tkstanczak closed 5 years ago

tkstanczak commented 6 years ago

2018-10-08 13:51:03.1858|ERROR|37|Network.Rlpx.NettyHandshakeHandler|NettyP2PHandler error in p2p netty handler: Nethermind.Core.Encoding.RlpException: Expected a sequence prefix to be in the range of <192, 255> and got 16 at Nethermind.Core.Encoding.Rlp.DecoderContext.ReadSequenceLength() in C:\src\nethermind\src\Nethermind\Nethermind.Core\Encoding\Rlp.cs:line 847 at Nethermind.Network.P2P.DisconnectMessageSerializer.Deserialize(Byte[] bytes) in C:\src\nethermind\src\Nethermind\Nethermind.Network\P2P\DisconnectMessageSerializer.cs:line 35 at Nethermind.Network.P2P.P2PProtocolHandler.HandleMessage(Packet msg) in C:\src\nethermind\src\Nethermind\Nethermind.Network\P2P\P2PProtocolHandler.cs:line 93 at Nethermind.Network.P2P.P2PSession.ReceiveMessage(Packet packet) in C:\src\nethermind\src\Nethermind\Nethermind.Network\P2P\P2PSession.cs:line 144 at Nethermind.Network.P2P.NettyP2PHandler.ChannelRead0(IChannelHandlerContext ctx, Packet msg) in C:\src\nethermind\src\Nethermind\Nethermind.Network\P2P\NettyP2PHandler.cs:line 61 at DotNetty.Transport.Channels.SimpleChannelInboundHandler`1.ChannelRead(IChannelHandlerContext ctx, Object msg) at DotNetty.Transport.Channels.AbstractChannelHandlerContext.InvokeChannelRead(Object msg)|

tkstanczak commented 5 years ago

done