From ca12d655ea86b522f2985af0c7a92f3b6f70ce6b Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Tue, 29 Oct 2019 11:38:51 -0400 Subject: [PATCH] don't log tracebacks for old peers failing to handle findValue requests during blob announcement --- lbry/lbry/dht/protocol/protocol.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lbry/lbry/dht/protocol/protocol.py b/lbry/lbry/dht/protocol/protocol.py index 809ebd0e1..d8a84da45 100644 --- a/lbry/lbry/dht/protocol/protocol.py +++ b/lbry/lbry/dht/protocol/protocol.py @@ -664,6 +664,9 @@ class KademliaProtocol(DatagramProtocol): log.error("Unexpected response: %s" % err) return peer.node_id, False except RemoteException as err: + if 'findValue() takes exactly 2 arguments (5 given)' in str(err): + log.debug("peer %s:%i is running an incompatible version of lbrynet", peer.address, peer.udp_port) + return peer.node_id, False if 'Invalid token' not in str(err): log.exception("Unexpected error while storing blob_hash") return peer.node_id, False