question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] - Harvester Crashing and Debug.log not helping solve issue

See original GitHub issue

Describe the bug

Debug.log reads:

2021-10-31T07:56:17.297 daemon chia.daemon.server         : INFO     Websocket exception. Closing websocket with chia_harvester code = 1006 (connection closed abnormally [internal]), no reason Traceback (most recent call last):
  File "/home/brian/chia-blockchain/venv/lib/python3.8/site-packages/websockets/protocol.py", line 827, in transfer_data
    message = await self.read_message()
  File "/home/brian/chia-blockchain/venv/lib/python3.8/site-packages/websockets/protocol.py", line 895, in read_message
    frame = await self.read_data_frame(max_size=self.max_size)
  File "/home/brian/chia-blockchain/venv/lib/python3.8/site-packages/websockets/protocol.py", line 971, in read_data_frame
    frame = await self.read_frame(max_size)
  File "/home/brian/chia-blockchain/venv/lib/python3.8/site-packages/websockets/protocol.py", line 1047, in read_frame
    frame = await Frame.read(
  File "/home/brian/chia-blockchain/venv/lib/python3.8/site-packages/websockets/framing.py", line 105, in read
    data = await reader(2)
  File "/usr/lib/python3.8/asyncio/streams.py", line 721, in readexactly
    raise exceptions.IncompleteReadError(incomplete, n)
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 "/home/brian/chia-blockchain/chia/daemon/server.py", line 193, in safe_handle
    async for message in websocket:
  File "/home/brian/chia-blockchain/venv/lib/python3.8/site-packages/websockets/protocol.py", line 439, in __aiter__
    yield await self.recv()
  File "/home/brian/chia-blockchain/venv/lib/python3.8/site-packages/websockets/protocol.py", line 509, in recv
    await self.ensure_open()
  File "/home/brian/chia-blockchain/venv/lib/python3.8/site-packages/websockets/protocol.py", line 803, in ensure_open
    raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: code = 1006 (connection closed abnormally [internal]), no reason

To Reproduce

Running harvester with latest version of Chia in Ubuntu Linux.

Expected behavior

Should not be crashing

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
brianwfreemancommented, Nov 3, 2021

Just to come back full circle to close this out – the bad plots seemed to have been the issue. After deleting the bad plots indicated in the debug.log, the harvester has not crashed.

0reactions
loppefaaretcommented, Nov 3, 2021

having not heard anything bad since our list interaction, closing issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

File beat keeps crashing - Beats - Discuss the Elastic Stack
From last week, file beat is keep crashing for every 5 minutes. There is no error in file beat logs and logstash logs.....
Read more >
java - Unfortunately MyApp has stopped. How can I solve this?
Go to the LogCat, from the drop down menu select error. This will contain all the required information to help you debug. If...
Read more >
1.18.2 keeps crashing - Support & Bug Reports - Forge Forums
I downloaded forge for 1.18.2 following the official instructions, I tried opening Minecraft, and it crashed all 3 different times I tried ...
Read more >
thieftdp - Chia Forum
I have been asking around and people say to contact pool for support but imo this isn't a pool problem, its the GUI...
Read more >
Harvesters Crashing - GIANTS Software - Forum
This is happening when the harvester has to back up to move to the next row for harvesting. My programmer son says that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found