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

Wallet stuck synchronizing #1806

Open
drcpu-github opened this issue Oct 1, 2022 · 10 comments
Open

Wallet stuck synchronizing #1806

drcpu-github opened this issue Oct 1, 2022 · 10 comments

Comments

@drcpu-github
Copy link

Describe the bug
One of my wallets seems to be stuck in some endless synchronizing loop for the last week. In the top left corner, it says SYNCING 0.00%, it shows a number of blocks it still has to synchronize, but that counter never updates (screenshot 1). It also does not show any transaction history.

Interestingly, the other wallets in my local installation do synchronize properly. I tried restarting Sheikah several times, I tried restarting my computer and I tried connecting to another node, but nothing changes. I cannot force a resynchronization using the settings menu (the option is disabled), presumably because the wallet thinks it's still synchronizing.

I started the wallet in debug mode on the command prompt to see what it was doing. It does connect to my local node and it actually downloads all blocks, but the UI is not properly updating. After letting it run for a while, I noticed on the command prompt it had caught up with the tip of the chain (so it was technically fully synchronized) and it also indexed all new incoming blocks, but the counter in the left never updates. I restarted Sheikah again and now it does show a different amount of blocks to synchronize (screenshot 2) and the balance in the top right has also updated. However, as you can see, it's still at 0.00% and nothing ever changes. Because the UI thinks the wallet is not synchronized, I can also not create any transactions.

I could obviously delete the wallet and reinstall, but I first wanted to file this issue and see if there is anything else I can do to solve or root cause the issue.

Screenshots
wallet_stuck_1
wallet_stuck_2

Desktop (please complete the following information):

  • OS: Windows
  • Version 1.11.3
@Anlihuha
Copy link

Anlihuha commented Oct 3, 2022

I have the same issue in my Sheikah Witnet wallet. The wallet attempts to connect to the mainnet network via node 20.126.70.77:21338. However, the wallet just keeps disconnecting. For me, the Resych option is grayed-out as well.

@Anlihuha
Copy link

Anlihuha commented Oct 3, 2022

OS: Windows 10
Wallet version: 1.11.3

@aesedepece
Copy link
Member

@drcpu-github how long has this wallet existed for? Sounds like it could be missing a field introduced thereafter, and we may be not handling that case, leading to a JavaScript exception that precludes the wallet status component from rendering properly.

@drcpu-github
Copy link
Author

I created it roughly six months ago.

@aesedepece
Copy link
Member

For once I can see that it doesn't have a wallet name shown by the gravatar 🤔

@drcpu-github
Copy link
Author

I cut out the wallet name and description as it contained some identifying details, that's not part of the UI bug. 😄

@Anlihuha
Copy link

Anlihuha commented Oct 3, 2022 via email

@Tommytrg
Copy link
Member

Tommytrg commented Oct 3, 2022

I've checked Sheikah's code and it needs to receive an event from the wallet server to be in syncing state. After the syncing event, it should receive new events such as SyncProgress or SyncFinish.

Maybe the wallet server is not sending the event with some wallets for some reason I still don't know. I'm going to continue debugging this and keep you updated

@Anlihuha
Copy link

Anlihuha commented Oct 3, 2022 via email

@drcpu-github
Copy link
Author

@Tommytrg Should I just try to delete the wallet and do a full resync to see if the issue happens again? If it does, it must be related to a specific block or transaction and that may help narrow it down.

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

4 participants