stereum-dev / ethereum-node

Run an Ethereum node, solo stake ETH and connect dApps to your server with Stereum Ethereum Node Setup & Manager!
https://www.stereum.com/?utm_source=github&utm_medium=stereum-repo&utm_id=0
MIT License
111 stars 38 forks source link

[Bug]: EC stays "ON HOLD" but log shows syncing #1274

Closed daverolo closed 1 year ago

daverolo commented 1 year ago

Describe the bug!

Execution client (EC) stays "ON HOLD" in the SyncStatus Widget, despite logs looking good. This is similar to #1236 but affects only EC. A workaround should be possible in this case.

Attach a Screenshot!

Current View

grafik grafik

Expected View

grafik

Expected Behaviour

The sync component works as intended and shows the current sync status. If the EC does not report stats properly to Prometheus, show at least that a sync is in progress.

Help us reproduce your bug!

  1. Install A Node
  2. Go to Control Page
  3. Check SyncStatus Dashboard Component
  4. Check Logs of EC syncing

Launcher Version

2.0.0-rc.18

Desktop OS

All

Node Server OS

Ubuntu 22.04

Affected Service

Geth, Nethermind, Erigon

Relevant log output

No response

Acknowledgment

daverolo commented 1 year ago

As mentioned in #1236, the client does not report stats to Prometheus and therefore it stays "ON HOLD". However, the workaround for the EC is to query the head block from the CC Beacon API and the current block from the EC RPC API. Note that it also can take some time until the EC does report the current block via RPC.