Skip to content
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

Running Polygon archive node issues #13746

Closed
zhy827827 opened this issue Feb 8, 2025 · 15 comments
Closed

Running Polygon archive node issues #13746

zhy827827 opened this issue Feb 8, 2025 · 15 comments
Assignees

Comments

@zhy827827
Copy link

zhy827827 commented Feb 8, 2025

System information

Erigon version: ./erigon --version

3.00.0-beta1-0b94461f

!!! polygon sync crashed - stopping node     err="pos sync failed: unexpected last entity not available"

Feb 08 04:08:07 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [INFO] [02-08|04:08:07.946] Timings (slower than 50ms)               OtterSync=3.544s alloc=17.8GB sys=18.4GB
Feb 08 04:08:07 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [INFO] [02-08|04:08:07.946] [bor.heimdall] running scraper component name=checkpoints
Feb 08 04:08:07 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [INFO] [02-08|04:08:07.947] [sync] replaying post initial blocks for bridge store to fill gap with execution start=67512993 end=67512999 blocks=7
Feb 08 04:08:07 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [INFO] [02-08|04:08:07.947] [sync] running sync component
Feb 08 04:08:07 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [INFO] [02-08|04:08:07.947] [bor.heimdall] synchronizing checkpoints...
Feb 08 04:08:09 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [INFO] [02-08|04:08:09.197] [sync] checkpoint sync finished          tip=67512999 time=1s blocks=0 blk/sec=0
Feb 08 04:08:09 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [INFO] [02-08|04:08:09.197] [bor.heimdall] synchronizing milestones...
Feb 08 04:08:12 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [EROR] [02-08|04:08:12.197] polygon sync crashed - stopping node     err="pos sync failed: unexpected last entity not available"
Feb 08 04:08:12 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [INFO] [02-08|04:08:12.198] Exiting...
Feb 08 04:08:12 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [INFO] [02-08|04:08:12.198] HTTP endpoint closed                     url=[::]:8545
Feb 08 04:08:12 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [INFO] [02-08|04:08:12.198] HTTP endpoint closed                     url=[::]:8546
Feb 08 04:08:12 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [INFO] [02-08|04:08:12.198] RPC server shutting down
Feb 08 04:08:12 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [INFO] [02-08|04:08:12.198] [snapshots] stopping downloader          files=7185
Feb 08 04:08:12 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [EROR] [02-08|04:08:12.200] txPool.Run error                         err="context canceled"
Feb 08 04:08:13 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [INFO] [02-08|04:08:13.798] [snapshots] closing torrents
Feb 08 04:08:14 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [INFO] [02-08|04:08:14.773] [snapshots] closing db
Feb 08 04:08:14 rockx-mainnet-polygon-archive-mm-02 erigon[371539]: [INFO] [02-08|04:08:14.773] [snapshots] downloader stopped

Can't start polygon archive node

@taratorio
Copy link
Member

taratorio commented Feb 9, 2025

did you update to 3.00.0-beta1-0b94461f from an older version of erigon?
or did you start a fresh sync from scratch?
can you share your full cmd you used to start erigon?
also can you share your full log file?

@zhy827827
Copy link
Author

CMD:
/home/ubuntu/erigon/build/bin/erigon --datadir=/opt/rockx/polygondata --chain=bor-mainnet --prune.mode archive --db.pagesize=16k --torrent.download.rate=512mb --torrent.upload.rate=10mb --private.api.addr=0.0.0.0:9090 --http.api eth,erigon,web3,net,debug,trace,txpool --ws --ws.compression --http.addr=0.0.0.0 --http.corsdomain * --http.vhosts * --rpc.gascap 300000000 --private.api.addr=127.0.0.1:9099

An error occurred after downloading the snapshot

full logs:

Feb 08 19:09:07 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:09:07.403] [1/1 OtterSync] Downloading              progress="(7185/7185 files) 99.92% - 4.8TB/4.8TB" time-left=0hrs:0m total-time=13h0m0s download-rate=107.3MB/s completion-rate=107.2MB/s alloc=4.4GB sys=20.7GB
Feb 08 19:09:07 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:09:07.403] [p2p] GoodPeers                          eth67=44 eth68=67
Feb 08 19:09:07 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:09:07.446] [txpool] stat                            pending=0 baseFee=0 queued=0 alloc=4.4GB sys=20.7GB
Feb 08 19:09:11 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:09:11.041] [mem] memory stats                       Rss=26.4GB Size=0B Pss=26.4GB SharedClean=808.0KB SharedDirty=0B PrivateClean=17.3GB PrivateDirty=9.1GB Referenced=26.2GB Anonymous=9.0GB Swap=0B alloc=5.7GB sys=20.7GB
Feb 08 19:09:27 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:09:27.403] [1/1 OtterSync] Downloading              progress="(7185/7185 files) 99.96% - 4.8TB/4.8TB" time-left=0hrs:0m total-time=13h0m20s download-rate=108.0MB/s completion-rate=108.2MB/s alloc=4.3GB sys=20.7GB
Feb 08 19:09:47 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:09:47.403] [1/1 OtterSync] Downloading              progress="(7185/7185 files) 100.00% - 4.8TB/4.8TB" time-left=0hrs:0m total-time=13h0m40s download-rate=88.3MB/s completion-rate=88.4MB/s alloc=5.1GB sys=20.7GB
Feb 08 19:10:07 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:10:07.403] [1/1 OtterSync] Downloading              progress="(7185/7185 files) 100.00% - 4.8TB/4.8TB" time-left=0hrs:0m total-time=13h1m0s download-rate=307.2KB/s completion-rate=307.2KB/s alloc=5.8GB sys=20.7GB
Feb 08 19:10:27 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:10:27.403] [1/1 OtterSync] Downloading              progress="(7185/7185 files) 100.00% - 4.8TB/4.8TB" time-left=0hrs:0m total-time=13h1m20s download-rate=512.0KB/s completion-rate=512.0KB/s alloc=3.3GB sys=20.7GB
Feb 08 19:10:47 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:10:47.402] [1/1 OtterSync] Downloading complete     time=13h1m39.953046479s
Feb 08 19:11:21 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:11:21.811] [1/1 OtterSync] Total difficulty index: 6.57M/67.51M
Feb 08 19:11:51 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:11:51.811] [1/1 OtterSync] Total difficulty index: 12.42M/67.51M
Feb 08 19:12:07 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:12:07.403] [p2p] GoodPeers                          eth68=67 eth67=44
Feb 08 19:12:07 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:12:07.725] [txpool] stat                            pending=108 baseFee=0 queued=2791 alloc=19.5GB sys=32.7GB
Feb 08 19:12:10 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:12:10.944] [mem] memory stats                       Rss=48.5GB Size=0B Pss=48.5GB SharedClean=808.0KB SharedDirty=0B PrivateClean=15.9GB PrivateDirty=32.6GB Referenced=47.8GB Anonymous=32.6GB Swap=0B alloc=20.8GB sys=32.7GB
Feb 08 19:12:21 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:12:21.811] [1/1 OtterSync] Total difficulty index: 19.48M/67.51M
Feb 08 19:12:51 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:12:51.811] [1/1 OtterSync] Total difficulty index: 27.42M/67.51M
Feb 08 19:13:21 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:13:21.812] [1/1 OtterSync] Total difficulty index: 35.25M/67.51M
Feb 08 19:13:51 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:13:51.811] [1/1 OtterSync] Total difficulty index: 42.79M/67.51M
Feb 08 19:14:21 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:14:21.811] [1/1 OtterSync] Total difficulty index: 50.32M/67.51M
Feb 08 19:14:51 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:14:51.811] [1/1 OtterSync] Total difficulty index: 57.02M/67.51M
Feb 08 19:15:07 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:15:07.403] [p2p] GoodPeers                          eth68=67 eth67=44
Feb 08 19:15:07 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:15:07.447] [txpool] stat                            pending=795 baseFee=0 queued=8205 alloc=30.0GB sys=33.2GB
Feb 08 19:15:11 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:15:11.420] [mem] memory stats                       Rss=48.5GB Size=0B Pss=48.5GB SharedClean=776.0KB SharedDirty=0B PrivateClean=15.3GB PrivateDirty=33.3GB Referenced=47.6GB Anonymous=33.3GB Swap=0B alloc=16.0GB sys=33.2GB
Feb 08 19:15:21 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:15:21.811] [1/1 OtterSync] Total difficulty index: 62.60M/67.51M
Feb 08 19:15:51 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:15:51.811] [1/1 OtterSync] MaxTxNums index: 8.48M/67.51M
Feb 08 19:16:21 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:16:21.811] [1/1 OtterSync] MaxTxNums index: 60.60M/67.51M
Feb 08 19:16:26 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:16:26.263] [snapshots:download] Stat                blocks=67.51M indices=67.51M alloc=19.2GB sys=33.5GB
Feb 08 19:16:26 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:16:26.271] [snapshots:history] Stat                 blocks=67.50M txs=5.00B txNum2blockNum="2048=49361K,3072=65048K,3200=67421K,3204=67490K,3205=67506K" first_history_idx_in_db=0 last_comitment_block=67506887 last_comitment_tx_num=5007812500 alloc>
Feb 08 19:16:26 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:16:26.278] [1/1 OtterSync] DONE                     in=13h7m18.831874301s block=67512999
Feb 08 19:16:26 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:16:26.279] [bridge] running bridge service component lastFetchedEventId=3016988 lastProcessedEventId=3016988 lastProcessedBlockNum=67512992 lastProcessedBlockTime=0
Feb 08 19:16:26 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:16:26.280] [sync] replaying post initial blocks for bridge store to fill gap with execution start=67512993 end=67512999 blocks=7
Feb 08 19:16:26 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:16:26.280] [sync] running sync component
Feb 08 19:16:26 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:16:26.280] [bor.heimdall] synchronizing checkpoints...
Feb 08 19:16:26 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:16:26.292] Timings (slower than 50ms)               OtterSync=13h7m18.831s alloc=19.2GB sys=33.5GB
Feb 08 19:16:46 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:16:46.543] [bor.heimdall] running span block producers tracker component
Feb 08 19:16:46 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:16:46.543] [bor.heimdall] running scraper component name=milestones
Feb 08 19:16:46 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:16:46.543] [bor.heimdall] running scraper component name=checkpoints
Feb 08 19:16:46 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:16:46.543] [bor.heimdall] running scraper component name=spans
Feb 08 19:17:09 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:17:09.270] [sync] checkpoint sync finished          tip=67512999 time=42s blocks=0 blk/sec=0
Feb 08 19:17:09 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:17:09.270] [bor.heimdall] synchronizing milestones...
Feb 08 19:17:12 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [EROR] [02-08|19:17:12.273] polygon sync crashed - stopping node     err="pos sync failed: unexpected last entity not available"
Feb 08 19:17:12 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:17:12.273] [snapshots] stopping downloader          files=7185
Feb 08 19:17:12 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:17:12.273] Exiting...
Feb 08 19:17:12 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:17:12.273] [snapshots] closing torrents
Feb 08 19:17:12 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:17:12.274] HTTP endpoint closed                     url=[::]:8545
Feb 08 19:17:12 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:17:12.274] HTTP endpoint closed                     url=[::]:8546
Feb 08 19:17:12 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:17:12.274] RPC server shutting down
Feb 08 19:17:12 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [EROR] [02-08|19:17:12.337] txPool.Run error                         err="context canceled"
Feb 08 19:17:14 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:17:14.127] [snapshots] closing db
Feb 08 19:17:14 rockx-mainnet-polygon-archive-mm-02 erigon[404112]: [INFO] [02-08|19:17:14.128] [snapshots] downloader stopped
lines 946-1000/1000 (END)

@taratorio
Copy link
Member

Can you try latest main?

@zhy827827
Copy link
Author

Is there a new version submitted?

@zhy827827
Copy link
Author

[email protected]:30303 name=erigon/v3.00.0-beta1-5417b3ca/linux-amd64/go1.22.6
Feb 10 08:49:42 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:42.481] [1/1 OtterSync] Requesting downloads
Feb 10 08:49:45 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:45.744] [snapshots:download] Stat                blocks=67.51M indices=67.51M alloc=16.8GB sys=18.4GB
Feb 10 08:49:45 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:45.745] [snapshots:history] Stat                 blocks=67.50M txs=5.00B txNum2blockNum="2048=49361K,3072=65048K,3200=67421K,3204=67490K,3205=67506K" first_history_idx_in_db=0 last_comitment_block=67506887 last_comitment_tx_num=5007812500 alloc=16.8GB sys=18.4GB
Feb 10 08:49:45 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:45.745] Timings (slower than 50ms)               OtterSync=4.018s alloc=16.8GB sys=18.4GB
Feb 10 08:49:45 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:45.745] [bor.heimdall] running scraper component name=milestones
Feb 10 08:49:45 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:45.745] [bridge] running bridge service component lastFetchedEventId=3016988 lastProcessedEventId=3016988 lastProcessedBlockNum=67512992 lastProcessedBlockTime=0
Feb 10 08:49:45 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:45.745] [bor.heimdall] running span block producers tracker component
Feb 10 08:49:45 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:45.745] [bor.heimdall] running scraper component name=checkpoints
Feb 10 08:49:45 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:45.745] [bor.heimdall] running scraper component name=spans
Feb 10 08:49:45 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:45.745] [sync] replaying post initial blocks for bridge store to fill gap with execution start=67512993 end=67512999 blocks=7
Feb 10 08:49:45 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:45.745] [sync] running sync component
Feb 10 08:49:45 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:45.745] [bor.heimdall] synchronizing checkpoints...
Feb 10 08:49:45 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:45.746] [sync] checkpoint sync finished          tip=67512999 time=0 blocks=0 blk/sec=0
Feb 10 08:49:45 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:45.746] [bor.heimdall] synchronizing milestones...
Feb 10 08:49:50 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:50.158] [sync] sync service component stopped
Feb 10 08:49:50 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [EROR] [02-10|08:49:50.158] polygon sync crashed - stopping node     err="pos sync failed: unexpected last entity not available"
Feb 10 08:49:50 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:50.158] polygon sync goroutine terminated
Feb 10 08:49:50 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:50.158] Exiting...
Feb 10 08:49:50 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:50.158] HTTP endpoint closed                     url=[::]:8545
Feb 10 08:49:50 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:50.158] HTTP endpoint closed                     url=[::]:8546
Feb 10 08:49:50 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:50.158] RPC server shutting down
Feb 10 08:49:50 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:50.158] [snapshots] stopping downloader          files=7185
Feb 10 08:49:50 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:50.160] [txpool] stopped
Feb 10 08:49:50 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:50.160] devp2p txn pool goroutine terminated
Feb 10 08:49:52 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:52.453] [snapshots] closing torrents
Feb 10 08:49:53 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:53.539] [snapshots] closing db
Feb 10 08:49:53 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [INFO] [02-10|08:49:53.539] [snapshots] downloader stopped
Feb 10 08:49:54 rockx-mainnet-polygon-archive-mm-02 erigon[448591]: [EROR] [02-10|08:49:54.251] background component error               err="pos sync failed: unexpected last entity not available"
Feb 10 08:49:56 rockx-mainnet-polygon-archive-mm-02 erigon[448617]: [INFO] [02-10|08:49:56.044] logging to file system                   log dir=/opt/rockx/polygondata/logs file prefix=erigon log level=info json=false
Feb 10 08:49:56 rockx-mainnet-polygon-archive-mm-02 erigon[448617]: [INFO] [02-10|08:49:56.045] Build info                               git_branch=main git_tag=v3.0.0-beta1-126-g5417b3c git_commit=5417b3ca240aecdc1f1ced16f042a9891a37826a
Feb 10 08:49:56 rockx-mainnet-polygon-archive-mm-02 erigon[448617]: [INFO] [02-10|08:49:56.045]

@zhy827827
Copy link
Author

zhy827827 commented Feb 10, 2025

erigon version 3.00.0-beta1-5417b3ca

same issues~

@taratorio
Copy link
Member

@zhy827827 oh I just noticed something - you haven't specified --bor.heimdall flag (it is the URL for your heimdall service). By default it is set to http://localhost:1317. Do you have a local heimdall process running at that port?

@taratorio taratorio self-assigned this Feb 10, 2025
@zhy827827
Copy link
Author

zhy827827 commented Feb 11, 2025

Yes.I have heimdall local deployed .

{
  "jsonrpc": "2.0",
  "id": "",
  "result": {
    "node_info": {
      "protocol_version": {
        "p2p": "7",
        "block": "10",
        "app": "0"
      },
      "id": "c57b8de91b93b135d778b271ba94bc0594fb458e",
      "listen_addr": "tcp://0.0.0.0:26656",
      "network": "heimdall-137",
      "version": "0.32.7",
      "channels": "4020212223303800",
      "moniker": "rockx-mainnet-polygon-ovh-node-04",
      "other": {
        "tx_index": "on",
        "rpc_address": "tcp://127.0.0.1:26657"
      }
    },
    "sync_info": {
      "latest_block_hash": "2BEFF1E31CE55D427E7762BA127F81F0BF680A2B04CB15F60736ADF5D392F715",
      "latest_app_hash": "5CC70656A61E01A683122FEB8E654F512C17E68938E12B2151B5863428DCA04E",
      "latest_block_height": "22368330",
      "latest_block_time": "2025-02-11T10:03:28.61884836Z",
      "catching_up": false
    },
    "validator_info": {
      "address": "81CC98DCF77D57EB2C113F6E214BE96E60D47B68",
      "pub_key": {
        "type": "tendermint/PubKeySecp256k1",
        "value": "BP4O5O3AtR0Jjsd8nIKbXJn/h/qKtBALVUSWEPau1mQzM0OD7YPktMr+e+qBNOrFEF8SXVaVAZdPM6dJyTggYbY="
      },
      "voting_power": "0"
    }
  }
}

@taratorio
Copy link
Member

@zhy827827 this issue happens when your local heimdalld process is either not syncing or is quite behind (in the process of reaching the tip of the heimdall chain). Another user experienced the same problem (discussion on discord is here). We can probably add a better error message in Erigon for this, but for now the issue can be resolved if you fix your local heimdalld instance.

To check its sync status, you can try the below commands - what's their output?

  1. curl http://localhost:1317/status
  2. curl http://localhost:1317/checkpoints/count
  3. curl http://localhost:1317/milestone/latest
  4. curl http://localhost:1317/bor/latest-span

Also check your heimdalld process log for any errors using journalctl -fu heimdalld.service. That should give you some insight.

@taratorio
Copy link
Member

@zhy827827 - I see you've just updated with output of /status. What about /checkpoints/count, /milestone/latest, /bor/latest-span?

@zhy827827
Copy link
Author

I replaced the Heimdall node, and now it looks normal.thank you very much!

@zhy827827
Copy link
Author

zhy827827 commented Feb 11, 2025

my local Heimdall version is very old. 🥲

@taratorio
Copy link
Member

taratorio commented Feb 11, 2025

ok great. happy to hear we figured it out - a follow up for erigon is to detect your heimdall is old/behind (using /status endpoint) and wait for it to sync while issueing warnings in the logs

@taratorio
Copy link
Member

taratorio commented Feb 12, 2025

I replaced the Heimdall node, and now it looks normal.thank you very much!

@zhy827827 hey, how did you replace it? did you use heimdalld v1.2.0 snapshot from https://publicnode.com/snapshots#polygon or somewhere else? asking because another user has same issue - their heimdalld isn't good

@taratorio
Copy link
Member

for future reference: https://publicnode.com/snapshots#polygon did the job

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants