Chia-Network / chia-blockchain

Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Apache License 2.0
10.82k stars 2.03k forks source link

[Bug] [1.8.2] [LOG] TIMESTAMP_TOO_FAR_IN_FUTURE + Invalid response status #15710

Closed heget closed 1 year ago

heget commented 1 year ago

What happened?

After update from 1.8.1 to 1.8.2 I getting several new issues in LOG: And this should affect my wins I guess.

Version

1.8.2

What platform are you using?

Windows

What ui mode are you using?

GUI

Relevant log output

2023-07-04T02:23:58.683 full_node full_node_server        : ERROR    Exception: Error code: TIMESTAMP_TOO_FAR_IN_FUTURE [], PeerInfo(_ip=IPv4Address('99.38.119.18'), _port=8444). Traceback (most recent call last):
  File "chia\server\ws_connection.py", line 393, in wrapped_coroutine
  File "chia\full_node\full_node_api.py", line 469, in respond_unfinished_block
  File "chia\full_node\full_node.py", line 1858, in add_unfinished_block
chia.util.errors.ConsensusError: Error code: TIMESTAMP_TOO_FAR_IN_FUTURE []

2023-07-04T02:23:58.683 full_node full_node_server        : ERROR    Exception: Error code: TIMESTAMP_TOO_FAR_IN_FUTURE [] <class 'chia.util.errors.ConsensusError'>, closing connection PeerInfo(_ip=IPv4Address('99.38.119.18'), _port=8444). Traceback (most recent call last):
  File "chia\server\ws_connection.py", line 403, in _api_call
  File "asyncio\tasks.py", line 479, in wait_for
  File "chia\server\ws_connection.py", line 393, in wrapped_coroutine
  File "chia\full_node\full_node_api.py", line 469, in respond_unfinished_block
  File "chia\full_node\full_node.py", line 1858, in add_unfinished_block
chia.util.errors.ConsensusError: Error code: TIMESTAMP_TOO_FAR_IN_FUTURE []

2023-07-04T02:23:58.824 full_node full_node_server        : WARNING  Banning 99.38.119.18 for 10 seconds
2023-07-04T03:46:11.127 full_node full_node_server        : ERROR    Exception: Error code: TIMESTAMP_TOO_FAR_IN_FUTURE [], PeerInfo(_ip=IPv4Address('94.21.177.217'), _port=8444). Traceback (most recent call last):
  File "chia\server\ws_connection.py", line 393, in wrapped_coroutine
  File "chia\full_node\full_node_api.py", line 469, in respond_unfinished_block
  File "chia\full_node\full_node.py", line 1858, in add_unfinished_block
chia.util.errors.ConsensusError: Error code: TIMESTAMP_TOO_FAR_IN_FUTURE []

2023-07-04T03:46:11.127 full_node full_node_server        : ERROR    Exception: Error code: TIMESTAMP_TOO_FAR_IN_FUTURE [] <class 'chia.util.errors.ConsensusError'>, closing connection PeerInfo(_ip=IPv4Address('94.21.177.217'), _port=8444). Traceback (most recent call last):
  File "chia\server\ws_connection.py", line 403, in _api_call
  File "asyncio\tasks.py", line 479, in wait_for
  File "chia\server\ws_connection.py", line 393, in wrapped_coroutine
  File "chia\full_node\full_node_api.py", line 469, in respond_unfinished_block
  File "chia\full_node\full_node.py", line 1858, in add_unfinished_block
chia.util.errors.ConsensusError: Error code: TIMESTAMP_TOO_FAR_IN_FUTURE []

2023-07-04T03:46:11.158 full_node full_node_server        : WARNING  Banning 94.21.177.217 for 10 seconds

2023-07-04T16:00:48.149 full_node chia.full_node.full_node: WARNING  Block validation time: 2.41 seconds, pre_validation time: 0.58 seconds, cost: 5314847144, percent full: 48.317% header_hash: 72a932059ab479aeeed165263935413a26bdc2d249c219729bc111e81d123c67 height: 3896451
2023-07-04T16:38:35.279 full_node full_node_server        : ERROR    Exception: Error code: TIMESTAMP_TOO_FAR_IN_FUTURE [], PeerInfo(_ip=IPv4Address('190.189.137.75'), _port=8444). Traceback (most recent call last):
  File "chia\server\ws_connection.py", line 393, in wrapped_coroutine
  File "chia\full_node\full_node_api.py", line 469, in respond_unfinished_block
  File "chia\full_node\full_node.py", line 1858, in add_unfinished_block
chia.util.errors.ConsensusError: Error code: TIMESTAMP_TOO_FAR_IN_FUTURE []

2023-07-04T16:38:35.295 full_node full_node_server        : ERROR    Exception: Error code: TIMESTAMP_TOO_FAR_IN_FUTURE [] <class 'chia.util.errors.ConsensusError'>, closing connection PeerInfo(_ip=IPv4Address('190.189.137.75'), _port=8444). Traceback (most recent call last):
  File "chia\server\ws_connection.py", line 403, in _api_call
  File "asyncio\tasks.py", line 479, in wait_for
  File "chia\server\ws_connection.py", line 393, in wrapped_coroutine
  File "chia\full_node\full_node_api.py", line 469, in respond_unfinished_block
  File "chia\full_node\full_node.py", line 1858, in add_unfinished_block
chia.util.errors.ConsensusError: Error code: TIMESTAMP_TOO_FAR_IN_FUTURE []

2023-07-04T16:38:35.545 full_node full_node_server        : WARNING  Banning 190.189.137.75 for 10 seconds
2023-07-05T01:39:07.091 full_node full_node_server        : WARNING  Connection failed to wss://217.98.85.34:8444/ws. Error: 403, message='Invalid response status', url=URL('wss://217.98.85.34:8444/ws')

2023-07-07T07:39:30.224 full_node full_node_server        : ERROR    Exception: Error code: TIMESTAMP_TOO_FAR_IN_FUTURE [], PeerInfo(_ip=IPv4Address('62.178.215.96'), _port=8444). Traceback (most recent call last):
  File "chia\server\ws_connection.py", line 393, in wrapped_coroutine
  File "chia\full_node\full_node_api.py", line 469, in respond_unfinished_block
  File "chia\full_node\full_node.py", line 1858, in add_unfinished_block
chia.util.errors.ConsensusError: Error code: TIMESTAMP_TOO_FAR_IN_FUTURE []

2023-07-07T07:39:30.224 full_node full_node_server        : ERROR    Exception: Error code: TIMESTAMP_TOO_FAR_IN_FUTURE [] <class 'chia.util.errors.ConsensusError'>, closing connection PeerInfo(_ip=IPv4Address('62.178.215.96'), _port=8444). Traceback (most recent call last):
  File "chia\server\ws_connection.py", line 403, in _api_call
  File "asyncio\tasks.py", line 479, in wait_for
  File "chia\server\ws_connection.py", line 393, in wrapped_coroutine
  File "chia\full_node\full_node_api.py", line 469, in respond_unfinished_block
  File "chia\full_node\full_node.py", line 1858, in add_unfinished_block
chia.util.errors.ConsensusError: Error code: TIMESTAMP_TOO_FAR_IN_FUTURE []

2023-07-07T07:39:30.239 full_node full_node_server        : WARNING  Banning 62.178.215.96 for 10 seconds
wjblanke commented 1 year ago

we have shortened the allowable time between blocks. please check that your peer or your system clock is correct. it may just be a bad peer

https://time.is will let u know. if yours is correct it is just a bad peer