Open tzarebczan opened 4 years ago
I have also seen this error, but I'm not sure what causes it.
My set up is as follows, one PC (1) and one laptop (2) in the same local network 192.168.1.xxx
. My PC has lbrynet
running most of the time, and I just run lbrynet
occasionally on the laptop.
This message about invalid IP is shown on the laptop (2), and refers to the PC's IP address (1). So, it is like the laptop doesn't see correctly the PC as a peer or something.
Traceback (most recent call last):
File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/lib/python3.7/asyncio/selector_events.py", line 975, in _read_ready
self._protocol.datagram_received(data, addr)
File "/opt/git/lbry-sdk/lbry/dht/protocol/protocol.py", line 564, in datagram_received
self.handle_request_datagram(address, message)
File "/opt/git/lbry-sdk/lbry/dht/protocol/protocol.py", line 455, in handle_request_datagram
peer = make_kademlia_peer(request_datagram.node_id, address[0], address[1])
File "/opt/git/lbry-sdk/lbry/dht/peer.py", line 20, in make_kademlia_peer
return KademliaPeer(address, node_id, udp_port, tcp_port=tcp_port, allow_localhost=allow_localhost)
File "<string>", line 9, in __init__
File "/opt/git/lbry-sdk/lbry/dht/peer.py", line 163, in __post_init__
raise ValueError(f"invalid ip address: '{self.address}'")
ValueError: invalid ip address: '192.168.1.8'
@jackrobison is aware of this one.