[BUG] Can't sync wallet-node (Loop exception in sync Was not able to add blocks 1029930-1029962)
See original GitHub issueDescribe the bug Can’t sync a wallet although the blockchain itself is synced. Have tried to delete both DBs - wallet and blockchain, and resynced again. Tried deleting the wallet and importing it back. The wallet is the latest version - 1.2.9
To Reproduce
Steps to reproduce the behavior:
- Start a wallet and try to Sync
- Go log and see the error
2021-10-25T10:48:11.386 wallet chia.full_node.weight_proof: INFO validating 2725 sub epochs
2021-10-25T10:48:11.448 wallet chia.wallet.wallet_node : INFO Validated, fork point is 1029146
2021-10-25T10:48:11.449 wallet chia.wallet.wallet_node : INFO self.sync_event.set()
2021-10-25T10:48:11.470 wallet chia.wallet.wallet_node : INFO Have collected 1721 potential peaks
2021-10-25T10:48:11.474 wallet chia.wallet.wallet_node : INFO self.sync_event.set()
2021-10-25T10:48:11.475 wallet chia.wallet.wallet_node : INFO self.sync_event.set()
2021-10-25T10:48:12.402 full_node chia.full_node.full_node: INFO Finished signage point 11/64: CC: 8f9d464d079ca17********************* RC: e50ef8b2786fe2************
2021-10-25T10:48:12.562 wallet chia.wallet.wallet_node : INFO Requesting blocks 1029931-1029963
2021-10-25T10:48:12.958 harvester chia.harvester.harvester: INFO 2 plots were eligible for farming 1205ec2e02... Found 0 proofs. Time: 0.54900 s. Total 280 plots
2021-10-25T10:48:13.167 full_node full_node_server : INFO Connection closed: 127.0.0.1, node id: 7fc545f45bf46c441***********
2021-10-25T10:48:13.168 full_node chia.full_node.full_node: INFO peer disconnected {'host': '127.0.0.1', 'port': 8449}
2021-10-25T10:48:13.167 wallet wallet_server : INFO Connection closed: 127.0.0.1, node id: 02f8f86aa0c96****
2021-10-25T10:48:14.176 wallet chia.wallet.wallet_node : ERROR Error while trying to fetch from peer:Was not able to obtain solution {'coin_name': '0xbd6dd88e84*****a4e925', 'height': 1029933} Traceback (most recent call last):
File "chia\wallet\wallet_node.py", line 555, in batch_sync_to_peak
File "chia\wallet\wallet_node.py", line 726, in fetch_blocks_and_validate
File "chia\wallet\wallet_node.py", line 893, in get_additional_coin_spends
File "chia\wallet\wallet_node.py", line 876, in fetch_puzzle_solution
ValueError: Was not able to obtain solution {'coin_name': '0xbd6dd88e84af***********', 'height': 1029933}
2021-10-25T10:48:14.177 wallet chia.wallet.wallet_node : ERROR Loop exception in sync Was not able to add blocks 1029931-1029963. Traceback (most recent call last):
File "chia\wallet\wallet_node.py", line 608, in sync_job
File "chia\wallet\wallet_node.py", line 668, in _sync
File "chia\wallet\wallet_node.py", line 565, in batch_sync_to_peak
RuntimeError: Was not able to add blocks 1029931-1029963
2021-10-25T10:48:14.178 wallet chia.wallet.wallet_node : INFO Loop end in sync job
2021-10-25T10:48:14.178 wallet chia.wallet.wallet_node : INFO Loop start in sync job
2021-10-25T10:48:14.179 wallet chia.wallet.wallet_node : INFO Have collected 1721 potential peaks
2021-10-25T10:48:14.181 wallet chia.wallet.wallet_node : INFO No peers to sync to
2021-10-25T10:48:14.182 wallet chia.wallet.wallet_node : INFO Loop end in sync job
2021-10-25T10:48:14.182 wallet chia.wallet.wallet_node : INFO Loop start in sync job
2021-10-25T10:48:14.183 wallet chia.wallet.wallet_node : WARNING bad peak response from peer None
2021-10-25T10:48:14.471 wallet wallet : INFO Reconnecting to peer {'host': '127.0.0.1', 'port': 8444}
2021-10-25T10:48:14.478 wallet wallet_server : INFO Connected with full_node {'host': '127.0.0.1', 'port': 8444}
Expected behavior Wallet and blockchain can be synced to the netspace
Desktop
- OS: Win10
- CPU: AMD Ryzen 5 2600
Issue Analytics
- State:
- Created 2 years ago
- Comments:22 (6 by maintainers)
Top Results From Across the Web
ERROR Loop exception in sync Was not able to add blocks ...
[BUG] wallet chia.wallet.wallet_node : ERROR Loop exception in sync Was not able to add blocks 646779-646811. #7886.
Read more >Can't sync wallet (Loop exception in sync Was not able to add ...
Can't sync wallet (Loop exception in sync Was not able to add blocks 1029930-1029962). Hey Guys,. I'm so frustrated and disappointed my Chia ......
Read more >1.1.5 sync issues - Support - Chia Forum
Can't farm with almost 300 plots, and it is started 2-3 days ago with ... Loop exception in sync Was not able to...
Read more >chia-blockchain Changelog - pyup.io
Fixed issue with the wallet not syncing in untrusted mode, if connected to a ... During node startup, missing blocks in the DB...
Read more >Not Synced? Don't Panic: Grab The 1.1.5 Update
At May 9, 2021 around 14:00 UTC, the Chia network experienced a momentary hiccup in the blockchain around block height 255518. The issue...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Essentially it’s a beta/pre-release build from the main branch.
Hey @andriitalkstech it looks from your stack trace that you’re not yet running the latest main branch. You can use the exe installer found here: https://download-chia-net.s3-us-west-2.amazonaws.com/builds/ChiaSetup-1.2.116.exe.
Let us know if that fixes your problem thanks!