mist icon indicating copy to clipboard operation
mist copied to clipboard

Ethereum Wallet gets stuck on sync

Open califa opened this issue 9 years ago • 90 comments

System information

Version: Ethereum Wallet 0.8.10
OS & Version: OS X 10.12.5 (Sierra)
Node type: Geth 1.6.5 (default)

I've tried to delete the chaindata folder and start over 3 times now, but every time the sync process gets started on a seemingly random block. I'm not sure what's up or how to resolve this.

image

Not sure if this is related, but Cmd-Q or closing it down doesn't seem to work (it just adds a message "Checking network..." and stays open) and I've had to kill the process to shut it down.

Here's the console:

image

And the log files:

logfiles.zip

Any ideas? Thanks!

califa avatar Jun 22 '17 15:06 califa

My sync has been extremely slow (and inconsistent) since yesterday. --fast and --cache=1024 haven't seemed to help. I've been stuck on the same block for an hour now. It just says Downloading Block 3,xxx,xxx out of 3,913,622.

spoikonen avatar Jun 22 '17 15:06 spoikonen

I have the same situation, the new blocks are downloaded quickly, and then for a very long time looking for peers for a few hours. What can be the reason?

IvanM1993 avatar Jun 22 '17 18:06 IvanM1993

Same issue here... What's going on someone help us out.

Sylk avatar Jun 22 '17 23:06 Sylk

Same issue here. Been stuck around 1.5 - 1.7 m blocks last 2 days

j-chimienti avatar Jun 23 '17 00:06 j-chimienti

same issue. is anyone helping? is not possible to wait 2-3 or more days just to have the wallet up to date.

nicoleta31 avatar Jun 23 '17 06:06 nicoleta31

very simple, some hackers of the big companies what to block the individuals and to force them to use "online" wallets.

But they are stupids, in this way millions of people will go to bitcoin and other virtual currencies.

Just bunch of Idiots.

eldadwasserman avatar Jun 23 '17 08:06 eldadwasserman

I had the same problem on 3 different PCs. My issue was that geth suddenly crashes when started in background by the Ethereum Wallet application. You can verify this from the Task Manager: when you start Ethereum Wallet, you will notice that also geth is started and after a few minutes, it will disappear (probably crashing).

My solution was to close Ethereum Wallet and start geth from its directory which you can reach from the etherem wallet menu Account->Backup->Applicative Data and then, once the file explorer shows up, "binaries\Geth\unpacked\geth.exe". now let it be until you see that it adds a line every 30 seconds. Press CTRL C and re-open Ethereum Wallet.

However, geth will continue to disappear, but once the blockchain is synchronized, you can just close and reopen the Ethereum Wallet.

hope it helps

solarin avatar Jun 23 '17 22:06 solarin

@solarin do you have similar advice for OS X? I'm running geth in the background and it's giving me issues:

image

INFO [06-23|22:36:33] Allocated cache and file handles         database=/Users/joel/Library/Ethereum/geth/chaindata cache=128 handles=1024
INFO [06-23|22:36:33] Initialised chain configuration          config="{ChainID: 1 Homestead: 1150000 DAO: 1920000 DAOSupport: true EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Metropolis: 9223372036854775807 Engine: ethash}"
INFO [06-23|22:36:33] Disk storage enabled for ethash caches   dir=/Users/joel/Library/Ethereum/geth/ethash count=3
INFO [06-23|22:36:33] Disk storage enabled for ethash DAGs     dir=/Users/joel/.ethash                      count=2
INFO [06-23|22:36:33] Initialising Ethereum protocol           versions="[63 62]" network=1
INFO [06-23|22:36:33] Loaded most recent local header          number=766837 hash=ac48ae…e821e8 td=4846919864801191634
INFO [06-23|22:36:33] Loaded most recent local full block      number=0      hash=d4e567…cb8fa3 td=17179869184
INFO [06-23|22:36:33] Loaded most recent local fast block      number=761344 hash=98c446…44ecc0 td=4799615785073116761
INFO [06-23|22:36:33] Starting P2P networking 
INFO [06-23|22:36:35] Mapped network port                      proto=udp extport=30303 intport=30303 interface="UPNP IGDv2-IP1"
INFO [06-23|22:36:35] UDP listener up                          self=enode://12749cacc6227c63e7c2a167c0a0d862dfe1ffab2cb3bdbceae49ad6485217a34bf8f74afcf3a6eb4d80fa87a4182a3219d414c456ff94b702ccf1106756c4d9@24.90.4.73:30303
INFO [06-23|22:36:35] RLPx listener up                         self=enode://12749cacc6227c63e7c2a167c0a0d862dfe1ffab2cb3bdbceae49ad6485217a34bf8f74afcf3a6eb4d80fa87a4182a3219d414c456ff94b702ccf1106756c4d9@24.90.4.73:30303
INFO [06-23|22:36:35] IPC endpoint opened: /Users/joel/Library/Ethereum/geth.ipc 
INFO [06-23|22:36:35] Mapped network port                      proto=tcp extport=30303 intport=30303 interface="UPNP IGDv2-IP1"
INFO [06-23|22:36:45] Block synchronisation started 
WARN [06-23|22:36:55] Synchronisation failed, retrying         err="block download canceled (requested)"
INFO [06-23|22:36:58] Imported new state entries               count=1 flushed=0 elapsed=997.892µs processed=1 pending=17 retry=0 duplicate=0 unexpected=0
INFO [06-23|22:36:58] Imported new state entries               count=2 flushed=0 elapsed=1.030ms   processed=3 pending=49 retry=2 duplicate=0 unexpected=0
INFO [06-23|22:36:58] Imported new state entries               count=5 flushed=0 elapsed=4.732ms   processed=8 pending=129 retry=0 duplicate=0 unexpected=0
INFO [06-23|22:36:59] Imported new state entries               count=33 flushed=0 elapsed=13.850ms  processed=41 pending=657 retry=3 duplicate=0 unexpected=0
INFO [06-23|22:36:59] Imported new state entries               count=215 flushed=0 elapsed=75.819ms  processed=256 pending=4088 retry=2 duplicate=0 unexpected=0
INFO [06-23|22:36:59] Imported new state entries               count=78  flushed=0 elapsed=22.824ms  processed=334 pending=5336 retry=0 duplicate=0 unexpected=0
INFO [06-23|22:36:59] Imported new block headers               count=0   elapsed=4.224ms   number=761536 hash=802579…262ac1 ignored=192
INFO [06-23|22:36:59] Imported new state entries               count=384 flushed=0 elapsed=281.100ms processed=718 pending=10624 retry=2 duplicate=0 unexpected=0
INFO [06-23|22:37:00] Imported new state entries               count=1   flushed=0 elapsed=92.737µs  processed=719 pending=10627 retry=1 duplicate=0 unexpected=0
INFO [06-23|22:37:00] Imported new state entries               count=5   flushed=0 elapsed=4.320ms   processed=724 pending=10626 retry=1 duplicate=0 unexpected=0
WARN [06-23|22:37:00] Node data write error                    err="leveldb/table: corruption on data-block (pos=770870): checksum mismatch, want=0x53d75c8e got=0x1a62c72c [file=003843.ldb]"
WARN [06-23|22:37:00] Synchronisation failed, retrying         err="leveldb/table: corruption on data-block (pos=770870): checksum mismatch, want=0x53d75c8e got=0x1a62c72c [file=003843.ldb]"
INFO [06-23|22:37:03] Imported new state entries               count=0   flushed=0 elapsed=788.485µs processed=724 pending=1     retry=1 duplicate=0 unexpected=252
INFO [06-23|22:37:03] Imported new state entries               count=1   flushed=0 elapsed=288.474µs processed=725 pending=17    retry=0 duplicate=0 unexpected=252
INFO [06-23|22:37:03] Imported new state entries               count=16  flushed=0 elapsed=4.207ms   processed=741 pending=273   retry=0 duplicate=0 unexpected=252
INFO [06-23|22:37:04] Imported new state entries               count=256 flushed=0 elapsed=69.156ms  processed=997 pending=4369  retry=0 duplicate=0 unexpected=252
INFO [06-23|22:37:04] Imported new state entries               count=384 flushed=0 elapsed=125.867ms processed=1381 pending=10488 retry=0 duplicate=0 unexpected=252
INFO [06-23|22:37:05] Imported new state entries               count=384 flushed=0 elapsed=434.040ms processed=1765 pending=15158 retry=0 duplicate=0 unexpected=252
INFO [06-23|22:37:05] Imported new state entries               count=1   flushed=0 elapsed=2.199ms   processed=1766 pending=15173 retry=3 duplicate=0 unexpected=252
INFO [06-23|22:37:05] Imported new state entries               count=384 flushed=0 elapsed=48.109ms  processed=2150 pending=16151 retry=0 duplicate=0 unexpected=252
WARN [06-23|22:37:05] Node data write error                    err="leveldb/table: corruption on data-block (pos=770870): checksum mismatch, want=0x53d75c8e got=0x1a62c72c [file=003843.ldb]"
INFO [06-23|22:37:05] Imported new block headers               count=0   elapsed=26.812ms  number=761920 hash=4bf4a0…45a0cc ignored=576
WARN [06-23|22:37:05] Synchronisation failed, retrying         err="leveldb/table: corruption on data-block (pos=770870): checksum mismatch, want=0x53d75c8e got=0x1a62c72c [file=003843.ldb]"
WARN [06-23|22:37:05] Synchronisation failed, dropping peer    peer=0a6dc852bc2469a0 err="action from bad peer ignored"
WARN [06-23|22:37:06] Synchronisation failed, dropping peer    peer=499b5debd0a7c5db err="action from bad peer ignored"
INFO [06-23|22:37:20] Imported new block headers               count=0   elapsed=53.057ms  number=762304 hash=d1d9de…9ff234 ignored=960
INFO [06-23|22:37:21] Imported new block headers               count=0   elapsed=24.873ms  number=762880 hash=01b42d…e983ef ignored=576
CRIT [06-23|22:37:24] Failed to store block body               err="leveldb/table: corruption on data-block (pos=770870): checksum mismatch, want=0x53d75c8e got=0x1a62c72c [file=003843.ldb]"```

califa avatar Jun 24 '17 02:06 califa

Deleted chaindata and ran it again. This time it failed on another block. Really not sure what's happening.

logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

califa avatar Jun 24 '17 03:06 califa

I started on Monday and it was extremely slow like explained above. I delete all eth* on all my disks. Restart ... let it run ... (with --fast --cache 1024 saw in "ps -ax") and today ... 5 days later ... (until 20 mn per block sometimes) it is written "1 553 897 block left". Its slow but blocks are processed. So i think it will finish at the middle of next week. (I share my 30303 port). The only thing interesting i found is this : https://ethereum.stackexchange.com/questions/9883/why-is-my-node-synchronization-stuck-extremely-slow-at-block-2-306-843 and not "some hackers of the big companies".

Arthur111 avatar Jun 24 '17 09:06 Arthur111

It is very slow and at a some point it won't sync anymore though there are active peers connection.

Salmen2 avatar Jun 24 '17 10:06 Salmen2

jcalifa, unfortunately I didn't try on OS X, one question: how many free GBs do you have?

solarin avatar Jun 24 '17 10:06 solarin

tried for week same problem, can I get my ether sent back to coin base? TxHash: 0xeb8194034103199574ad8c10bb5c4be31e13530a2f8194d3e2107fb623b9c47a

Block Height: 3764170 (158308 block confirmations)

TimeStamp: 30 days 2 hrs ago (May-25-2017 07:58:56 AM +UTC)

From: 0xfb50195f39be7f7b71f712ed5baa0374f3abe809

To: 0x0ea415b4574f5204ebea642dd9430967a35b70a6

Value: 4.17 Ether ($1,360.59)

Gas Limit: 90000

Gas Price: 0.00000002 Ether (20 Gwei)

Gas Used By Txn: 21000

Actual Tx Cost/Fee: 0.00042 Ether ($0.14)

Cumulative Gas Used: 1318761

Nonce: 0 And I also tried to buy direct from wallet............................

TxHash: 0x867188bf8b6f0ad6843a88c3222739acfa5a301ae7389a1f18e32e45ab1fd74a

Block Height: 3766241 (156264 block confirmations)

TimeStamp: 29 days 17 hrs ago (May-25-2017 05:02:23 PM +UTC)

From: 0x6d20885d201297bcb0ad503071540262fa686679

To: 0ea415b4574f5204ebea642dd9430967a35b70a6

Value: 0.25777091 Ether ($84.06)

Gas Limit: 90000

Gas Price: 0.00000002 Ether (20 Gwei)

Gas Used By Txn: 21000

Actual Tx Cost/Fee: 0.00042 Ether ($0.14)

Cumulative Gas Used: 2511929

Nonce: 0

zboneh avatar Jun 24 '17 10:06 zboneh

It is very slow and at a some point it won't sync anymore though there are active peers connection.

And Eth/Usd will go south, until they clean up the mess.

Arthur111 avatar Jun 24 '17 10:06 Arthur111

Another thing to add is it imply a very very high disk activity. For this reason i stop it and run disk utility and other tools to repair the directory and defragment the disk every 6 hours. (I got a message saying "Disk is too hot"). Maybe this explain why some people have crash or are unable to run it. Check your hard drive ! (Repair it and defragment it !).

Arthur111 avatar Jun 24 '17 11:06 Arthur111

There is a problem with --fast because its disabled if the blockchain is not empty when the app is launched see : https://github.com/ethereum/go-ethereum/issues/2639 and the problem is closed with this reason : " That's intended. Fast sync runs only once for security reasons. ".

and i added this comment :

"fast sync must be disabled when the first time its sync. Until its not sync the first time --fast must stay enabled. Like this you can restart as you want, or after a crash (bug) until its sync for the first time."

Arthur111 avatar Jun 24 '17 17:06 Arthur111

Hey so, any idea what can be done to resolve this and complete sync?

califa avatar Jun 24 '17 17:06 califa

@solarin I have 470GB free

califa avatar Jun 25 '17 05:06 califa

What does it mean? Eth is death?

Since 7 days i try to sync all chain but he stars random new

5 hours ago i have 2peer at 13%

1 hour ago i have 1 peer and 2%.....

more then 2 peers i never had.

BoBBer446 avatar Jun 25 '17 19:06 BoBBer446

Same problem. Hasn't synced after a week on a gigabit connection running on a new desktop with plenty of disk space.

stevedekorte avatar Jun 27 '17 22:06 stevedekorte