Updated from last release to current release.
lighthouse b --testnet medalla --purge-db without any issues and stopped https://github.com/sigp/lighthouse/releases/tag/v0.3.0
Oct 09 16:01:35 ethereum lighthouse[158557]: Oct 09 16:01:35.011 WARN Error processing HTTP API request method: GET, path: /beacon/head, status: 405 Method Not Allowed, elapsed: 165.665碌s
Oct 09 16:01:35 ethereum lighthouse[158557]: Oct 09 16:01:35.192 WARN Error processing HTTP API request method: GET, path: /network/peers, status: 405 Method Not Allowed, elapsed: 93.683碌s
Oct 09 16:01:36 ethereum lighthouse[158557]: Oct 09 16:01:36.012 WARN Error processing HTTP API request method: GET, path: /beacon/head, status: 405 Method Not Allowed, elapsed: 91.571碌s
Oct 09 16:01:37 ethereum lighthouse[158557]: Oct 09 16:01:37.013 WARN Error processing HTTP API request method: GET, path: /beacon/head, status: 405 Method Not Allowed, elapsed: 125.442碌s
Oct 09 16:01:38 ethereum lighthouse[158557]: Oct 09 16:01:38.000 INFO Syncing est_time: 12 hrs 22 mins, speed: 10.67 slots/sec, distance: 474995 slots (9 weeks 2 days), peers>
Oct 09 16:01:38 ethereum lighthouse[158557]: Oct 09 16:01:38.014 WARN Error processing HTTP API request method: GET, path: /beacon/head, status: 405 Method Not Allowed, elapsed: 112.175碌s
Check for outdated gRPC connections (i.e. eth2stats-client)
@ChuckNorrison are you running the beacon node with --staking flag?
What command are you using to run the validator client?
i do not use --stacking
Validators are running with:
lighthouse vc --testnet medalla --debug-level info --secrets-dir /home/xxx/.lighthouse/medalla/secrets --datadir /home/xxx/.lighthouse/medalla
--datadir gets replaced with --validators-dir on 0.3.0
You need to run the beacon node with the --staking flag to enable the http server. You are getting those errors because you don't have a http server running on the beacon node. Your validator command is correct.
and why --http exists?
This --stacking flag is not documented in release notes to set to make upgrade work.
--staking is an alias for --http --eth1. Those are the 2 flags you need to run a staking validator which is what it seems that you want to do.
--staking was introduced in an earlier release https://github.com/sigp/lighthouse/releases/tag/v0.2.12.
whats wrong with this:
lighthouse beacon_node --testnet medalla --http --eth1-endpoint http://m.y.i.p:8545 --datadir /home/xxx/.lighthouse/medalla
This should work too.
and it doesnt anymore after upgrade 0.3.0.
After downgrade 0.2.13 i got a new error #1757 even if i use purge-db
// This error got solved with a beacon service restart. Iam running on 0.2.13 again and ready to upgrade to 0.3.0. I will give it a try if this issue could be explained in some way.
@ChuckNorrison those logs indicate something is querying your node with the old API. If you are running an eth2stats clients, you should update it.
Ok that true, iam running eth2stats docker client as third gRPC connection.
I will try to upgrade 0.3.0 again.
//edit: updated and syncing on 0.3.0, thanks.
Glad you got v0.3 working! I'll close this now as it's related to eth2stats rather than Lighthouse itself.