Unexpected error handling handshake on inbound peer connections
gsalgado opened this issue · 0 comments
gsalgado commented
Recently started seeing those somewhat frequently
ERROR 2020-08-27 10:51:57,324 FullServer Unexpected error handling handshake with ('47.244.135.142', 34823)
Traceback (most recent call last):
File "/home/salgado/src/snakecharmers/trinity/trinity/server.py", line 136, in receive_handshake
await self._receive_handshake(reader, writer)
File "/home/salgado/src/snakecharmers/trinity/trinity/server.py", line 189, in _receive_handshake
await peer.disconnect(DisconnectReason.TOO_MANY_PEERS)
File "/home/salgado/src/snakecharmers/trinity/p2p/peer.py", line 338, in disconnect
self.disconnect_nowait(reason)
File "/home/salgado/src/snakecharmers/trinity/p2p/peer.py", line 349, in disconnect_nowait
self._send_disconnect(reason)
File "/home/salgado/src/snakecharmers/trinity/p2p/peer.py", line 353, in _send_disconnect
self._p2p_api.disconnect(reason)
AttributeError: 'ETHPeer' object has no attribute '_p2p_api'