Chia-Network / chia-blockchain

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

[BUG] 1.1.2 Last Attempted Proof Stops #2790

Closed akeslo closed 3 years ago

akeslo commented 3 years ago

Describe the bug After hours of farming via the Chia 1.1.0 GUI on Mac, the "Last Attempted Proof" section stops updating which appears to indicate farming has stopped. "Last Attempted Proof" section shows proofs from hours earlier and the only way to restart/resolve is to close and reopen the GUI.

To Reproduce

  1. Open Chia GUI
  2. Farm
  3. Wait

Expected behavior Uninterrupted Farming

Screenshots Not updated

Desktop (please complete the following information):

Additional context Seeing the following in the error log at about the time this happens:

2021-04-26T08:14:40.481 farmer farmer_server              : INFO     Connection closed: 127.0.0.1, node id: 9xxxxxxxx0b697935ace0xxxxx8e2
2021-04-26T08:14:40.482 farmer chia.farmer.farmer         : INFO     peer disconnected None
2021-04-26T08:14:40.485 daemon __main__                   : INFO     Websocket exception. Closing websocket with chia_harvester code = 1006 (connection closed abnormally [internal]), no reason Traceback (most recent call last):
  File "websockets/protocol.py", line 827, in transfer_data
  File "websockets/protocol.py", line 895, in read_message
  File "websockets/protocol.py", line 971, in read_data_frame
  File "websockets/protocol.py", line 1047, in read_frame
  File "websockets/framing.py", line 105, in read
  File "asyncio/streams.py", line 721, in readexactly
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 2 expected bytes

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "chia/daemon/server.py", line 167, in safe_handle
  File "websockets/protocol.py", line 439, in __aiter__
  File "websockets/protocol.py", line 509, in recv
  File "websockets/protocol.py", line 803, in ensure_open
websockets.exceptions.ConnectionClosedError: code = 1006 (connection closed abnormally [internal]), no reason

Edit: Updated title to 1.1.2 as I am experiencing the same issue after upgrade.

maomingyang1314 commented 3 years ago

Please update to version 1.1.2

gs517 commented 3 years ago

Please update to version 1.1.2

i have the same problem version 1.1.2

win server 2019

2021-04-26T15:50:14.884 daemon __main__                   : ERROR    Unexpected exception trying to send to websocket: code = 1006 (connection closed abnormally [internal]), no reason Traceback (most recent call last):
  File "chia\daemon\server.py", line 182, in safe_handle
  File "websockets\protocol.py", line 555, in send
  File "websockets\protocol.py", line 803, in ensure_open
websockets.exceptions.ConnectionClosedError: code = 1006 (connection closed abnormally [internal]), no reason

2021-04-26T15:52:18.079 full_node chia.rpc.rpc_server     : WARNING  Sending data failed. Exception Traceback (most recent call last):
  File "chia\rpc\rpc_server.py", line 67, in _state_changed
  File "aiohttp\client_ws.py", line 150, in send_str
  File "aiohttp\http_websocket.py", line 687, in send
  File "aiohttp\http_websocket.py", line 643, in _send_frame
  File "aiohttp\http_websocket.py", line 660, in _write
ConnectionResetError: Cannot write to closing transport

image

akeslo commented 3 years ago

Please update to version 1.1.2

I just upgraded and I'm seeing the exact same behavior

ke11 commented 3 years ago

same here even updated to 1.1.2

below are the logs

Screenshot 2021-04-27 at 3 52 36 AM
gs517 commented 3 years ago

I run the dam ploting the CLI, this solved my problem the main GUI client has been working for a day without errors

akeslo commented 3 years ago

I run the dam ploting the CLI, this solved my problem the main GUI client has been working for a day without errors

I've done this as well - it helps and seems to allow farming to run for longer without being interrupted however the issue still occurs after enough time.

Alqueraf commented 3 years ago

I'm experiencing the same issue on 1.1.3 with an Ubuntu farming machine. Need to manually restart the GUI. Also switching to the "Keys" tab, selecting my key, and going back to the "Farm" tab works as well. 😟

comquer77 commented 3 years ago

experiencing the same on ver. 1.1.5, 1.1.6 and 1.1.7!!!!! what the xxxx!

github-actions[bot] commented 3 years ago

This issue has been flagged as stale as there has been no activity on it in 14 days. If this issue is still affecting you and in need of review, please update it to keep it open.

github-actions[bot] commented 3 years ago

This issue was automatically closed because it has been flagged as stale and subsequently passed 7 days with no further activity.