From a last month I have big issues while farming chia. Basically it looks like that:
- Start chia
- Client is syncing
- Client is synced and start farming.
- For a while (4-10 hours) client stop farming.
- I go to see logs and there are multiple errors:
2022-01-03T08:25:20.867 full_node full_node_server : ERROR Exception: Failed to fetch block 1369381 from None, timed out <class 'ValueError'>, closing connection None. Traceback (most recent call last):
File "/home/ubuntu/chia-blockchain/chia/server/server.py", line 533, in api_call
response: Optional[Message] = await asyncio.wait_for(wrapped_coroutine(), timeout=timeout)
File "/usr/lib/python3.9/asyncio/tasks.py", line 442, in wait_for
return await fut
File "/home/ubuntu/chia-blockchain/chia/server/server.py", line 530, in wrapped_coroutine
raise e
File "/home/ubuntu/chia-blockchain/chia/server/server.py", line 523, in wrapped_coroutine
result = await coroutine
File "/home/ubuntu/chia-blockchain/chia/full_node/full_node_api.py", line 106, in new_peak
return await self.full_node.new_peak(request, peer)
File "/home/ubuntu/chia-blockchain/chia/full_node/full_node.py", line 397, in new_peak
if await self.short_sync_backtrack(
File "/home/ubuntu/chia-blockchain/chia/full_node/full_node.py", line 331, in short_sync_backtrack
raise e
File "/home/ubuntu/chia-blockchain/chia/full_node/full_node.py", line 316, in short_sync_backtrack
raise ValueError(f"Failed to fetch block {curr_height} from {peer.get_peer_info()}, timed out")
ValueError: Failed to fetch block 1369381 from None, timed out
If I try to restart my node (chia start node -r), I get:
chia_full_node: Exception ignored in: <module 'threading' from '/usr/lib/python3.9/threading.py'>
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 1428, in _shutdown
lock.acquire()
File "/home/ubuntu/chia-blockchain/chia/server/start_service.py", line 193, in _accept_signal
self.stop()
File "/home/ubuntu/chia-blockchain/chia/server/start_service.py", line 209, in stop
self._server.close_all()
File "/home/ubuntu/chia-blockchain/chia/server/server.py", line 634, in close_all
self.connection_close_task = asyncio.create_task(self.close_all_connections())
File "/usr/lib/python3.9/asyncio/tasks.py", line 360, in create_task
loop = events.get_running_loop()
RuntimeError: no running event loop
sys:1: RuntimeWarning: coroutine 'ChiaServer.close_all_connections' was never awaited
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
stopped
chia_full_node: started
Command “chia show -s” last forever and gives connection error.
Connection error. Check if full node rpc is running at 8555
This is normal if full node is still starting up.
The only thing that helps, is to restart my pc. But after few hours same story.
I use raspberry 4 as farmer with Ubuntu 21.04. For wallet and node database, I use WD Green SSD.
Has anyone had a similar problem?