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

Synchronisation failed #1430

Open
VaishakhKrypC opened this issue Jan 31, 2025 · 2 comments
Open

Synchronisation failed #1430

VaishakhKrypC opened this issue Jan 31, 2025 · 2 comments

Comments

@VaishakhKrypC
Copy link

After updating the latest bor version for amoy sentry my syncing is not happening, it's stuck on particular block number for more than 2 days.

We used this command to update the version
curl -L https://raw.githubusercontent.com/maticnetwork/install/main/bor.sh | bash -s -- v1.5.5 amoy sentry

Synchronisation failed, dropping peer peer=bc18345a4b2d1b37bae59e4981aac923094fadf0fe6553416965d763a801186a err="retrieved hash chain is invalid: mismatch error"

Whitelisting milestone deferred err="chain out of sync"

Image

@manav2401
Copy link
Contributor

We will need more info to debug this issue. Can you enable debug logs and attach them here? Moreover, can you share your bor config being used to start? Thanks!

@VaishakhKrypC
Copy link
Author

@manav2401 - From beginning onwards we haven't changed the settings, using the same **config.toml**

Logs
Jan 31 09:43:53 polygon-amoy-testnet bor[74460]: INFO [01-31|09:43:53.774] Whitelisting checkpoint deferred err="chain out of sync"
Jan 31 09:43:57 polygon-amoy-testnet bor[74460]: INFO [01-31|09:43:57.493] Importing heavy sidechain segment blocks=2048 start=16,102,761 end=16,104,808
Jan 31 09:43:57 polygon-amoy-testnet bor[74460]: WARN [01-31|09:43:57.516] Synchronisation failed, dropping peer peer=bc18345a4b2d1b37bae59e4981aac923094fadf0fe6553416965d763a801186a err="retrieved hash chain is invalid: mismatch error"
Jan 31 09:43:58 polygon-amoy-testnet bor[74460]: INFO [01-31|09:43:58.380] Looking for peers peercount=0 tried=42 static=0
Jan 31 09:44:05 polygon-amoy-testnet bor[74460]: INFO [01-31|09:44:05.774] Whitelisting milestone deferred err="chain out of sync"
Jan 31 09:44:08 polygon-amoy-testnet bor[74460]: INFO [01-31|09:44:08.381] Looking for peers peercount=1 tried=26 static=0
Jan 31 09:44:17 polygon-amoy-testnet bor[74460]: INFO [01-31|09:44:17.773] Whitelisting milestone deferred err="chain out of sync"
Jan 31 09:44:18 polygon-amoy-testnet bor[74460]: INFO [01-31|09:44:18.452] Looking for peers peercount=1 tried=67 static=0
Jan 31 09:44:29 polygon-amoy-testnet bor[74460]: INFO [01-31|09:44:29.556] Looking for peers peercount=1 tried=55 static=0
Jan 31 09:44:29 polygon-amoy-testnet bor[74460]: INFO [01-31|09:44:29.773] Whitelisting milestone deferred err="chain out of sync"
Jan 31 09:44:39 polygon-amoy-testnet bor[74460]: INFO [01-31|09:44:39.805] Looking for peers peercount=1 tried=17 static=0
Jan 31 09:44:40 polygon-amoy-testnet bor[74460]: INFO [01-31|09:44:40.101] Importing heavy sidechain segment blocks=2048 start=16,102,761 end=16,104,808
Jan 31 09:44:40 polygon-amoy-testnet bor[74460]: WARN [01-31|09:44:40.111] Synchronisation failed, dropping peer peer=bc18345a4b2d1b37bae59e4981aac923094fadf0fe6553416965d763a801186a err="retrieved hash chain is invalid: mismatch error"
Jan 31 09:44:41 polygon-amoy-testnet bor[74460]: INFO [01-31|09:44:41.773] Whitelisting milestone deferred err="chain out of sync"

/lib/systemd/system/bor.service

`[Unit]
Description=bor
StartLimitIntervalSec=500
StartLimitBurst=5

[Service]
Restart=on-failure
RestartSec=5s
ExecStart=/usr/bin/bor server -config "/var/lib/bor/config.toml"
Type=simple
KillSignal=SIGINT
User=ubuntu
TimeoutStopSec=120

[Install]
WantedBy=multi-user.target
`

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