Bitcoin Forum
May 05, 2024, 04:10:24 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum stuck on synchronizing  (Read 218 times)
chamfort (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 12


View Profile
February 14, 2022, 09:19:07 PM
Merited by o_e_l_e_o (4), ABCbits (3)
 #1

Hi, my electrum has been stuck on synchronizing for the last 2 weeks. I tried the troubleshooting advice from the FAQ but it did not work:
https://bitcoinelectrum.com/frequently-asked-questions/#electrum-is-stuck-at-synchronizing-what-can-i-do-to-fix-this

I turned on the debug logging and have attached the log below. Please let me know what I can do to recover my funds! Thank you

https://pastebin.com/qHaCfKFJ

The Bitcoin network protocol was designed to be extremely flexible. It can be used to create timed transactions, escrow transactions, multi-signature transactions, etc. The current features of the client only hint at what will be possible in the future.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1512
Merit: 7351


Farewell, Leo


View Profile
February 14, 2022, 09:25:10 PM
Merited by hugeblack (4), o_e_l_e_o (4)
 #2

Hmm... It fails to connect to the servers. Assuming you'd reinstalled it and it didn't work, do the following: Rename or delete the “certs” directory in AppData. If you're using Windows, that's on:
Code:
C:\Users\<USERNAME>\AppData\Roaming\Electrum

It contains the certificates of those servers. I remember that I had the same issue and it worked when it re-downloaded the certificates.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18509


View Profile
February 14, 2022, 09:50:58 PM
Merited by ABCbits (2), Pmalek (1)
 #3

It fails to connect to some servers, but it connects just fine to others, such as ex03.axalgo.com and caleb.vegas.

According to this GitHub issue, the warning "dropping message over 1,000,000 bytes and re-synchronizing" seems to be related to trying to receive too much data. Do one or more address in your wallet have enormous transaction histories?
chamfort (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 12


View Profile
February 14, 2022, 10:39:50 PM
 #4

It fails to connect to some servers, but it connects just fine to others, such as ex03.axalgo.com and caleb.vegas.

According to this GitHub issue, the warning "dropping message over 1,000,000 bytes and re-synchronizing" seems to be related to trying to receive too much data. Do one or more address in your wallet have enormous transaction histories?

Yes that's right. One of the addresses has thousands of deposits.
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2965


Block halving is coming.


View Profile WWW
February 14, 2022, 11:02:24 PM
Last edit: February 14, 2022, 11:12:51 PM by BitMaxz
Merited by ABCbits (1), Pmalek (1)
 #5

Yes that's right. One of the addresses has thousands of deposits.

That is one of the big reasons why it stuck at synchronizing your Electrum and server-side have default max message size of 1MB that is why you get warning message below

Code:
20220214T211731.809460Z |  WARNING | NotificationSession | MemoryError('dropping message over 1,000,000 bytes and re-synchronizing')

They limit the transaction to around 10k transactions so if you have one address in your Electrum wallet with 10k transactions then you will get that error and it will stuck at syncing.

Are you planning to send some funds from the wallet?

The only solution for this issue is to wait for the updated Electrum Protocol, version 1.5 but they don't release it yet.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5588


Self-proclaimed Genius


View Profile
February 15, 2022, 04:11:51 AM
 #6

-snip-
Yes that's right. One of the addresses has thousands of deposits.
Please let me know what I can do to recover my funds! Thank you
A possible workaround is to create an imported wallet using the private keys of all the other addresses excluding the one with thousands of deposits.
That's if the excluded address doesn't have a relatively large balance, otherwise, try to create another imported wallet with that address' PrvKey, it may work if not included with the rest.

To export the keys from your wallet: Go to 'Addresses' tab ("View->Show Addresses" to enable the tab), right-click on an address and select "private key".
Copy the private key including the script type (eg. p2pkh:Kjs539fa9A.......).

To create an imported wallet: Create a new wallet (File->Restore->Type a wallet name), select "Import Bitcoin addresses or private keys";
Then paste the keys including the script type, one line per key.

After that just make sure not to open the wallet that's failing to connect; renaming the wallet file from your drive should do the trick.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
chamfort (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 12


View Profile
February 15, 2022, 05:40:50 AM
 #7

Yes that's right. One of the addresses has thousands of deposits.

That is one of the big reasons why it stuck at synchronizing your Electrum and server-side have default max message size of 1MB that is why you get warning message below

Code:
20220214T211731.809460Z |  WARNING | NotificationSession | MemoryError('dropping message over 1,000,000 bytes and re-synchronizing')

They limit the transaction to around 10k transactions so if you have one address in your Electrum wallet with 10k transactions then you will get that error and it will stuck at syncing.

Are you planning to send some funds from the wallet?

The only solution for this issue is to wait for the updated Electrum Protocol, version 1.5 but they don't release it yet.

I see. I don't think I have 10,000 transactions in that wallet but it's possible. When might they release version 1.5, how long has it been in the works? I do have a significant amount of funds in that wallet.
chamfort (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 12


View Profile
February 15, 2022, 05:47:20 AM
 #8

-snip-
Yes that's right. One of the addresses has thousands of deposits.
Please let me know what I can do to recover my funds! Thank you
A possible workaround is to create an imported wallet using the private keys of all the other addresses excluding the one with thousands of deposits.
That's if the excluded address doesn't have a relatively large balance, otherwise, try to create another imported wallet with that address' PrvKey, it may work if not included with the rest.

To export the keys from your wallet: Go to 'Addresses' tab ("View->Show Addresses" to enable the tab), right-click on an address and select "private key".
Copy the private key including the script type (eg. p2pkh:Kjs539fa9A.......).

To create an imported wallet: Create a new wallet (File->Restore->Type a wallet name), select "Import Bitcoin addresses or private keys";
Then paste the keys including the script type, one line per key.

After that just make sure not to open the wallet that's failing to connect; renaming the wallet file from your drive should do the trick.

Thank you. Unfortunately exporting the private key to a separate wallet didn't work, it's still stuck on synchronizing.

Is there another GUI or CLI wallet software I could use that can work with this number of transactions?
Rickorick
Jr. Member
*
Offline Offline

Activity: 107
Merit: 8


View Profile
February 15, 2022, 07:14:04 AM
 #9

Exporting should work. Did you get any errors when you did that?
hosseinimr93
Legendary
*
Online Online

Activity: 2394
Merit: 5235



View Profile
February 15, 2022, 07:23:30 AM
 #10

Is there another GUI or CLI wallet software I could use that can work with this number of transactions?
I think the best thing you can do is to use bitcoin core and run your own full node.
In this case, you will have the full blockchain on your device and there wouldn't be any problem when dealing with addresses that have big transaction history.

Just note that bitcoin core won't accept any seed phrase and you will have to import private keys.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
NeuroticFish
Legendary
*
Offline Offline

Activity: 3668
Merit: 6376


Looking for campaign manager? Contact icopress!


View Profile
February 15, 2022, 07:34:28 AM
Last edit: February 15, 2022, 09:04:19 AM by NeuroticFish
 #11

Thank you. Unfortunately exporting the private key to a separate wallet didn't work, it's still stuck on synchronizing.

Was it the export stuck (should not happen, you may be doing something wrong) or the import/sync in the new wallet (still too many tx)?

Is there another GUI or CLI wallet software I could use that can work with this number of transactions?

If you have too many transactions, the server will protect itself and will not send the info. So you may want to use something that's not using an external server. And then... it will be Bitcoin Core. Just then you'll have to download the whole blockchain (~400GB), hence you'll have to be prepared (time/patience, disk space unless you prune, but I don't advise that for your case, bandwidth).


(Update: fixed typo)

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1512
Merit: 7351


Farewell, Leo


View Profile
February 15, 2022, 08:56:52 AM
Merited by hugeblack (4), NeuroticFish (2), ABCbits (2), Pmalek (1), hosseinimr93 (1)
 #12

Alternatively, you can try to connect to my Electrum server via Tor.
Code:
electrum --oneserver --server nw724n2hcotb2zaavdwhaudgggvpukb5ybpkz4duz7fvnp5fgkycsnad.onion:50002:s

I've set txid_limit=100000000 in my configuration file, so it should allow large queries. If I were you, though, I'd listen to @hosseinimr93 and setup my own node. It's more practical and far more private, especially if we're talking about thousands of TXOs.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18509


View Profile
February 15, 2022, 09:00:55 AM
Last edit: February 15, 2022, 10:21:28 AM by o_e_l_e_o
Merited by NeuroticFish (2), ABCbits (1), Pmalek (1), hosseinimr93 (1)
 #13

There are some workarounds suggested in the GitHub issue I linked to above.

This reply from SomberNight (one of the Electrum devs) suggests trying to use fortress.qtornado.com:443:s as your server, since it has a higher limit than the default used by other servers. You'll still need to edit your client to bypass the client side limit though. You can do this by editing the variable MAX_INCOMING_MSG_SIZE in interface.py.

If doing that doesn't work, then you'll either need to host your own Electrum server where you can bump the limit up as high as you need to, or you'll need to export your private key to another client, probably Bitcoin Core.
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5588


Self-proclaimed Genius


View Profile
February 15, 2022, 10:40:06 AM
 #14

-snip-
Thank you. Unfortunately exporting the private key to a separate wallet didn't work, it's still stuck on synchronizing.
Have you closed Electrum then renamed the wallet file that causing the issue before opening the newly created imported wallet?
That is to make sure that it wont open when you run Electrum .
Because it it's just thousands of transactions, it should work; it wouldn't if the original wallet is running in another instance or in the background since both will query the same server.

Otherwise, I'd second the suggested 'Bitcoin Core' and disable "pruning".

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!