Skip to content

snap - client disconnecting server for Invalid response RESULTS_DO_NOT_MATCH_QUERY #10027

@macfarla

Description

@macfarla

it's the client that is disconnecting. server has this - so the disconnect is inbound

{"@timestamp":"2026-03-10T04:58:53,421","level":"DEBUG","thread":"nioEventLoopGroup-3-2","class":"EthProtocolManager","message":"Disconnect - active Connection? true - Inbound - 0x03 USELESS_PEER Useless peer - 0x70a1b815cbd2bbdd... besu/v26.3-develop-db8af46/linux-aarch_64/openjdk-java-21 - 20 peers left","throwable":""}

client has

{"@timestamp":"2026-03-10T04:57:52,776","level":"DEBUG","thread":"EthScheduler-Services-58","class":"PeerTaskExecutor","message":"Invalid response RESULTS_DO_NOT_MATCH_QUERY found for GetSyncReceiptsFromPeerTask from peer 0x5b58ceb27c1ed7cb...","throwable":""}
{"@timestamp":"2026-03-10T04:57:52,777","level":"DEBUG","thread":"EthScheduler-Services-58","class":"PeerReputation","message":"Disconnection triggered by exceeding useless response threshold for peer 0x5b58ceb27c1ed7cb...","throwable":""}
{"@timestamp":"2026-03-10T04:57:52,777","level":"DEBUG","thread":"EthScheduler-Services-58","class":"AbstractPeerConnection","message":"Disconnecting connection -1866872816, peer 0x5b58ceb27c1ed7cb... reason 0x03 USELESS_PEER_USELESS_RESPONSES Useless responses: exceeded threshold","throwable":""}
{"@timestamp":"2026-03-10T04:57:52,777","level":"DEBUG","thread":"EthScheduler-Services-58","class":"EthPeers","message":"Disconnected USEFUL peer PeerId: 0x5b58ceb27c1ed7cb... PeerReputation score: 125, timeouts: {}, useless: 5, validated? true, disconnected? true, client: besu/v26.2.0/linux-aarch_64/openjdk-java-21, [Connection with hashCode -1866872816 inboundInitiated? true initAt 1773118671680], enode://5b58ceb27c1ed7cbcf6a41165a62c938f1f07421e2c1bd8cad16b717e51b463f823f6df1ae15feae17506a516f15f688eb63fc82d8a3f72df45460a95fa824e0@34.205.103.75:30303?discport=0, isServingSnap true, has height 2387951, connected for 1097 ms, capabilities: [eth/69, snap/1]","throwable":""}
{"@timestamp":"2026-03-10T04:57:52,777","level":"DEBUG","thread":"EthScheduler-Services-58","class":"EthProtocolManager","message":"Disconnect - active Connection? true - Outbound - 0x03 USELESS_PEER_USELESS_RESPONSES Useless responses: exceeded threshold - 0x5b58ceb27c1ed7cb... besu/v26.2.0/linux-aarch_64/openjdk-java-21 - 0 peers left","throwable":""}

I just set up server 5b58ce
and client 70a1b
as static nodes. can see the disconnect is happening repeatedly.

recent server disconnects, grepping for the client:

{"@timestamp":"2026-03-10T05:06:54,335","level":"DEBUG","thread":"nioEventLoopGroup-3-9","class":"EthProtocolManager","message":"Disconnect - active Connection? true - Inbound - 0x03 USELESS_PEER Useless peer - 0x70a1b815cbd2bbdd... besu/v26.3-develop-db8af46/linux-aarch_64/openjdk-java-21 - 24 peers left","throwable":""}
{"@timestamp":"2026-03-10T05:07:49,550","level":"DEBUG","thread":"nioEventLoopGroup-3-8","class":"EthProtocolManager","message":"Disconnect - active Connection? true - Inbound - 0x03 USELESS_PEER Useless peer - 0x70a1b815cbd2bbdd... besu/v26.3-develop-db8af46/linux-aarch_64/openjdk-java-21 - 24 peers left","throwable":""}
{"@timestamp":"2026-03-10T05:07:53,520","level":"DEBUG","thread":"nioEventLoopGroup-3-7","class":"EthProtocolManager","message":"Disconnect - active Connection? true - Inbound - 0x03 USELESS_PEER Useless peer - 0x70a1b815cbd2bbdd... besu/v26.3-develop-db8af46/linux-aarch_64/openjdk-java-21 - 24 peers left","throwable":""}
{"@timestamp":"2026-03-10T05:08:48,536","level":"DEBUG","thread":"nioEventLoopGroup-3-5","class":"EthProtocolManager","message":"Disconnect - active Connection? true - Inbound - 0x03 USELESS_PEER Useless peer - 0x70a1b815cbd2bbdd... besu/v26.3-develop-db8af46/linux-aarch_64/openjdk-java-21 - 24 peers left","throwable":""}
{"@timestamp":"2026-03-10T05:08:53,726","level":"DEBUG","thread":"nioEventLoopGroup-3-1","class":"EthProtocolManager","message":"Disconnect - active Connection? true - Inbound - 0x03 USELESS_PEER Useless peer - 0x70a1b815cbd2bbdd... besu/v26.3-develop-db8af46/linux-aarch_64/openjdk-java-21 - 24 peers left","throwable":""}
{"@timestamp":"2026-03-10T05:09:48,833","level":"DEBUG","thread":"nioEventLoopGroup-3-4","class":"EthProtocolManager","message":"Disconnect - active Connection? true - Inbound - 0x03 USELESS_PEER Useless peer - 0x70a1b815cbd2bbdd... besu/v26.3-develop-db8af46/linux-aarch_64/openjdk-java-21 - 24 peers left","throwable":""}
{"@timestamp":"2026-03-10T05:09:52,790","level":"DEBUG","thread":"nioEventLoopGroup-3-6","class":"EthProtocolManager","message":"Disconnect - active Connection? true - Inbound - 0x03 USELESS_PEER Useless peer - 0x70a1b815cbd2bbdd... besu/v26.3-develop-db8af46/linux-aarch_64/openjdk-java-21 - 24 peers left","throwable":""}
{"@timestamp":"2026-03-10T05:10:50,133","level":"DEBUG","thread":"nioEventLoopGroup-3-7","class":"EthProtocolManager","message":"Disconnect - active Connection? true - Inbound - 0x03 USELESS_PEER Useless peer - 0x70a1b815cbd2bbdd... besu/v26.3-develop-db8af46/linux-aarch_64/openjdk-java-21 - 24 peers left","throwable":""}
{"@timestamp":"2026-03-10T05:10:53,173","level":"DEBUG","thread":"nioEventLoopGroup-3-10","class":"EthProtocolManager","message":"Disconnect - active Connection? true - Inbound - 0x03 USELESS_PEER Useless peer - 0x70a1b815cbd2bbdd... besu/v26.3-develop-db8af46/linux-aarch_64/openjdk-java-21 - 24 peers left","throwable":""}

grep "Disconnect - " /var/log/besu/besu.log | grep 70a1b
server is running besu/v26.2.0/linux-aarch_64/openjdk-java-21 so that's the most recent release

client

{"@timestamp":"2026-03-10T05:44:47,161","level":"DEBUG","thread":"EthScheduler-Services-116","class":"PeerTaskExecutor","message":"Invalid response RESULTS_DO_NOT_MATCH_QUERY found for GetSyncReceiptsFromPeerTask from peer 0x5b58ceb27c1ed7cb...","throwable":""}
{"@timestamp":"2026-03-10T05:44:47,161","level":"DEBUG","thread":"EthScheduler-Services-116","class":"PeerTaskExecutor","message":"Executed peer task GetSyncReceiptsFromPeerTask against 0x5b58ceb27c1ed7cb..., response code INVALID_RESPONSE, retries remaining 5","throwable":""}
{"@timestamp":"2026-03-10T05:44:47,167","level":"DEBUG","thread":"EthScheduler-Services-40","class":"PeerTaskExecutor","message":"Invalid response RESULTS_DO_NOT_MATCH_QUERY found for GetSyncReceiptsFromPeerTask from peer 0x5b58ceb27c1ed7cb...","throwable":""}
{"@timestamp":"2026-03-10T05:44:47,167","level":"DEBUG","thread":"EthScheduler-Services-40","class":"PeerTaskExecutor","message":"Executed peer task GetSyncReceiptsFromPeerTask against 0x5b58ceb27c1ed7cb..., response code INVALID_RESPONSE, retries remaining 5","throwable":""}
{"@timestamp":"2026-03-10T05:44:47,170","level":"DEBUG","thread":"EthScheduler-Services-117","class":"PeerTaskExecutor","message":"Invalid response RESULTS_DO_NOT_MATCH_QUERY found for GetSyncReceiptsFromPeerTask from peer 0x5b58ceb27c1ed7cb...","throwable":""}
{"@timestamp":"2026-03-10T05:44:47,171","level":"DEBUG","thread":"EthScheduler-Services-117","class":"PeerTaskExecutor","message":"Executed peer task GetSyncReceiptsFromPeerTask against 0x5b58ceb27c1ed7cb..., response code INVALID_RESPONSE, retries remaining 5","throwable":""}
{"@timestamp":"2026-03-10T05:44:47,209","level":"DEBUG","thread":"EthScheduler-Services-53","class":"PeerTaskExecutor","message":"Invalid response RESULTS_DO_NOT_MATCH_QUERY found for GetSyncReceiptsFromPeerTask from peer 0x5b58ceb27c1ed7cb...","throwable":""}

Metadata

Metadata

Assignees

Labels

P1Very High (ex: Security issues, unplanned backward incompatibility preventing network participation)bugSomething isn't workingsnapsync

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions