Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DotNetty issues during chiado sync #8085

Open
kamilchodola opened this issue Jan 21, 2025 · 0 comments
Open

DotNetty issues during chiado sync #8085

kamilchodola opened this issue Jan 21, 2025 · 0 comments
Labels
[Pri] Low Low priority
Milestone

Comments

@kamilchodola
Copy link
Contributor

Steps to Reproduce
In order to replicate the behavior, please provide a detailed list of steps:

  1. Start syncing chiado + lighthouse
  2. Observe logs during sync of Old Headers

Actual behavior
I got those two types of exceptions:

DotNetty.Codecs.EncoderException: Exception of type 'DotNetty.Codecs.EncoderException' was thrown.
 ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Nethermind.Network.Rlpx.FrameHeaderReader.ReadFrameHeader(IByteBuffer input) in /src/Nethermind/Nethermind.Network/Rlpx/FrameHeaderReader.cs:line 18
   at Nethermind.Network.Rlpx.ZeroFrameEncoder.Encode(IChannelHandlerContext context, IByteBuffer input, IByteBuffer output) in /src/Nethermind/Nethermind.Network/Rlpx/ZeroFrameEncoder.cs:line 39
   at DotNetty.Codecs.MessageToByteEncoder`1.WriteAsync(IChannelHandlerContext context, Object message)
   --- End of inner exception stack trace ---
   at Nethermind.Network.P2P.PacketSender.SendBuffer(IByteBuffer buffer) in /src/Nethermind/Nethermind.Network/P2P/PacketSender.cs:line 54

and

DotNetty.Codecs.EncoderException: Exception of type 'DotNetty.Codecs.EncoderException' was thrown.
 ---> Nethermind.Serialization.Rlp.RlpException: Expected a sequence prefix to be in the range of <192, 255> and got 83 at position 1 in the message of length 13 starting with 53c1805d0ebf4898c915eb2dc4
   at Nethermind.Network.Rlpx.FrameHeaderReader.ReadFrameHeader(IByteBuffer input) in /src/Nethermind/Nethermind.Network/Rlpx/FrameHeaderReader.cs:line 24
   at Nethermind.Network.Rlpx.ZeroFrameEncoder.Encode(IChannelHandlerContext context, IByteBuffer input, IByteBuffer output) in /src/Nethermind/Nethermind.Network/Rlpx/ZeroFrameEncoder.cs:line 39
   at DotNetty.Codecs.MessageToByteEncoder`1.WriteAsync(IChannelHandlerContext context, Object message)
   --- End of inner exception stack trace ---
   at Nethermind.Network.P2P.PacketSender.SendBuffer(IByteBuffer buffer) in /src/Nethermind/Nethermind.Network/P2P/PacketSender.cs:line 54

It only happens on chiado

@kamilchodola kamilchodola added this to the 1.31.0 milestone Jan 21, 2025
@brbrr brbrr added the [Pri] Low Low priority label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Pri] Low Low priority
Projects
None yet
Development

No branches or pull requests

2 participants