Syncing stuck on block 15999999 for 4 nodes on ethereum mainnet
System information
Erigon version: ./erigon --version
erigon version 2.37.0-stable-12419c75
OS & Version: Ubuntu 20.04
Commit hash: 12419c75
Erigon Command (with flags/config): /usr/sbin/erigon --bodies.cache=2G --chain=mainnet --datadir=/var/lib/erigon --downloader.disable.ipv6 --healthcheck --http.addr=XXXXXX --http.api=eth,erigon,web3,net,txpool,ots,debug,trace,admin,parity --http.corsdomain=XXXXXX --http.vhosts=XXXXXX --lightclient.discovery.addr=XXXXXX --metrics --nat extip:XXXXXX --private.api.addr=XXXXXX:9090 --torrent.download.rate 512mb --torrent.upload.rate 512mb --ws - --log.console.verbosity=dbug
Concensus Layer: built-in / internal
Concensus Layer Command (with flags/config): none
Chain/Network: ethereum mainnet / 1
Expected behaviour
eth_GetBlockByNumber("latest") follows HEAD, metrics shows all stages synced around HEAD
Actual behaviour
eth_GetBlockByNumber("latest") shows 15999999 in hex, metrics shows all stages synced at 15999999
Steps to reproduce the behaviour
Reproduced it on all my 4 Eth mainnet nodes Got at least 2 other people reproducing it (one on discord, one on 14999999 issue)
Backtrace
[backtrace]
Looks similar to https://github.com/ledgerwatch/erigon/issues/5531 which was on block 14999999
Metrics on all 4 stucked node :
sync{stage="account_history_index"} 15999999
sync{stage="block_hashes"} 15999999
sync{stage="bodies"} 15999999
sync{stage="call_traces"} 15999999
sync{stage="execution"} 15999999
sync{stage="finish"} 15999999
sync{stage="hash_state"} 15999999
sync{stage="headers"} 15999999
sync{stage="intermediate_hashes"} 15999999
sync{stage="log_index"} 15999999
sync{stage="senders"} 15999999
sync{stage="snapshots"} 15999999
sync{stage="storage_history_index"} 15999999
sync{stage="translation"} 0
sync{stage="tx_lookup"} 15999999
Here is a link valid for 30 days to download the debug log since startup : https://transfert.free.fr/KpE9Co
--downloader.verify=true enabled on all 4 nodes now, didn't change anything :
Feb 03 16:44:21 geth01-ethereum-mainnet-ovh erigon[3552092]: [INFO] [02-03|16:44:21.137] [Snapshots] Blocks Stat blocks=16000k indices=16000k alloc=2.9GB sys=5.8GB Feb 03 16:44:21 geth01-ethereum-mainnet-ovh erigon[3552092]: [INFO] [02-03|16:44:21.137] [1/16 Snapshots] DONE in=1m29.019953229s
Then again, everything but Consensus Layer stuck at 15999999
@SLoeuillet please let me know how to pass the downloading snapshots from erigon.
Downloading internal snapshot is paused on 2.37.0-stable-12419c75

@lovelyrrg51 open tcp + udp 42069 on your firewall
Great, it works! Thanks for your support. @SLoeuillet
Looks like ForkChoice change in 2.38.0 fixed that bug Feel free to close
I still got this bug
firewall is disable
and version is 2.38.0

Exactly the same. v2.39.0
@SLoeuillet I am running it on Kubernetes with nvme storage machines & using the latest stable image. I am also facing same issue.
[INFO] [03-01|07:39:31.413] [txpool] stat block=15999999 pending=0 baseFee=0 queued=9326 alloc=2.9GB sys=5.8GB
I still got this bug
firewall is disable and version is 2.38.0
It's not bug. after downloading block bodies, recovery, execute blocks, ... Your node will be normal sync.
Hey, @farhan-systango I recommend that will restart your kubenetes pod with kubectl restart command. Recently, I've tried to sync all eth mainnet(archive) with erigon on kubenetes.
Btw, you should be careful --snapshots flag when re-start your pod. It should be false.
@farhan-systango
Thanks @lovelyrrg51 After restarting it started syncing again..