You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
node register fails with http get errors (connection refused) #348
It seems I cannot register my node due to some http GETs failing:
rp --debug node register
To API:
/usr/local/bin/rocketpoold --settings /srv/rocketpool/user-settings.yml --maxFee 0.000000 --maxPrioFee 0.000000 --gasLimit 0 api service get-client-status
API Out:
{"status":"success","error":"","ecManagerStatus":{"primaryEcStatus":{"isWorking":true,"isSynced":true,"syncProgress":1,"networkId":1,"error":""},"fallbackEnabled":false,"fallbackEcStatus":{"isWorking":false,"isSynced":false,"syncProgress":0,"networkId":0,"error":""}},"bcManagerStatus":{"primaryEcStatus":{"isWorking":true,"isSynced":true,"syncProgress":1,"networkId":0,"error":""},"fallbackEnabled":false,"fallbackEcStatus":{"isWorking":false,"isSynced":false,"syncProgress":0,"networkId":0,"error":""}}}
Would you like to detect your timezone automatically? [y/n]
y
WARNING: couldn't query https://ipinfo.io/json/ for your timezone based on your IP address (Get "https://ipinfo.io/json/": dial tcp: lookup ipinfo.io on [::1]:53: read udp [::1]:52116->[::1]:53: read: connection refused).
Checking your system's timezone...
The detected timezone is 'Europe/Berlin', would you like to register using this timezone? [y/n]
y
To API:
/usr/local/bin/rocketpoold --settings /srv/rocketpool/user-settings.yml --ignore-sync-check --maxFee 0.000000 --maxPrioFee 0.000000 --gasLimit 0 api node can-register Europe/Berlin
API Out:
{"status":"success","error":"","canRegister":true,"alreadyRegistered":false,"registrationDisabled":false,"gasInfo":{"estGasLimit":338994,"safeGasLimit":508491}}
Warning: couldn't get gas estimates from Etherchain - Get "https://beaconcha.in/api/v1/execution/gasnow": dial tcp: lookup beaconcha.in on [::1]:53: read udp [::1]:39453->[::1]:53: read: connection refused
Falling back to Etherscan
Error getting gas price suggestions: Get "https://api.etherscan.io/api?module=gastracker&action=gasoracle": dial tcp: lookup api.etherscan.io on [::1]:53: read udp [::1]:55262->[::1]:53: read: connection refused
Note that this already happens when guessing the timezone. I can manually curl the URLs just fine (from the same machine & user). I am running the native client (no docker). Any help appreciated.
Activity
j4cko commentedon Apr 18, 2023
One can explicitly set the gas, adding
--maxFeeto the call. This prevents thehttp.Get.For example, using curl instead:
(this will get the gas price only once when sourcing / setting the alias)
crg-n commentedon Apr 27, 2023
Identical issues for me. Errors with connection refused when trying to register. Fails for both beaconcha.in and the fallback etherscan.
crg-n commentedon Apr 27, 2023
An alternative to the alias solution you suggest would be using the flag to set a fee as specified here:
https://docs.rocketpool.net/guides/node/cli-intro.html#setting-a-custom-max-fee-or-priority-fee-gas-price
So to register using 45 GWei you could use:
rocketpool -f 45 node registerNot sure what is causing the underlying issue with the http GETs.