ethereum / go-ethereum

Go implementation of the Ethereum protocol
https://geth.ethereum.org
GNU Lesser General Public License v3.0
46.83k stars 19.76k forks source link

Upgrade geth to 1.10.6-stable restart geth but still can not sync to the latest block #23340

Closed xiaomingloveqinger closed 2 years ago

xiaomingloveqinger commented 2 years ago

Upgrade geth to 1.10.6-stable restart geth but still can not sync to the latest block , can some one help me out

DatLinuxGuy commented 2 years ago

1+ to this

geth version check Geth Version: 1.10.6-stable Git Commit: 576681f29b895dd39e559b7ba17fcd89b42e4833 Architecture: amd64 Go Version: go1.16.4 Operating System: linux (ubuntu 20.04)

sudo journalctl -fu geth.service geth[62452]: WARN [08-07|09:33:15.235] Served eth_chainId conn=127.0.0.1:39152 reqid=1 t="33.534µs" err="chain not synced beyond EIP-155 replay-protection fork block"

Am I missing something silly ?

karalabe commented 2 years ago

@xiaomingloveqinger If you don't provide any details, there's not much we can do.

@DatLinuxGuy I guess you haven't finished syncing yet. The logs should give you an idea of where you're at wrt syncing. Without sharing those, not much we can say.

StephenTurley commented 2 years ago

I think I'm having the same issue. Any time I try to connect a Metamask wallet my node logs this error: err="chain not synced beyond EIP-155 replay-protection fork block"

restarted my node:

INFO [08-11|02:02:29.070] Starting Geth on Ethereum mainnet...
INFO [08-11|02:02:29.070] Bumping default cache on mainnet         provided=1024 updated=4096
INFO [08-11|02:02:29.073] Maximum peer count                       ETH=50 LES=0 total=50
INFO [08-11|02:02:29.073] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [08-11|02:02:29.094] Set global gas cap                       cap=50,000,000
INFO [08-11|02:02:29.094] Allocated trie memory caches             clean=614.00MiB dirty=1024.00MiB
INFO [08-11|02:02:29.096] Allocated cache and file handles         database=/root/.ethereum/geth/chaindata cache=2.00GiB handles=524,288
INFO [08-11|02:02:32.303] Opened ancient database                  database=/root/.ethereum/geth/chaindata/ancient readonly=false
INFO [08-11|02:02:32.365] Initialised chain configuration          config="{ChainID: 1 Homestead: 1150000 DAO: 1920000 DAOSupport: true EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Byzantium: 4370000 Constantinople: 7280000 Petersburg: 7280000 Istanbul: 9069000, Muir Glacier: 9200000, Berlin: 12244000, London: 12965000, Engine: ethash}"
INFO [08-11|02:02:33.604] Disk storage enabled for ethash caches   dir=/root/.ethereum/geth/ethash count=3
INFO [08-11|02:02:33.605] Disk storage enabled for ethash DAGs     dir=/root/.ethash               count=2
INFO [08-11|02:02:33.631] Initialising Ethereum protocol           network=1 dbversion=8
INFO [08-11|02:02:34.318] Loaded most recent local header          number=12,999,035 hash=70f4d2..01a22c td=28,752,678,699,673,277,231,631 age=7h45m57s
INFO [08-11|02:02:34.318] Loaded most recent local full block      number=0          hash=d4e567..cb8fa3 td=17,179,869,184                 age=52y4mo1w
INFO [08-11|02:02:34.318] Loaded most recent local fast block      number=12,999,035 hash=70f4d2..01a22c td=28,752,678,699,673,277,231,631 age=7h45m57s
INFO [08-11|02:02:34.318] Loaded last fast-sync pivot marker       number=13,000,979
WARN [08-11|02:02:34.319] Enabling snapshot recovery               chainhead=0 diskbase=12,966,866
WARN [08-11|02:02:34.327] Loaded snapshot journal                  diskroot=188050..ee9e5c diffs=unmatched
WARN [08-11|02:02:34.327] Snapshot is not continuous with chain    snaproot=188050..ee9e5c chainroot=d7f897..0f0544
INFO [08-11|02:02:34.328] Upgrading chain index                    type=bloombits percentage=99
INFO [08-11|02:02:34.328] Loaded local transaction journal         transactions=0 dropped=0
INFO [08-11|02:02:34.329] Regenerated local transaction journal    transactions=0 accounts=0
WARN [08-11|02:02:34.329] Switch sync mode from full sync to fast sync
INFO [08-11|02:02:34.357] Allocated fast sync bloom                size=2.00GiB
INFO [08-11|02:02:34.396] Gasprice oracle is ignoring threshold set threshold=2
WARN [08-11|02:02:34.411] Old unclean shutdowns found              count=48
WARN [08-11|02:02:34.411] Unclean shutdown detected                booted=2021-07-15T20:18:41+0000 age=3w5d5h
WARN [08-11|02:02:34.411] Unclean shutdown detected                booted=2021-07-17T04:03:35+0000 age=3w3d21h
WARN [08-11|02:02:34.411] Unclean shutdown detected                booted=2021-07-17T12:58:35+0000 age=3w3d13h
WARN [08-11|02:02:34.411] Unclean shutdown detected                booted=2021-07-22T01:21:46+0000 age=2w6d40m
WARN [08-11|02:02:34.411] Unclean shutdown detected                booted=2021-07-24T14:38:28+0000 age=2w3d11h
WARN [08-11|02:02:34.411] Unclean shutdown detected                booted=2021-07-25T02:19:11+0000 age=2w2d23h
WARN [08-11|02:02:34.411] Unclean shutdown detected                booted=2021-07-25T20:35:28+0000 age=2w2d5h
WARN [08-11|02:02:34.411] Unclean shutdown detected                booted=2021-08-03T02:42:44+0000 age=1w23h19m
WARN [08-11|02:02:34.411] Unclean shutdown detected                booted=2021-08-05T01:34:40+0000 age=6d27m54s
WARN [08-11|02:02:34.411] Unclean shutdown detected                booted=2021-08-05T22:32:53+0000 age=5d3h29m
WARN [08-11|02:02:34.411] Unclean shutdown detected                booted=2021-08-06T05:06:22+0000 age=4d20h56m
INFO [08-11|02:02:34.411] Starting peer-to-peer node               instance=Geth/v1.10.6-stable-576681f2/linux-amd64/go1.16.6
ERROR[08-11|02:02:34.644] Section processing failed                type=bloombits error="canonical block #12967047 unknown"
INFO [08-11|02:02:34.666] New local node record                    seq=8696 id=3666abf12ceaf02e ip=127.0.0.1 udp=30303 tcp=30303
INFO [08-11|02:02:34.666] Started P2P networking                   self=enode://66b695b0eeaee821cf837198179b8657346efc050395146db125fdfac8c9aa3136436539c335b795a002b69488c94e04ea2dfba2f7e34a9605e6d0d9b47c3393@127.0.0.1:30303
INFO [08-11|02:02:34.667] IPC endpoint opened                      url=/root/.ethereum/geth.ipc
INFO [08-11|02:02:34.668] HTTP server started                      endpoint=[::]:8545 prefix= cors=localhost,muh-server vhosts=muh-server
INFO [08-11|02:02:34.668] WebSocket enabled                        url=ws://127.0.0.1:8546
INFO [08-11|02:02:42.369] Initializing state bloom                 items=1,809,168 errorrate=0.000 elapsed=8.010s

Then try to connect my wallet over a network connection. (This has been working for over a year)

FO [08-11|02:20:14.559] Initializing state bloom                 items=153,735,062 errorrate=0.000 elapsed=9m13.112s
INFO [08-11|02:20:15.736] Imported new state entries               count=384  elapsed="389.913µs" processed=642,770,579 pending=11697 trieretry=0   coderetry=0 duplicate=0 unexpected=0
INFO [08-11|02:20:16.016] Imported new state entries               count=384  elapsed=2.199ms     processed=642,770,963 pending=11654 trieretry=1   coderetry=0 duplicate=0 unexpected=0
INFO [08-11|02:20:17.428] Imported new block headers               count=1    elapsed=4.064ms     number=13,001,170 hash=29169f..4cf2f3
INFO [08-11|02:20:21.411] Imported new state entries               count=384  elapsed=5.788ms     processed=642,771,347 pending=11799 trieretry=0   coderetry=0 duplicate=0 unexpected=0
ERROR[08-11|02:20:22.169] Snapshot extension registration failed   peer=1d4fc8e3 err="peer connected on snap without compatible eth support"
INFO [08-11|02:20:22.578] Initializing state bloom                 items=155,222,399 errorrate=0.000 elapsed=9m21.131s
INFO [08-11|02:20:30.578] Initializing state bloom                 items=156,549,945 errorrate=0.000 elapsed=9m29.131s
INFO [08-11|02:20:38.411] Imported new state entries               count=769  elapsed="842.178µs" processed=642,772,116 pending=12393 trieretry=0   coderetry=0 duplicate=0 unexpected=0
INFO [08-11|02:20:38.585] Initializing state bloom                 items=158,029,307 errorrate=0.000 elapsed=9m37.139s
INFO [08-11|02:20:42.007] Imported new state entries               count=384  elapsed=1.621ms     processed=642,772,500 pending=12471 trieretry=0   coderetry=0 duplicate=0 unexpected=0
INFO [08-11|02:20:45.573] Imported new state entries               count=384  elapsed="505.204µs" processed=642,772,884 pending=12780 trieretry=0   coderetry=0 duplicate=0 unexpected=0
WARN [08-11|02:20:45.942] Served eth_chainId                       conn=192.168.1.227:37174 reqid=1628648446002 t="33.14µs"  err="chain not synced beyond EIP-155 replay-protection fork block"
INFO [08-11|02:20:46.445] Imported new state entries               count=384  elapsed="3.058µs"   processed=642,773,268 pending=14541 trieretry=0   coderetry=0 duplicate=0 unexpected=0
INFO [08-11|02:20:46.586] Initializing state bloom                 items=159,463,875 errorrate=0.000 elapsed=9m45.139s
INFO [08-11|02:20:47.083] Imported new state entries               count=384  elapsed="3.163µs"   processed=642,773,652 pending=15434 trieretry=0   coderetry=0 duplicate=0 unexpected=0
no-response[bot] commented 2 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have more relevant information or answers to our questions so that we can investigate further.