ethereum / go-ethereum

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

Node synchronization failed #29226

Open astrid19981112 opened 3 months ago

astrid19981112 commented 3 months ago

Is there a snapshot of the eth testnet? My node synchronization keeps reporting this error and there is no synchronization.

WARN [03-12|12:26:23.650] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30016 duration="85.027µs" err="already known"                                         INFO [03-12|12:26:25.523] Looking for peers                        peercount=1 tried=37 static=0                                                                                     
WARN [03-12|12:26:29.680] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30018 duration="146.697µs" err="already known"                                        WARN [03-12|12:26:33.657] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30020 duration="82.727µs" err="already known"                                         
INFO [03-12|12:26:35.856] Looking for peers                        peercount=1 tried=38 static=0                                                                                     
WARN [03-12|12:26:39.669] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30022 duration="111.901µs" err="already known"                                        WARN [03-12|12:26:43.668] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30024 duration="98.421µs" err="already known"                                         
INFO [03-12|12:26:45.887] Looking for peers                        peercount=1 tried=43 static=0                                                                                     WARN [03-12|12:26:49.688] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30026 duration="88.04µs" err="already known"                                          
WARN [03-12|12:26:53.664] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30028 duration="101.387µs" err="already known"                                        
INFO [03-12|12:26:55.964] Looking for peers                        peercount=1 tried=33 static=0                                                                                     WARN [03-12|12:26:57.609] Beacon client online, but no consensus updates received in a while. Please fix your beacon client to follow the chain!                                     
WARN [03-12|12:26:59.715] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30030 duration="93.418µs" err="already known"                                         WARN [03-12|12:27:03.657] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30032 duration="83.906µs" err="already known"                                         
INFO [03-12|12:27:05.989] Looking for peers                        peercount=1 tried=33 static=0                                                                                     
WARN [03-12|12:27:09.682] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30034 duration="102.303µs" err="already known"                                        WARN [03-12|12:27:13.658] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30036 duration="127.942µs" err="already known"                                        
INFO [03-12|12:27:16.189] Looking for peers                        peercount=1 tried=34 static=0                                                                                     WARN [03-12|12:27:19.674] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30038 duration="117.792µs" err="already known"                                        
WARN [03-12|12:27:23.656] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30040 duration="109.61µs" err="already known"                                         
INFO [03-12|12:27:26.189] Looking for peers                        peercount=1 tried=40 static=0                                                                                     WARN [03-12|12:27:29.706] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30042 duration="111.275µs" err="already known"                                        
WARN [03-12|12:27:33.663] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30044 duration="83.785µs" err="already known"                                         INFO [03-12|12:27:36.189] Looking for peers                        peercount=1 tried=35 static=0                                                                                     
WARN [03-12|12:27:39.681] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30046 duration="151.929µs" err="already known"                                        
WARN [03-12|12:27:43.659] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30048 duration="85.399µs" err="already known"                                         INFO [03-12|12:27:46.371] Looking for peers                        peercount=2 tried=38 static=0                                                                                     
WARN [03-12|12:27:49.675] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30050 duration="101.059µs" err="already known"                                        WARN [03-12|12:27:53.663] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30052 duration="100.288µs" err="already known"                                        
INFO [03-12|12:27:56.375] Looking for peers                        peercount=1 tried=38 static=0                                                                                     
WARN [03-12|12:27:59.680] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30054 duration="115.99µs" err="already known"                                         WARN [03-12|12:28:03.660] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30056 duration="101.264µs" err="already known"                                        
INFO [03-12|12:28:06.522] Looking for peers                        peercount=1 tried=37 static=0                                                                                     WARN [03-12|12:28:09.677] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30058 duration="110.168µs" err="already known"                                        
WARN [03-12|12:28:13.667] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30060 duration="99.948µs" err="already known"                                         
INFO [03-12|12:28:16.522] Looking for peers                        peercount=1 tried=39 static=0                                                                                     WARN [03-12|12:28:19.676] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30062 duration="112.118µs" err="already known"                                        
WARN [03-12|12:28:23.662] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30064 duration="88.973µs" err="already known"                                         INFO [03-12|12:28:26.855] Looking for peers                        peercount=1 tried=40 static=0                                                                                     
WARN [03-12|12:28:29.684] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30066 duration="139.362µs" err="already known"                                        
WARN [03-12|12:28:33.660] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30068 duration="81.456µs" err="already known"
INFO [03-12|12:28:36.856] Looking for peers                        peercount=1 tried=38 static=0
WARN [03-12|12:28:39.688] Served eth_sendRawTransaction            conn=10.65.32.4:46233 reqid=30070 duration="166.192µs" err="already known"

2024-03-12 12:19:55]  WARN blockchain: Could not update head error=0x73012fd49a0b7f0523d375d2a3455847915b3d4e6b549f1af184c3583328c74c: unknown justified root                       
[2024-03-12 12:19:55]  WARN blockchain: could not determine node weight root=0x0000000000000000000000000000000000000000000000000000000000000000                                      [2024-03-12 12:19:55]  INFO blockchain: Synced new block block=0xc5944c57... epoch=242676 finalizedEpoch=242673 finalizedRoot=0xe51777f1... slot=7765653                             
[2024-03-12 12:19:55]  INFO blockchain: Finished applying state transition attestations=128 kzgCommitmentCount=6 payloadHash=0xa0fc81401a8a slot=7765653 syncBitsCount=340 txCount=11[2024-03-12 12:19:55]  WARN blockchain: Could not update head error=0x73012fd49a0b7f0523d375d2a3455847915b3d4e6b549f1af184c3583328c74c: unknown justified root                       
[2024-03-12 12:19:55]  WARN blockchain: could not determine node weight root=0x0000000000000000000000000000000000000000000000000000000000000000                                      [2024-03-12 12:19:55]  INFO blockchain: Synced new block block=0xa4028a4a... epoch=242676 finalizedEpoch=242673 finalizedRoot=0xe51777f1... slot=7765654                             
[2024-03-12 12:19:55]  INFO blockchain: Finished applying state transition attestations=128 payloadHash=0x2bca2fbf9296 slot=7765654 syncBitsCount=340 txCount=37                     [2024-03-12 12:19:55]  WARN blockchain: Could not update head error=0x73012fd49a0b7f0523d375d2a3455847915b3d4e6b549f1af184c3583328c74c: unknown justified root                       
[2024-03-12 12:19:55]  WARN blockchain: could not determine node weight root=0x0000000000000000000000000000000000000000000000000000000000000000                                      [2024-03-12 12:19:55]  INFO blockchain: Synced new block block=0x77c95e60... epoch=242676 finalizedEpoch=242673 finalizedRoot=0xe51777f1... slot=7765655                             
[2024-03-12 12:19:55]  INFO blockchain: Finished applying state transition attestations=128 kzgCommitmentCount=6 payloadHash=0x3ace85071639 slot=7765655 syncBitsCount=347 txCount=26[2024-03-12 12:19:55]  WARN blockchain: Could not update head error=0x73012fd49a0b7f0523d375d2a3455847915b3d4e6b549f1af184c3583328c74c: unknown justified root                       
[2024-03-12 12:19:55]  WARN blockchain: could not determine node weight root=0x0000000000000000000000000000000000000000000000000000000000000000                                      [2024-03-12 12:19:55]  INFO blockchain: Synced new block block=0xa8f291d4... epoch=242676 finalizedEpoch=242673 finalizedRoot=0xe51777f1... slot=7765656                             
[2024-03-12 12:19:55]  INFO blockchain: Finished applying state transition attestations=128 payloadHash=0x4bb3cb4ab223 slot=7765656 syncBitsCount=344 txCount=14                     [2024-03-12 12:19:55]  WARN blockchain: Could not update head error=0x73012fd49a0b7f0523d375d2a3455847915b3d4e6b549f1af184c3583328c74c: unknown justified root                       
[2024-03-12 12:19:55]  WARN blockchain: could not determine node weight root=0x0000000000000000000000000000000000000000000000000000000000000000                                      [2024-03-12 12:19:55]  INFO blockchain: Synced new block block=0x6348d117... epoch=242676 finalizedEpoch=242673 finalizedRoot=0xe51777f1... slot=7765657                             
[2024-03-12 12:19:55]  INFO blockchain: Finished applying state transition attestations=128 kzgCommitmentCount=5 payloadHash=0xd041e7f4f3bb slot=7765657 syncBitsCount=347 txCount=21[2024-03-12 12:19:55]  WARN blockchain: Could not update head error=0x73012fd49a0b7f0523d375d2a3455847915b3d4e6b549f1af184c3583328c74c: unknown justified root                       
[2024-03-12 12:19:55]  WARN blockchain: could not determine node weight root=0x0000000000000000000000000000000000000000000000000000000000000000                                      
[2024-03-12 12:19:55]  INFO blockchain: Synced new block block=0x300f2548... epoch=242676 finalizedEpoch=242673 finalizedRoot=0xe51777f1... slot=7765660                             [2024-03-12 12:19:55]  INFO blockchain: Finished applying state transition attestations=128 kzgCommitmentCount=5 payloadHash=0x468195fcfd54 slot=7765660 syncBitsCount=347 txCount=44
[2024-03-12 12:19:56]  WARN blockchain: Could not update head error=0x73012fd49a0b7f0523d375d2a3455847915b3d4e6b549f1af184c3583328c74c: unknown justified root                       [2024-03-12 12:19:56]  WARN blockchain: could not determine node weight root=0x0000000000000000000000000000000000000000000000000000000000000000                                      
[2024-03-12 12:19:56]  INFO blockchain: Synced new block block=0x6b5ce7ed... epoch=242676 finalizedEpoch=242673 finalizedRoot=0xe51777f1... slot=7765661                             
[2024-03-12 12:19:56]  INFO blockchain: Finished applying state transition attestations=128 kzgCommitmentCount=3 payloadHash=0x9ba275620f61 slot=7765661 syncBitsCount=345 txCount=22
[2024-03-12 12:20:15]  INFO p2p: Peer summary activePeers=24 inbound=0 outbound=24[2024-03-12 12:21:15]  INFO p2p: Peer summary activePeers=27 inbound=0 outbound=27
[2024-03-12 12:22:15]  INFO p2p: Peer summary activePeers=28 inbound=0 outbound=28[2024-03-12 12:23:14]  INFO initial-sync: Processing block 0x84bd7ec1... 7765568/7809116 - estimated time remaining 241h56m0s blocksPerSecond=0.1 peers=26                           
[2024-03-12 12:23:15]  INFO p2p: Peer summary activePeers=29 inbound=0 outbound=27[2024-03-12 12:24:15]  INFO p2p: Peer summary activePeers=32 inbound=0 outbound=32
[2024-03-12 12:25:15]  INFO p2p: Peer summary activePeers=29 inbound=0 outbound=28[2024-03-12 12:26:15]  INFO p2p: Peer summary activePeers=30 inbound=0 outbound=29
[2024-03-12 12:26:32]  INFO initial-sync: Processing block 0x84bd7ec1... 7765568/7809132 - estimated time remaining 242h1m20s blocksPerSecond=0.1 peers=29                           
[2024-03-12 12:26:32]  INFO initial-sync: Processing block 0xc6dd42ba... 7765600/7809132 - estimated time remaining 8h38m14s blocksPerSecond=1.4 peers=29                            
[2024-03-12 12:26:32]  INFO initial-sync: Processing block 0xc64c7beb... 7765632/7809132 - estimated time remaining 4h44m18s blocksPerSecond=2.5 peers=29                            
[2024-03-12 12:27:15]  INFO p2p: Peer summary activePeers=28 inbound=0 outbound=27
[2024-03-12 12:28:15]  INFO p2p: Peer summary activePeers=27 inbound=0 outbound=26
[2024-03-12 12:29:15]  INFO p2p: Peer summary activePeers=30 inbound=0 outbound=30

help me

rjl493456442 commented 3 months ago

Looks like your beacon client doesn't send signals to the geth node.

You can probably use checkpoint sync to sync the beacon client which should bypass all the historical beacon chain segment at the beginning as a fast bootstrap. https://eth-clients.github.io/checkpoint-sync-endpoints/

astrid19981112 commented 3 months ago

https://eth-clients.github.io/checkpoint-sync-endpoints/ It seems that the goerli nodes here are not available.

niso1985 commented 1 month ago

@astrid19981112 goerli is already closed. https://www.alchemy.com/blog/goerli-faucet-deprecation

vidhanmangla commented 1 week ago

start the network again, do all the configs again too. Do it all before reaching the genesis time. Set the genesis delay to a reasonable time which will give you enough time to do all the configs.