-
Notifications
You must be signed in to change notification settings - Fork 451
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
Disconnect
rlpx message following hello
not snappy-compressed
#7726
Comments
I haven't been able to reproduce this issue, are you able to consistently reproduce it? |
Yes, quite consistently - here's another random session:
you can see how the devp2p hello exchange is completed and yet the disconnect message is uncompressed. As the new logging indicates, there's code that detects this condition and it keeps happening with nethermind peers of several versions but I haven't spotted any other clients doing this yet. Notably, this only happens for "early disconnects" - it doesn't happen if we talk to the peer for a while and then get disconnected. |
In p2p/5, after the hello message, all subsequent messages should be snappy-compresssed, but when Nethermind has reached max peers, it sends its disconnect message uncompressed - this leads a protocol violation in nimbus which causes that peer to be downscored.
From the spec:
Here's a debug log:
This happens for multiple nethermind versions - we can see the message being
01c104
which effectively is aTooManyPeers
disconnect, but uncompressed. This follows the hello message from which the client id has been taken.The text was updated successfully, but these errors were encountered: