Chia-Network / drplotter

Apache License 2.0
62 stars 7 forks source link

The harvester does not start/does not work properly. #46

Open krotit opened 4 months ago

krotit commented 4 months ago

The harvester does not start/does not work properly. I am trusted by CHIA 2.1.4. My actions:

  1. I had CHIA 2.2.1 installed - I deleted it. Rebooted the system
  2. Approved Version 2.1.4 of CHIA.
  3. Launched chia 2.1.4 as a farmer wallet and, after synchronizing the node, saw the current account balance.
  4. Recruited CHIA 2.1.4.
  5. Copied passwords to a remote folder to connect to the network ~/.chia/mainnet/config/ssl/ca
  6. Deleted the ~/.chia directory/
  7. I misled drcia
  8. Identified early-stored drchia init -c /path/to/your/farmers/ca/certificates certificates
  9. In config.yaml has registered farmer_peer: its local ip address
  10. Wrote the path to the previously created plots to add -d /your/plots/directory
  11. changed the configuration for logs
  12. Starting the drchia start -r harvester

At first, errors came out, as I understood about the certificates:

2024-03-20T09:01:32.141 harvester harvester : INFO Failed to connect to PeerInfo(_ip=IPv4address('127.0.0.1'), _port=8447) 2024-03-20T09:01:35.145 harvester harvester_server : INFORMATION cannot connect to host 127.0.0.1:8447 ssl:<ssl.SSLContext object at 0x7fb25c330d40> [Connection call failed ('127.0.0.1', 8447)]

Then when I did it all again, these errors started coming out

The daemon is not running yet Launching the daemon Backtracking (last last call): File "/usr/lib/drharvester/chia.py ", line 141, in File "/usr/lib/drharvester/chia.py ", line 137, in main File "/usr/lib/drharvester/click/core.py ", line 1130, in the call File "/usr/lib/drharvester/click/core.py ", line 1055, in the main File "/usr/lib/drharvester/click/core.py ", line 1657, in invoke File "/usr/lib/drharvester/click/core.py ", line 1404, in invoke File "/usr/lib/drharvester/click/core.py ", line 760, in invoke File "/usr/lib/drharvester/click/decorators.py ", line 26, in new_func File "/usr/lib/drharvester/chia.py ", line 110, in run_daemon_cmd File "/usr/lib/drharvester/asyncio/runners.py ", line 44, in run File "/usr/lib/drharvester/asyncio/base_events.py ", line 649, in run_until_complete File "/usr/lib/drharvester/chia/daemon/server.py ", line 1538, in async_run_daemon File "/usr/lib/drharvester/contextlib.py ", line 199, in aenter File "/usr/lib/drharvester/chia/daemon/server.py ", line 197, in run File "/usr/lib/drharvester/chia/util/network.py ", line 96, in create File "/usr/lib/drharvester/chia/util/network.py ", line 109, in start File "/usr/lib/drharvester/aiohttp/web_runner.py ", line 121, in start File "/usr/lib/drharvester/asyncio/base_events.py ", line 1519, in create_server OSError error: [Errno 98] error when trying to bind to an address ('127.0.0.1', 55400): the address is already in use The daemon is not running yet Failed to create a chia daemon

What could be the problem and what am I doing wrong?

krotit commented 4 months ago

В логах сейчас пишет вот так:

2024-03-20T09:26:19.250 harvester harvester : INFO Failed to connect to PeerInfo(_ip=IPv4Address('127.0.0.1'), _port=8447) 2024-03-20T09:26:22.254 harvester harvester_server : INFO Cannot connect to host 127.0.0.1:8447 ssl:<ssl.SSLContext object at 0x7fb25c330d40> [Connect call failed ('127.0.0.1', 8447)]