question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FastSync failing to synchronize. Asking to reindex

See original GitHub issue

BTCPay and FastSyncwas working fine on AWS till last week. I had to move and reinstall to DigitalOcean droplet a few hours ago.

Full node is ok. However, if I use “./load-utxo-set.sh” to enable FastSync then bitcoin daemon failing to synchronize.

docker logs --tail 10 btcpayserver_bitcoind:

2019-11-11T17:40:37Z BerkeleyEnvironment::Open: LogDir=/walletdata/mainnet/database ErrorFile=/walletdata/mainnet/db.log

2019-11-11T17:40:37Z [default wallet] nFileVersion = 180000

2019-11-11T17:40:37Z [default wallet] Keys: 2001 plaintext, 0 encrypted, 2001 w/ metadata, 2001 total. Unknown wallet records: 0

2019-11-11T17:40:37Z [default wallet] Wallet completed loading in 168ms

2019-11-11T17:40:37Z Error: Prune: last wallet synchronisation goes beyond pruned data. You need to -reindex (download the whole blockchain again in case of pruned node) Error: Prune: last wallet synchronisation goes beyond pruned data. You need to -reindex (download the whole blockchain again in case of pruned node)

2019-11-11T17:40:37Z [default wallet] Releasing wallet

2019-11-11T17:40:37Z Shutdown: In progress…

2019-11-11T17:40:37Z scheduler thread interrupt

2019-11-11T17:40:37Z Shutdown: done`

docker logs generated_nbxplorer_1:

info: Configuration: Data Directory: /datadir info: Configuration: Configuration File: /datadir/Main/settings.config info: Configuration: Network: Mainnet info: Configuration: Supported chains: BTC info: Configuration: Network: Mainnet info: Configuration: Supported chains: BTC info: Configuration: BTC: Testing RPC connection to http://bitcoind:43782/ info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… Hosting environment: Production Content root path: /app/ Now listening on: http://0.0.0.0:32838 Application started. Press Ctrl+C to shut down. info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Verifying blocks…’, retrying soon… fail: Configuration: BTC: Error connecting to RPC server Response status code does not indicate success: 503 (Service Unavailable). info: Configuration: BTC: Testing again in 5 seconds info: Configuration: BTC: Testing RPC connection to http://bitcoind:43782/ info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Rewinding blocks…’, retrying soon… fail: Configuration: BTC: Error connecting to RPC server Response status code does not indicate success: 503 (Service Unavailable). info: Configuration: BTC: Testing again in 10 seconds info: Configuration: BTC: Testing RPC connection to http://bitcoind:43782/ info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… fail: Configuration: BTC: Error connecting to RPC server Response status code does not indicate success: 503 (Service Unavailable). info: Configuration: BTC: Testing again in 15 seconds info: Configuration: BTC: Testing RPC connection to http://bitcoind:43782/ info: Configuration: BTC: Transient error ‘Rewinding blocks…’, retrying soon… info: Configuration: BTC: Transient error ‘Verifying blocks…’, retrying soon… fail: Configuration: BTC: Error connecting to RPC server Response status code does not indicate success: 503 (Service Unavailable). info: Configuration: BTC: Testing again in 20 seconds info: Configuration: BTC: Testing RPC connection to http://bitcoind:43782/ info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Loading block index…’, retrying soon… info: Configuration: BTC: Transient error ‘Rewinding blocks…’, retrying soon… fail: Configuration: BTC: Error connecting to RPC server Response status code does not indicate success: 503 (Service Unavailable). info: Configuration: BTC: Testing again in 25 seconds

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:20 (17 by maintainers)

github_iconTop GitHub Comments

2reactions
britttttkcommented, Nov 12, 2019

Ooh it’s the wallet, ok I see @NicolasDorier Will update fastsync doc.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to delete or reset the blockchain in geth? (OSX)
For geth, delete $home/Libary/Ethereum/chaindata . That should wipe out the blockchain itself and let you sync from scratch.
Read more >
why is my Jira and Xray out of sync? how do we re-index ...
I had defined test cases in Xray it shows the following error message "some issues appear to be out of sync between Xray...
Read more >
Geth v1.10.0 - Ethereum Foundation Blog
Full sync operated by downloading the entire chain and executing all transactions; vs. fast sync placed an initial trust in a recent-ish ...
Read more >
Btc Wallet Out Of Sync
Bitcoin Core Wallet Out Of Sync Adx Cryptocurrency Market BFLC. ... After FastSync is complete and you have brought back up your instance,...
Read more >
Bitcoin Wallet Stuck Synchronizing
A common problem when syncing Ethereum Wallet's blockchain data is that the ... If your FastSync returns You need to delete your Bitcoin...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found