erigontech / erigon

Ethereum implementation on the efficiency frontier https://erigon.gitbook.io
GNU Lesser General Public License v3.0
3.09k stars 1.08k forks source link

Polygon Erigon node Syncing issues #9666

Open HARISH1211998 opened 6 months ago

HARISH1211998 commented 6 months ago

I have downloaded Erigon v2.58.1 from GitHub and then compiled it. Afterwards, I downloaded the snapshot. curl -L https://snapshot-download.polygon.technology/snapdown.sh | bash -s -- --network erigon --client erigon --extract-dir /home/ubuntu --validate-checksum true

After downloading, 3.5TB of storage was occupied. Subsequently, I initiated my Erigon Polygon node, but encountered issues during the download process. Kindly advise on the troubleshooting steps required to resolve these issues. Additionally, could you please provide an estimate of the time required to complete the syncing process for the past two weeks? I've attempted to resolve this over the past two weeks, but haven't achieved successful synchronization yet.

DBUG[02-22|16:33:22.081] [txpool] Commit written_kb=0 in=9.772263ms DBUG[02-22|16:33:24.109] [downloader] file not downloaded yet name=v1-043500-044000-transactions.seg progress=0.00% INFO[02-22|16:33:24.150] [1/15 Snapshots] download progress="98.50% 660.1GB/670.2GB" download-time-left=999hrs:99m total-download-time=28h9m20s download=0B/s upload=0B/s INFO[02-22|16:33:24.150] [1/15 Snapshots] download peers=6 connections=13 files=264 alloc=378.6MB sys=807.8MB

HARISH1211998 commented 5 months ago

I am facing same Issues I have added the tag --downloader.verify ./build/bin/erigon --chain=bor-mainnet --bor.heimdall=https://heimdall-api.polygon.technology/ --datadir=/home/ubuntu/data --http.addr="0.0.0.0" --http.api=eth,web3,net,debug,trace,txpool --torrent.download.rate=512mb --downloader.verify However, even after adding it, I'm encountering the same issues. For your convenience, I've included a screenshot for reference.

Screenshot 2024-03-11 at 10 10 39 AM
AskAlexSharov commented 5 months ago

du -h datadir/snapshots? also check that 42069 is open for TCP & UDP: https://github.com/ledgerwatch/erigon?tab=readme-ov-file#default-ports-and-firewalls