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.

Wallet not synced stuck on 721957[Bug]

See original GitHub issue

What happened?

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.

I try both on 1.2.11 and 1.2.7 and both mode GUI and CLR are same results. Please help advice

Version

1.2.11 and 1.2.7

What platform are you using?

Windows

What ui mode are you using?

GUI

Relevant log output

2021-12-26T00:22:01.341 wallet chia.wallet.wallet_node    : INFO     Requesting blocks 721955-721987
2021-12-26T00:22:01.838 wallet chia.wallet.wallet_state_manager: INFO     Adding coin: {'amount': 117,
 'parent_coin_info': '0xed17c426dacc4ea9a2c3b0c2f6329d6f868638a22760dfbba3300013288f91e5',
 'puzzle_hash': '0x9f1d2df27bc1784cc50bd4b2e257db130a32685af658c55267c208bf36afd1ec'} at 721957
2021-12-26T00:22:01.840 wallet chia.wallet.wallet_state_manager: INFO     Coins removed [Coin(parent_coin_info=<bytes32: 1a9c358095a4eb88e7b17cf76993a48858d2cac5610d8fc32298e55ed658b34b>, puzzle_hash=<bytes32: a58af351e4d45a265eb6fa4ac583dfc0a5e7fd9a4d7be8b74f085e07a767acad>, amount=118)] at height: 721957
2021-12-26T00:22:01.842 wallet chia.wallet.wallet_state_manager: INFO     Found created launcher. Creating pool wallet
2021-12-26T00:22:01.909 wallet chia.wallet.wallet_blockchain: ERROR    Error during db transaction: 'NoneType' object is not iterable
2021-12-26T00:22:01.913 full_node full_node_server        : INFO     Connection closed: 127.0.0.1, node id: 10c75f460903db542a91a097bc2f51052cba726729f7375c2404adf1eba5bd86
2021-12-26T00:22:01.913 full_node chia.full_node.full_node: INFO     peer disconnected {'host': '127.0.0.1', 'port': 8449}
2021-12-26T00:22:02.139 full_node chia.full_node.mempool_manager: INFO     It took 0.002931356430053711 to pre validate transaction
2021-12-26T00:22:02.149 full_node chia.full_node.mempool_manager: INFO     add_spendbundle took 0.00879359245300293 seconds, cost 34952103 (0.318%)
2021-12-26T00:22:01.913 wallet wallet_server              : INFO     Connection closed: 127.0.0.1, node id: fad55ce599c7997f7fa8122ae05ade336b4d155fee60499089cacd55c5f84c85
2021-12-26T00:22:02.915 wallet chia.wallet.wallet_node    : ERROR    Error while trying to fetch from peer:'NoneType' object is not iterable 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 736, in fetch_blocks_and_validate
  File "chia\wallet\wallet_blockchain.py", line 237, in receive_block
  File "chia\wallet\wallet_blockchain.py", line 349, in _reconsider_peak
  File "chia\wallet\wallet_state_manager.py", line 616, in new_transaction_block_callback
  File "chia\pools\pool_wallet.py", line 359, in create
  File "chia\pools\pool_wallet.py", line 232, in update_pool_config
  File "chia\pools\pool_config.py", line 45, in load_pool_config
TypeError: 'NoneType' object is not iterable

2021-12-26T00:22:02.916 wallet chia.wallet.wallet_node    : ERROR    Loop exception in sync Was not able to add blocks 721955-721987. 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 721955-721987

2021-12-26T00:22:02.916 wallet chia.wallet.wallet_node    : INFO     Loop end in sync job
2021-12-26T00:22:02.916 wallet chia.wallet.wallet_node    : INFO     Loop start in sync job
2021-12-26T00:22:02.917 wallet chia.wallet.wallet_node    : INFO     Have collected 46 potential peaks
2021-12-26T00:22:02.917 wallet chia.wallet.wallet_node    : INFO     No peers to sync to
2021-12-26T00:22:02.918 wallet chia.wallet.wallet_node    : INFO     Loop end in sync job
2021-12-26T00:22:02.918 wallet chia.wallet.wallet_node    : INFO     Loop start in sync job

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
fecciecommented, Jan 6, 2022

Hi All,

Thank you @Jacek-ghub for advice,

I found a thread on ChiaForum with same issue and suggest rollback to version1.1.7 and it works for me.

https://chiaforum.com/t/wallet-not-synced-even-though-node-is-fully-synced/1973/7

0reactions
RY1979commented, Jan 11, 2022

Mine worked after I updated to latest chia application

On Wed, Dec 29, 2021, 1:55 AM Ralph @.***> wrote:

Same pb stuck at 1,341,170 on my raspberrypi farmer

— Reply to this email directly, view it on GitHub https://github.com/Chia-Network/chia-blockchain/issues/9672#issuecomment-1002143406, or unsubscribe https://github.com/notifications/unsubscribe-auth/AV36H6E3TTAWGFXJDOJAAGLUTHFVRANCNFSM5KX76MHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why your wallet is not syncing and how to fix this
To fix this close your wallet and then start it with -reindex command. The process will take some time as it is starting...
Read more >
Wallet Status not synced/syncing. Why? : r/chia
Everything is green and running except my wallet - which is stuck on alternating between: "Not Synced (1,037,024)" and "Syncing (1,037,024)" ...
Read more >
Wallet stuck on syncing - Technical Bugs
Hi. Two of my wallets have been stuck on “syncing” for a couple days, I can't seem to get the website to give...
Read more >
Disappointed with wallet experiences lately
Molasses-slow syncing, errors when they do sync, inexplicable sending issues, URIs and amount key/values not parsed, compatibility with network ...
Read more >
Monero (XMR) troubleshooting - Exodus Support
In this article: Wallet creation height What is the wallet creation height? What d. ... If you think your wallet may be out...
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