-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] farmer-only connect to incorrect full node host #16164
Comments
When updating to 2.0.0 did you have a new config created for each device and also run the More info: https://github.com/Chia-Network/chia-blockchain/wiki/Farming-on-many-machines#setup-steps |
I stop the service remove all the previous config and use the config-init.yml from the source code for farmer-only and full node service. From the error it's looks like the farmer not connecting to the correct full node. I will need to test on specific pc, is there a public full node available for testing ? |
This is basically a duplicate of #9615 The behavior is slightly worse now, but the basic issue is the same. Closing as duplicate. |
Before 2.0, even if no local full node was present, `chia farm summary` would still show useful information: $ chia farm summary Farming status: Not available Local Harvester 1 plots of size: 101.320 GiB on-disk, 101.400 GiBe (effective) Plot count for all harvesters: 1 Total size of plots: 101.320 GiB, 101.400 GiBe (effective) Estimated network space: Unknown Expected time to win: Unknown For details on farmed rewards and fees you should run 'chia start wallet' and 'chia wallet show' However, since 2.0, that is no longer the case. `chia farm summary` simply aborts with an exception: $ chia farm summary Error: Connection error: ClientConnectorError: Cannot connect to host localhost:8555 ssl:<ssl.SSLContext object at 0x7fe0edd533c0> [Connect call failed ('127.0.0.1', 8555)] Check if full node rpc is running at 8555 This is normal if full node is still starting up This fixes this particular regression which is rather annoying for farmers farming to a remote node. Fixes Chia-Network#16164. Related to issue Chia-Network#9615, but that issue is wider in scope.
Before 2.0, even if no local full node was present, `chia farm summary` would still show useful information: $ chia farm summary Farming status: Not available Local Harvester 1 plots of size: 101.320 GiB on-disk, 101.400 GiBe (effective) Plot count for all harvesters: 1 Total size of plots: 101.320 GiB, 101.400 GiBe (effective) Estimated network space: Unknown Expected time to win: Unknown For details on farmed rewards and fees you should run 'chia start wallet' and 'chia wallet show' However, since 2.0, that is no longer the case. `chia farm summary` simply aborts with an exception: $ chia farm summary Error: Connection error: ClientConnectorError: Cannot connect to host localhost:8555 ssl:<ssl.SSLContext object at 0x7fe0edd533c0> [Connect call failed ('127.0.0.1', 8555)] Check if full node rpc is running at 8555 This is normal if full node is still starting up This fixes this particular regression which is rather annoying for farmers farming to a remote node. Fixes Chia-Network#16164. Related to issue Chia-Network#9615, but that issue is wider in scope.
Before 2.0, even if no local full node was present, `chia farm summary` would still show useful information: $ chia farm summary Farming status: Not available Local Harvester 1 plots of size: 101.320 GiB on-disk, 101.400 GiBe (effective) Plot count for all harvesters: 1 Total size of plots: 101.320 GiB, 101.400 GiBe (effective) Estimated network space: Unknown Expected time to win: Unknown For details on farmed rewards and fees you should run 'chia start wallet' and 'chia wallet show' However, since 2.0, that is no longer the case. `chia farm summary` simply aborts with an exception: $ chia farm summary Error: Connection error: ClientConnectorError: Cannot connect to host localhost:8555 ssl:<ssl.SSLContext object at 0x7fe0edd533c0> [Connect call failed ('127.0.0.1', 8555)] Check if full node rpc is running at 8555 This is normal if full node is still starting up This fixes this particular regression which is rather annoying for farmers farming to a remote node. Fixes Chia-Network#16164. Related to issue Chia-Network#9615, but that issue is wider in scope.
Before 2.0, even if no local full node was present, `chia farm summary` would still show useful information: $ chia farm summary Farming status: Not available Local Harvester 1 plots of size: 101.320 GiB on-disk, 101.400 GiBe (effective) Plot count for all harvesters: 1 Total size of plots: 101.320 GiB, 101.400 GiBe (effective) Estimated network space: Unknown Expected time to win: Unknown For details on farmed rewards and fees you should run 'chia start wallet' and 'chia wallet show' However, since 2.0, that is no longer the case. `chia farm summary` simply aborts with an exception: $ chia farm summary Error: Connection error: ClientConnectorError: Cannot connect to host localhost:8555 ssl:<ssl.SSLContext object at 0x7fe0edd533c0> [Connect call failed ('127.0.0.1', 8555)] Check if full node rpc is running at 8555 This is normal if full node is still starting up This fixes this particular regression which is rather annoying for farmers farming to a remote node. Fixes Chia-Network#16164. Related to issue Chia-Network#9615, but that issue is wider in scope.
Before 2.0, even if no local full node was present, `chia farm summary` would still show useful information: $ chia farm summary Farming status: Not available Local Harvester 1 plots of size: 101.320 GiB on-disk, 101.400 GiBe (effective) Plot count for all harvesters: 1 Total size of plots: 101.320 GiB, 101.400 GiBe (effective) Estimated network space: Unknown Expected time to win: Unknown For details on farmed rewards and fees you should run 'chia start wallet' and 'chia wallet show' However, since 2.0, that is no longer the case. `chia farm summary` simply aborts with an exception: $ chia farm summary Error: Connection error: ClientConnectorError: Cannot connect to host localhost:8555 ssl:<ssl.SSLContext object at 0x7fe0edd533c0> [Connect call failed ('127.0.0.1', 8555)] Check if full node rpc is running at 8555 This is normal if full node is still starting up This fixes this particular regression which is rather annoying for farmers farming to a remote node. Fixes Chia-Network#16164. Related to issue Chia-Network#9615, but that issue is wider in scope.
Before 2.0, even if no local full node was present, `chia farm summary` would still show useful information: $ chia farm summary Farming status: Not available Local Harvester 1 plots of size: 101.320 GiB on-disk, 101.400 GiBe (effective) Plot count for all harvesters: 1 Total size of plots: 101.320 GiB, 101.400 GiBe (effective) Estimated network space: Unknown Expected time to win: Unknown For details on farmed rewards and fees you should run 'chia start wallet' and 'chia wallet show' However, since 2.0, that is no longer the case. `chia farm summary` simply aborts with an exception: $ chia farm summary Error: Connection error: ClientConnectorError: Cannot connect to host localhost:8555 ssl:<ssl.SSLContext object at 0x7fe0edd533c0> [Connect call failed ('127.0.0.1', 8555)] Check if full node rpc is running at 8555 This is normal if full node is still starting up This fixes this particular regression which is rather annoying for farmers farming to a remote node. Fixes Chia-Network#16164. Related to issue Chia-Network#9615, but that issue is wider in scope.
…16387) * Fix `chia farm summary` aborting early if no local full node present Before 2.0, even if no local full node was present, `chia farm summary` would still show useful information: $ chia farm summary Farming status: Not available Local Harvester 1 plots of size: 101.320 GiB on-disk, 101.400 GiBe (effective) Plot count for all harvesters: 1 Total size of plots: 101.320 GiB, 101.400 GiBe (effective) Estimated network space: Unknown Expected time to win: Unknown For details on farmed rewards and fees you should run 'chia start wallet' and 'chia wallet show' However, since 2.0, that is no longer the case. `chia farm summary` simply aborts with an exception: $ chia farm summary Error: Connection error: ClientConnectorError: Cannot connect to host localhost:8555 ssl:<ssl.SSLContext object at 0x7fe0edd533c0> [Connect call failed ('127.0.0.1', 8555)] Check if full node rpc is running at 8555 This is normal if full node is still starting up This fixes this particular regression which is rather annoying for farmers farming to a remote node. Fixes #16164. Related to issue #9615, but that issue is wider in scope. * Improve exception reporting for `chia farm summary` With this change, only the exceptions when failing to connect to a local full node and/or wallet are suppressed, as these cases are already properly handled by adjusted command output. Any other exception is printed to stderr.
What happened?
Hi on 2.0.0 when calling chia farm summary, it connect to incorrect host.
My setup is
Using config from https://github.com/Chia-Network/chia-blockchain/blob/main/chia/util/initial-config.yaml
I set the
farmer.full_node_peer
to full_node vps ip, the rest of host is to 127.0.0.1 ("localhost" doesn't work inside docker), but somehow it still call 127.0.0.1 instead of full_node vps ip.Also while Farmer produce correct log, but in pool it's not detecting the space ( reduce to 0 )
Log according to wiki , currently the last one does not appear in the log
been using this setup since 1.6
All chia version already bump to 2.0.0
node is full synced
plot are normal k32 plot, no compression. Any tweak require for harvester ?
Version
2.0.0
What platform are you using?
Linux
What ui mode are you using?
CLI
Relevant log output
The text was updated successfully, but these errors were encountered: