erigon
erigon copied to clipboard
ipv6 only support ?
Hi,
I try to setup erigon on a ipv6 only vm, and I wonder if it's even possible. I start erigon with :
erigon --prune htc --datadir=/opt/ethereum/erigon --torrent.download.rate 1000mb
From what I understand, the snapshot was downloaded, but now it seems the process is stuck. Here the logs that are repeated :
INFO[08-07|03:27:46.189] Req/resp stats req=0 reqMin=0 reqMax=0 skel=0 skelMin=0 skelMax=0 resp=0 respMin=0 respMax=0 dups=0
INFO[08-07|03:27:46.189] Queue sizes anchors=0 links=0 persisted=65536
INFO[08-07|03:28:06.190] [1/16 Headers] Wrote block headers number=14999999 blk/second=0.000 alloc=2.1GB sys=3.0GB
INFO[08-07|03:28:06.190] Req/resp stats req=0 reqMin=0 reqMax=0 skel=0 skelMin=0 skelMax=0 resp=0 respMin=0 respMax=0 dups=0
INFO[08-07|03:28:06.190] Queue sizes anchors=0 links=0 persisted=65536
INFO[08-07|03:28:26.190] [1/16 Headers] Wrote block headers number=14999999 blk/second=0.000 alloc=2.1GB sys=3.0GB
INFO[08-07|03:28:26.190] Req/resp stats req=0 reqMin=0 reqMax=0 skel=0 skelMin=0 skelMax=0 resp=0 respMin=0 respMax=0 dups=0
INFO[08-07|03:28:26.190] Queue sizes anchors=0 links=0 persisted=65536
INFO[08-07|03:28:45.670] [txpool] stat block=14999999 pending=0 baseFee=0 queued=0 alloc=2.1GB sys=3.0GB
INFO[08-07|03:28:46.189] [1/16 Headers] Wrote block headers number=14999999 blk/second=0.000 alloc=2.1GB sys=3.0GB
INFO[08-07|03:28:46.189] Req/resp stats req=0 reqMin=0 reqMax=0 skel=0 skelMin=0 skelMax=0 resp=0 respMin=0 respMax=0 dups=0
INFO[08-07|03:28:46.189] Queue sizes anchors=0 links=0 persisted=65536
INFO[08-07|03:29:06.190] [1/16 Headers] Wrote block headers number=14999999 blk/second=0.000 alloc=2.2GB sys=3.0GB
INFO[08-07|03:29:06.190] Req/resp stats req=0 reqMin=0 reqMax=0 skel=0 skelMin=0 skelMax=0 resp=0 respMin=0 respMax=0 dups=0
INFO[08-07|03:29:06.190] Queue sizes anchors=0 links=0 persisted=65536
INFO[08-07|03:29:26.190] [1/16 Headers] Wrote block headers number=14999999 blk/second=0.000 alloc=2.2GB sys=3.0GB
INFO[08-07|03:29:26.190] Req/resp stats req=0 reqMin=0 reqMax=0 skel=0 skelMin=0 skelMax=0 resp=0 respMin=0 respMax=0 dups=0
I tried to add my external ipv6 with the flag --nat extip:xxxx:xxxx:xxxx:xxxx::x, but I'm still stuck with the same logs.
Any idea ? Is it even possible to run erigon on a ipv6 only system ?
Thanks.
Show erigon’t startup logs
INFO[08-07|08:35:02.227] Build info git_branch=devel git_tag=v2021.10.03-1609-ga481b7748 git_commit=a481b774896b0a013faab3d2983f74f03c1940f9
INFO[08-07|08:35:02.227] Starting Erigon on Ethereum mainnet...
INFO[08-07|08:35:02.228] Maximum peer count ETH=100 total=100
INFO[08-07|08:35:02.228] starting HTTP APIs APIs=eth,erigon,engine
INFO[08-07|08:35:02.228] torrent verbosity level=WRN
INFO[08-07|08:35:02.228] [torrent] Public IP ip=xxxx:xxxx:xxxx:xxxx::x
INFO[08-07|08:35:02.228] Set global gas cap cap=50000000
INFO[08-07|08:35:02.262] Opening Database label=chaindata path=/opt/ethereum/erigon/chaindata
INFO[08-07|08:35:02.264] Initialised chain configuration config="{ChainID: 1, Homestead: 1150000, DAO: 1920000, DAO Support: true, Tangerine Whistle: 2463000, Spurious Dragon: 2675000, Byzantium: 4370000, Constantinople: 7280000, Petersburg: 7280000, Istanbul: 9069000, Muir Glacier: 9200000, Berlin: 12244000, London: 12965000, Arrow Glacier: 13773000, Gray Glacier: 15050000, Terminal Total Difficulty: <nil>, Merge Netsplit: <nil>, Engine: ethash}" genesis=0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3
INFO[08-07|08:35:02.264] Effective prune_flags="--prune.h.older=90000 --prune.t.older=90000 --prune.c.older=90000" snapshot_flags="--snapshots=true"
INFO[08-07|08:35:02.264] Using snapshots on=true
INFO[08-07|08:35:04.980] Initialising Ethereum protocol network=1
INFO[08-07|08:35:04.980] Disk storage enabled for ethash DAGs dir=/opt/ethereum/erigon/ethash-dags count=2
INFO[08-07|08:35:04.993] Starting private RPC server on=127.0.0.1:9090
INFO[08-07|08:35:04.993] new subscription to logs established
INFO[08-07|08:35:04.993] rpc filters: subscribing to Erigon events
INFO[08-07|08:35:04.994] new subscription to newHeaders established
INFO[08-07|08:35:04.994] New txs subscriber joined
INFO[08-07|08:35:04.994] Reading JWT secret path=/opt/ethereum/erigon/jwt.hex
INFO[08-07|08:35:04.994] HTTP endpoint opened for Engine API url=localhost:8551 ws=true ws.compression=true
INFO[08-07|08:35:04.994] HTTP endpoint opened url=localhost:8545 ws=false ws.compression=true grpc=false
INFO[08-07|08:35:05.002] Started P2P networking version=66 self=enode://f11e2fd09a55d886d42aa81eb51b7ff93fb2a048900031f624ca37ea499769b3d70f3c24a1ccc301eff1ad85534c8957fa6ca5d11c45b026a23ed4efb98bd7e1@127.0.0.1:30303 name=erigon/v2022.99.99-dev-a481b774/linux-amd64/go1.18.5
INFO[08-07|08:35:05.004] [txpool] Started
INFO[08-07|08:35:05.006] [Snapshots] Fetching torrent files metadata
INFO[08-07|08:35:05.008] [Snapshots] Stat blocks=15000k indices=15000k alloc=2.3GB sys=2.5GB
INFO[08-07|08:35:05.546] [1/16 Headers] Waiting for headers... from=14999999
INFO[08-07|08:35:25.547] [1/16 Headers] Wrote block headers number=14999999 blk/second=0.000 alloc=2.8GB sys=2.9GB
INFO[08-07|08:35:45.546] [1/16 Headers] Wrote block headers number=14999999 blk/second=0.000 alloc=2.8GB sys=3.0GB
It looks like it founds no peers. Is there a way to know some ipv6 peers in order to add the with the --staticpeers option ?
From what I understand (I may be wrong), there is no ipv6 ethereum nodes, so there's no way to get it work in ipv6 only. I end up by giving my ipv6 only VM an ipv4 access through a wireguard server...
This issue is stale because it has been open for 40 days with no activity. Remove stale label or comment, or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.