Are some amount of errors (presumably regarding connections to other peers) normal in the logs?

I’m getting warning/errors like this every couple of hours or so and was wondering if this is to be expected, or if it’s worth investigating more.

Warnings:

2021-04-26T12:01:32.767 full_node chia.rpc.rpc_server     : WARNING  Error while handling message: Traceback (most recent call last):
2021-04-26T12:03:42.765 full_node chia.rpc.rpc_server     : WARNING  Error while handling message: Traceback (most recent call last):
2021-04-26T12:15:13.719 full_node full_node_server        : WARNING  Banning 109.247.51.94 for 10 seconds
2021-04-26T11:13:02.774 full_node full_node_server        : WARNING  Banning 73.249.55.188 for 10 seconds
2021-04-26T10:08:37.250 full_node full_node_server        : WARNING  Banning 5.70.166.201 for 10 seconds
2021-04-26T10:08:55.882 full_node full_node_server        : WARNING  Banning 14.10.59.33 for 10 seconds
2021-04-26T10:21:00.369 full_node full_node_server        : WARNING  Banning 39.101.178.44 for 10 seconds
2021-04-26T09:04:26.637 full_node full_node_server        : WARNING  [Errno 32] Broken pipe 113.15.209.140
2021-04-26T08:58:39.594 full_node full_node_server        : WARNING  Banning 221.212.228.89 for 10 seconds

Errors:

2021-04-26T12:15:13.716 full_node full_node_server        : ERROR    Exception: Failed to fetch block 189745 from {'host': '109.247.51.94', 'port': 8444}, timed out, {'host': '109.247.51.94', 'port': 8444}. Traceback (most recent call last):
2021-04-26T12:15:13.717 full_node full_node_server        : ERROR    Exception: Failed to fetch block 189745 from {'host': '109.247.51.94', 'port': 8444}, timed out <class 'ValueError'>, closing connection {'host': '109.247.51.94', 'port': 8444}. Traceback (most recent call last):
2021-04-26T12:15:13.720 full_node asyncio                 : ERROR    Task exception was never retrieved
2021-04-26T12:15:13.725 full_node full_node_server        : ERROR    Exception:  <class 'concurrent.futures._base.CancelledError'>, closing connection {'host': '109.247.51.94', 'port': 8444}. Traceback (most recent call last):
2021-04-26T12:15:13.725 full_node full_node_server        : ERROR    Exception:  <class 'concurrent.futures._base.CancelledError'>, closing connection {'host': '109.247.51.94', 'port': 8444}. Traceback (most recent call last):
2021-04-26T11:13:02.772 full_node full_node_server        : ERROR    Exception: Failed to fetch block 189537 from {'host': '73.249.55.188', 'port': 8444}, timed out, {'host': '73.249.55.188', 'port': 8444}. Traceback (most recent call last):
2021-04-26T11:13:02.773 full_node full_node_server        : ERROR    Exception: Failed to fetch block 189537 from {'host': '73.249.55.188', 'port': 8444}, timed out <class 'ValueError'>, closing connection {'host': '73.249.55.188', 'port': 8444}. Traceback (most recent call last):
2021-04-26T11:13:02.775 full_node asyncio                 : ERROR    Task exception was never retrieved
2021-04-26T11:13:02.778 full_node full_node_server        : ERROR    Exception:  <class 'concurrent.futures._base.CancelledError'>, closing connection {'host': '73.249.55.188', 'port': 8444}. Traceback (most recent call last):
2021-04-26T10:08:37.152 full_node full_node_server        : ERROR    Exception: Failed to fetch block 189317 from {'host': '5.70.166.201', 'port': 8444}, timed out, {'host': '5.70.166.201', 'port': 8444}. Traceback (most recent call last):
2021-04-26T10:08:37.152 full_node full_node_server        : ERROR    Exception: Failed to fetch block 189317 from {'host': '5.70.166.201', 'port': 8444}, timed out <class 'ValueError'>, closing connection {'host': '5.70.166.201', 'port': 8444}. Traceback (most recent call last):
2021-04-26T10:08:37.251 full_node asyncio                 : ERROR    Task exception was never retrieved
2021-04-26T10:08:55.875 full_node full_node_server        : ERROR    Exception: Failed to fetch block 189318 from {'host': '14.10.59.33', 'port': 8444}, timed out, {'host': '14.10.59.33', 'port': 8444}. Traceback (most recent call last):
2021-04-26T10:08:55.877 full_node full_node_server        : ERROR    Exception: Failed to fetch block 189318 from {'host': '14.10.59.33', 'port': 8444}, timed out <class 'ValueError'>, closing connection {'host': '14.10.59.33', 'port': 8444}. Traceback (most recent call last):
2021-04-26T10:08:55.883 full_node asyncio                 : ERROR    Task exception was never retrieved
2021-04-26T10:08:55.888 full_node full_node_server        : ERROR    Exception:  <class 'concurrent.futures._base.CancelledError'>, closing connection {'host': '14.10.59.33', 'port': 8444}. Traceback (most recent call last):
2021-04-26T10:08:55.888 full_node full_node_server        : ERROR    Exception:  <class 'concurrent.futures._base.CancelledError'>, closing connection {'host': '14.10.59.33', 'port': 8444}. Traceback (most recent call last):
2021-04-26T10:21:00.366 full_node full_node_server        : ERROR    Exception: Failed to fetch block 189363 from {'host': '39.101.178.44', 'port': 8444}, timed out, {'host': '39.101.178.44', 'port': 8444}. Traceback (most recent call last):
2021-04-26T10:21:00.367 full_node full_node_server        : ERROR    Exception: Failed to fetch block 189363 from {'host': '39.101.178.44', 'port': 8444}, timed out <class 'ValueError'>, closing connection {'host': '39.101.178.44', 'port': 8444}. Traceback (most recent call last):
2021-04-26T10:21:00.369 full_node asyncio                 : ERROR    Task exception was never retrieved
2021-04-26T10:21:00.372 full_node full_node_server        : ERROR    Exception:  <class 'concurrent.futures._base.CancelledError'>, closing connection {'host': '39.101.178.44', 'port': 8444}. Traceback (most recent call last):
2021-04-26T10:21:00.372 full_node full_node_server        : ERROR    Exception:  <class 'concurrent.futures._base.CancelledError'>, closing connection {'host': '39.101.178.44', 'port': 8444}. Traceback (most recent call last):
2021-04-26T10:21:00.373 full_node full_node_server        : ERROR    Exception:  <class 'concurrent.futures._base.CancelledError'>, closing connection {'host': '39.101.178.44', 'port': 8444}. Traceback (most recent call last):
2021-04-26T08:58:39.592 full_node full_node_server        : ERROR    Exception: Failed to fetch block 189090 from {'host': '221.212.228.89', 'port': 8444}, timed out, {'host': '221.212.228.89', 'port': 8444}. Traceback (most recent call last):
2021-04-26T08:58:39.593 full_node full_node_server        : ERROR    Exception: Failed to fetch block 189090 from {'host': '221.212.228.89', 'port': 8444}, timed out <class 'ValueError'>, closing connection {'host': '221.212.228.89', 'port': 8444}. Traceback (most recent call last):
2021-04-26T08:58:39.595 full_node asyncio                 : ERROR    Task exception was never retrieved

Edit: full example of one of those errors, with the traceback:

2021-04-26T15:22:55.545 full_node full_node_server        : WARNING  Banning 123.149.206.80 for 10 seconds
2021-04-26T15:22:55.546 full_node chia.full_node.full_node: INFO     peer disconnected {'host': '123.149.206.80', 'port': 8444}
2021-04-26T15:22:55.546 full_node asyncio                 : ERROR    Task exception was never retrieved
future: <Task finished coro=<ChiaServer.incoming_api_task.<locals>.api_call() done, defined at /home/andrew/dev/chia-blockchain/chia/server/server.py:478> exception=CancelledError()>
concurrent.futures._base.CancelledError

Being random networking with random other machines on the internet… I’d tend to say… yes? Some errors should be expected? But I’m no expert.

1 Like

Hopefully there’s no security vulnerabilities that can be exploited on that port. I haven’t done any audit to the code yet. Is there any information regarding this?

2 Likes

Timeouts are usually full nodes going offline. Bans are usually people that are running older software. Although I don’t know what determines something as “older”.

I’m pretty sure there is an unknown vulnerability somewhere, there always is. But since Chia doesn’t run as admin, I think it would be limited. Once transactions come online, I’m moving my XCH to another wallet so that the farmer does not also have the hot wallet.

4 Likes