Skip to content

Instantly share code, notes, and snippets.

@veox
Created January 30, 2019 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veox/b5d5a7215b3b247fae9174389951e508 to your computer and use it in GitHub Desktop.
Save veox/b5d5a7215b3b247fae9174389951e508 to your computer and use it in GitHub Desktop.
DEBUG 01-30 00:44:07 HeaderMeatSyncer Requesting 192 headers from ETHPeer <Node(0x2780@52.213.50.123)>
DEBUG 01-30 00:44:07 HeaderMeatSyncer Requesting 192 headers from ETHPeer <Node(0x9a69@13.250.15.120)>
DEBUG 01-30 00:44:07 FullServer Receiving handshake from Address(18.223.185.86:udp:59230|tcp:59230)
DEBUG 01-30 00:44:07 ETHPeer Disconnecting from remote peer <Node(0x399a@18.223.185.86)>; reason: too_many_peers
INFO 01-30 00:44:07 HeaderMeatSyncer Unexpected err while downloading headers from ETHPeer <Node(0x2780@52.213.50.123)>: must not prune a node that has a parent
DEBUG 01-30 00:44:07 HeaderMeatSyncer Problem downloading headers from peer, dropping...
Traceback (most recent call last):
File "/home/veox/src/trinity/trinity/sync/common/headers.py", line 599, in _run_fetch_segment
completed_headers = await peer.wait(self._fetch_segment(peer, parent_header, length))
File "/home/veox/src/trinity/p2p/cancellable.py", line 20, in wait
return await self.wait_first(awaitable, token=token, timeout=timeout)
File "/home/veox/src/trinity/p2p/cancellable.py", line 42, in wait_first
return await token_chain.cancellable_wait(*awaitables, timeout=timeout)
File "/home/veox/src/trinity/.virtualenv/trinity/lib/python3.7/site-packages/cancel_token/token.py", line 152, in cancellable_wait
return done.pop().result()
File "/home/veox/src/trinity/trinity/sync/common/headers.py", line 677, in _fetch_segment
self._stitcher.register_tasks(headers, ignore_duplicates=True)
File "/home/veox/src/trinity/trinity/_utils/datastructures.py", line 568, in register_tasks
self._mark_complete(task_id)
File "/home/veox/src/trinity/trinity/_utils/datastructures.py", line 625, in _mark_complete
self._prune_finished(prune_from_leaf)
File "/home/veox/src/trinity/trinity/_utils/datastructures.py", line 660, in _prune_finished
self._prune(root_task_id)
File "/home/veox/src/trinity/trinity/_utils/datastructures.py", line 699, in _prune
self._roots.prune(prune_task_id)
File "/home/veox/src/trinity/trinity/_utils/tree_root.py", line 265, in prune
self._tree.prune(prune_off_id)
File "/home/veox/src/trinity/trinity/_utils/tree_root.py", line 40, in prune
raise ValidationError("must not prune a node that has a parent")
eth_utils.exceptions.ValidationError: must not prune a node that has a parent
DEBUG 01-30 00:46:34 FastChainBodySyncer Got receipts for 64/256 headers from ETHPeer <Node(0xc0d4@119.130.229.225)>, with 0 trivial headers
DEBUG 01-30 00:46:34 FastChainBodySyncer Requesting receipts for 256 headers from ETHPeer <Node(0xc0d4@119.130.229.225)>
DEBUG 01-30 00:46:34 FastChainBodySyncer Got receipts for 62/256 headers from ETHPeer <Node(0x2780@52.213.50.123)>, with 0 trivial headers
DEBUG 01-30 00:46:35 FastChainBodySyncer Requesting receipts for 256 headers from ETHPeer <Node(0x2780@52.213.50.123)>
DEBUG 01-30 00:46:37 FastChainBodySyncer <coroutine object FastChainBodySyncer._launch_prerequisite_tasks at 0x7ff918bf6148> finished while <trinity.sync.full.chain.FastChainBodySyncer object at 0x7ff918bdf470> is still running, ter
minating as well
DEBUG 01-30 00:46:37 FastChainBodySyncer Cancelling <trinity.sync.full.chain.FastChainBodySyncer object at 0x7ff918bdf470>
WARNING 01-30 00:46:37 FastChainBodySyncer Task <coroutine object FastChainBodySyncer._launch_prerequisite_tasks at 0x7ff918befd48> finished unexpectedly: must not re-add same node twice
DEBUG 01-30 00:46:37 FastChainBodySyncer Task failure traceback
Traceback (most recent call last):
File "/home/veox/src/trinity/p2p/service.py", line 141, in _run_task_wrapper
await awaitable
File "/home/veox/src/trinity/p2p/service.py", line 160, in _run_daemon_task_wrapper
await awaitable
File "/home/veox/src/trinity/trinity/sync/full/chain.py", line 454, in _launch_prerequisite_tasks
self._block_persist_tracker.register_tasks(headers, ignore_duplicates=True)
File "/home/veox/src/trinity/trinity/_utils/datastructures.py", line 564, in register_tasks
self._roots.add(task_id, dependency_id)
File "/home/veox/src/trinity/trinity/_utils/tree_root.py", line 208, in add
self._tree.add(node_id, parent_id)
File "/home/veox/src/trinity/trinity/_utils/tree_root.py", line 32, in add
raise ValidationError("must not re-add same node twice")
eth_utils.exceptions.ValidationError: must not re-add same node twice
DEBUG 01-30 00:46:37 FastChainBodySyncer <trinity.sync.full.chain.FastChainBodySyncer object at 0x7ff918bdf470> cancelled, cleaning up...
DEBUG 01-30 00:46:37 FastChainBodySyncer Waiting for tasks: [<Task pending coro=<FastChainBodySyncer._persist_ready_blocks() running at /home/veox/src/trinity/p2p/service.py:141> wait_for=<Future pending cb=[<TaskWakeupMethWrapper o
bject at 0x7ff69d84ed98>()]>>, <Task pending coro=<FastChainBodySyncer._assign_receipt_download_to_peers() running at /home/veox/src/trinity/p2p/service.py:141> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7ff68ff8c318>(
)]>>, <Task pending coro=<FastChainBodySyncer._display_stats() running at /home/veox/src/trinity/p2p/service.py:141> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7ff6f425ec18>()]>>, <Task pending coro=<BaseBodyChainSynce
r._assign_body_download_to_peers() running at /home/veox/src/trinity/p2p/service.py:141> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7ff8d042f2e8>()]>>, <Task pending coro=<WaitingPeers.put_nowait() running at /home/veo
x/src/trinity/p2p/service.py:141> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7ff69e11cbb8>()]>>]
... <node shutdown continues as usually>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment