I am using a setup allowing Farming on multiple machines. It was working for long time, but stopped working recently.
But I don’t know what triggered the problem, it might be a windows update, or a Chia upgrade.
Here is the problem: If any plot is added to the harvester, the connection to Farmer is lost.
If no plot is added to the harvester, the harvester will show up in the Farmer’s “Your Harvester Network”
Windows is restored to initial state, but it didn’t help to resolve the problem. Another network cable connecting to a working Harvester was borrowed, no Help!
It was a old PC, but had been working for more than 1 year. If no solution found, I will migrate everything to some new PC, which will a lot of work.
Here is log: (Connection to Farmer is closed 10 minutes after the start of Harvester, I had changed plots_refresh_parameter: interval_seconds: to 3600 )
2023-11-22T11:44:01.283 harvester chia.harvester.harvester: INFO Using plots_refresh_parameter: {‘batch_size’: 300, ‘batch_sleep_milliseconds’: 1, ‘interval_seconds’: 3600, ‘retry_invalid_seconds’: 1200}
2023-11-22T11:44:01.299 harvester harvester : INFO Starting service harvester …
2023-11-22T11:44:01.299 harvester harvester : INFO chia-blockchain version: 2.1.1
2023-11-22T11:44:01.299 harvester harvester_server : INFO Service capabilities: [(1, ‘1’), (2, ‘1’), (3, ‘1’)]
2023-11-22T11:44:01.315 harvester filelock : DEBUG Attempting to acquire lock 1832115449920 on C:\Users\admin.chia\mainnet\run\harvester.lock
2023-11-22T11:44:01.330 harvester filelock : DEBUG Lock 1832115449920 acquired on C:\Users\admin.chia\mainnet\run\harvester.lock
2023-11-22T11:44:01.330 harvester harvester : INFO Started harvester service on network_id: mainnet at port 8448
2023-11-22T11:44:01.346 harvester harvester : INFO Add resolved PeerInfo(_ip=IPv4Address(‘192.168.1.30’), _port=8447)
2023-11-22T11:44:01.346 harvester harvester_server : DEBUG Connecting: wss://192.168.1.30:8447/ws, Peer info: PeerInfo(_ip=IPv4Address(‘192.168.1.30’), _port=8447)
2023-11-22T11:44:01.378 harvester harvester_server : DEBUG → handshake to peer 192.168.1.30 3ed5???1d29
2023-11-22T11:44:01.394 daemon chia.daemon.server : DEBUG Received message: WSMessage(type=<WSMsgType.TEXT: 1>, data=‘{“ack”: false, “command”: “register_service”, “data”: {“service”: “chia_harvester”}, “destination”: “daemon”, “origin”: “chia_harvester”, “request_id”: “9e???8a”}’, extra=‘’)
2023-11-22T11:44:01.394 harvester harvester_server : INFO Connected with farmer PeerInfo(_ip=IPv4Address(‘192.168.1.30’), _port=8447)
2023-11-22T11:44:01.394 daemon chia.daemon.server : INFO Register service {‘service’: ‘chia_harvester’}
2023-11-22T11:44:01.409 harvester harvester_server : DEBUG ← harvester_handshake from peer 3ed550b4a667???1d29 192.168.1.30
2023-11-22T11:44:01.409 daemon chia.daemon.server : INFO registered for service chia_harvester
2023-11-22T11:44:01.409 harvester chia.plotting.cache : DEBUG Cache C:\Users\admin.chia\mainnet\cache\plot_manager_v2.dat not found
2023-11-22T11:44:01.425 daemon chia.daemon.server : INFO {‘success’: True}
2023-11-22T11:44:01.425 harvester harvester_server : DEBUG Time taken to process harvester_handshake from 3ed550b4a66???a961d29 is 0.015624523162841797 seconds
2023-11-22T11:44:01.425 harvester filelock : DEBUG Attempting to acquire lock 1832115577296 on C:\Users\admin.chia\mainnet\config\config.yaml.lock
2023-11-22T11:44:01.441 harvester chia.rpc.rpc_server : DEBUG Rpc call ← register_service
2023-11-22T11:44:01.441 harvester filelock : DEBUG Lock 1832115577296 acquired on C:\Users\admin.chia\mainnet\config\config.yaml.lock
2023-11-22T11:44:01.599 harvester filelock : DEBUG Attempting to release lock 1832115577296 on C:\Users\admin.chia\mainnet\config\config.yaml.lock
2023-11-22T11:44:01.599 harvester filelock : DEBUG Lock 1832115577296 released on C:\Users\admin.chia\mainnet\config\config.yaml.lock
2023-11-22T11:44:01.614 harvester chia.plotting.util : DEBUG get_filenames: 73 files found in D:\Farmer2_ChiaPlot10, recursive: False
2023-11-22T11:44:01.630 harvester chia.harvester.harvester: INFO _plot_refresh_callback: event started, loaded 0, removed 0, processed 0, remaining 73, duration: 0.00 seconds, total plots: 0
2023-11-22T11:44:01.630 harvester chia.plot_sync.sender : DEBUG sync_start sync_id 0, next_message_id 0, messages 0: count 73, initial True
2023-11-22T11:44:01.630 harvester chia.plot_sync.sender : DEBUG sync_start 1700671441
2023-11-22T11:44:01.646 harvester chia.plotting.manager : DEBUG refresh_batch: 73 files in directories {WindowsPath(‘D:/Farmer2_ChiaPlot10’)}
2023-11-22T11:44:01.661 harvester chia.plotting.manager : DEBUG process_file D:\Farmer2_ChiaPlot10\plot-k32-2022-05-16-02-17-12a491fcc8???176693065c.plot
2023-11-22T11:44:01.661 harvester chia.plot_sync.sender : DEBUG _send_next_message send plot_sync_start: PlotSyncStart: identifier {‘message_id’: 0, ‘sync_id’: 1700671441, ‘timestamp’: 1700671441}, initial True, last_sync_id 0, plot_file_count 73, harvesting_mode 1
2023-11-22T11:44:01.677 harvester harvester_server : DEBUG → plot_sync_start to peer 192.168.1.30 3ed???61d29
2023-11-22T11:44:01.661 harvester chia.plotting.manager : DEBUG process_file D:\Farmer2_ChiaPlot10\plot-k32-2022-05-16-13-16-42ef5de2554???850a44fd2.plot
2023-11-22T11:44:01.694 harvester harvester_server : DEBUG ← plot_sync_response from peer 3ed550b???>0a961d29 192.168.1.30
2023-11-22T11:44:01.740 harvester chia.plot_sync.sender : DEBUG set_response valid PlotSyncResponse: identifier {‘message_id’: 0, ‘sync_id’: 1700671441, ‘timestamp’: 1700671441}, message_type 78, error None
2023-11-22T11:44:31.440 daemon chia.daemon.server : DEBUG About to ping: chia_harvester
2023-11-22T11:45:06.665 daemon chia.daemon.server : DEBUG Received message: WSMessage(type=<WSMsgType.CLOSED: 257>, data=None, extra=None)
2023-11-22T11:45:06.665 daemon chia.daemon.server : INFO Connection closed. Closing websocket with [‘chia_harvester’].