Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Ethereum Wallet does not synch (downloading chain structure without end in sight) #2749

Closed
shalav opened this issue Jul 12, 2017 · 144 comments
Closed
Labels

Comments

@shalav
Copy link

shalav commented Jul 12, 2017

Version: `0.8.10`
OS & Version: osx
Node type: `Geth 1.6.6 (Go)`
Number of blocks synchronized: 4010159

I'm not a techie but wanted to try and download and synch a wallet to start to learn. It's been three days and the wallet has not synched. The "downloading chain structure" never ends. What options do i have?

@sathishvj
Copy link

It usually does take a few hours. But if it's taking too long, you want to check other things like - is a firewall/antivirus blocking anything, are you behind a proxy and can you try on another network, any specific issues shown in the log file?

@shalav
Copy link
Author

shalav commented Jul 12, 2017

Hey Sathish - i read your earlier responses on the same lines. No firewall/antivirus, no proxy, tried two networks too. No log file issues that i can see. The issue is that it's been 3 days and the chain structure just keeps on growing, just never ends.

@Jex-y
Copy link

Jex-y commented Jul 13, 2017

I have the same problem

@Dbabcock001
Copy link

I have the same problem and have also sent Ether to my wallet and it still reads o and have left it running for days and days

@sathishvj
Copy link

@shalav @Jex-y the best I can do is to point you to other detailed troubleshooting tips.
https://theethereum.wiki/w/index.php/Ethereum_Wallet_Syncing_Problems
https://github.com/ethereum/mist/wiki

@Dbabcock001 yours seem more likely because the blocks are yet to be synced. You can still check your balance on etherscan.io and transact via https://www.myetherwallet.com

@slimmer80
Copy link

slimmer80 commented Jul 19, 2017

I have the same problem too. Blocks 402xxxx.

@bmilesp
Copy link

bmilesp commented Aug 9, 2017

same issue- chain structure is at 5,090,000 and max is ever increasing at 5,115,000.

The Downloading is endlessly chasing the chain structure max and it's been many days.

@cchuter
Copy link

cchuter commented Aug 12, 2017

Same here. It looks like this isn't a priority for fixing or they just can't repro it. It's going to be up to us to fix it or abandon MIst/Wallets in Ethereum.

I'm on my third day of trying to download the block chain for my wallet. I'm on Windows 10. I have no firewall/proxy/network issues. Here's the last entries in the log when it's stuck (nothing unusual except the retry):

INFO [08-12|12:55:12] Imported new state entries count=1 flushed=1 elapsed=0s processed=19798 pending=3054 retry=1 duplicate=0 unexpected=2
INFO [08-12|12:55:14] Imported new state entries count=384 flushed=420 elapsed=114.308ms processed=20182 pending=3124 retry=2 duplicate=0 unexpected=2
INFO [08-12|12:55:15] Imported new state entries count=384 flushed=404 elapsed=22.045ms processed=20566 pending=2876 retry=2 duplicate=0 unexpected=2
INFO [08-12|12:55:17] Imported new state entries count=384 flushed=386 elapsed=92.248ms processed=20950 pending=2919 retry=264 duplicate=0 unexpected=2

It appears to get stuck chasing the chain structure. I have chain structures in the millions as well and they appear to just go on and on (the progress bar is not helpful).

There is a workaround. Restarting. Over and Over. It will still take days. When it gets into the contemplating its navel over chain structures. Kill it and restart.

@bmilesp
Copy link

bmilesp commented Aug 14, 2017

Update - Chain Structure eventually completed, block sync still having trouble- it's been over 5 days now.

@nazimran
Copy link

I have the same problems. Situation angle.
The chain is in an infamous situation.
deplorable.

@bmilesp
Copy link

bmilesp commented Aug 23, 2017

Another Update- block sync now has over 30000 blocks to sync. Currently 4 peers connected (I've seen up to 12 over the past few days),

But block sync rate seems to be 1 block per minute!

@anat0lius
Copy link

same

I'm giving up, will try parity

@bmilesp
Copy link

bmilesp commented Aug 23, 2017

after updating to the latest version of geth (1.6.7) do:

  1. remame ~/.ethereum/chaindata forlder to chaindata-old
  2. run geth --fast --cache=1024 in the terminal
  3. run mist (latest version 0.9.0)

and this seems to download mich faster with no interuptions so far. probably will take a few hours but this seems to be the way to make mist work again.

-bp

@joe1234555
Copy link

Ethereum is broken. It's impossible to get a wallet working even with light geth the chain structure never ends =-(

@keskival
Copy link

My downloading chain structure goes at about 21,000,000 and counting. Where can I check what is the total at this time?

@wtfiwtz
Copy link

wtfiwtz commented Sep 23, 2017

Check out this discussion: #3023

@wtfiwtz
Copy link

wtfiwtz commented Sep 23, 2017

And this: ethereum/go-ethereum#15001

@evertonfraga
Copy link
Member

Hi, we have just launched Mist v0.9.1, with Light Client integration (beta).

What does that mean?

  • Sync times reduced by an order of magnitude while staying safe.
  • Much smaller storage required.

How to activate?
30986199-ff885216-a468-11e7-82ec-e66aeb859ab8

I'm closing this issue. Should you have any trouble, please refer to this canonical issue: #3097

@toffife
Copy link

toffife commented Oct 11, 2017

Stop giving temporary and untested solutions and fix the problem!

Saying to users to delete datafolder and syncing from start=pointless and not reliable and may cause loss of all user holdings! (make a proper tool for it atleast) anyway it does not fix the issue just redownloads and comes to same as before!

Light client # (BETA) a users are loosing contracts created in combination with "datafolder" solution.

https://pastebin.com/TbqRBYhm

@CoinKhan
Copy link

Let me add my $0.02.

We are talking about downloading some files/data. Downloading technology is prehistoric dating back to 1987 with Gopher. In 2017 a simple download cannot get done in 2 months? It is some kinda dubious guiness record.

Here I have terabytes disk, mininum 4 mb speed, 8GB RAM, Eastern timezone. Most of the time it shows connecting to 12 peers.

Block size shows around 45xxxxxxx. Downloading stops before only 65 blocks. Then it goes to downloading chain structure for 3 weeks. Restarting/deleting or any other stunt doesn't help.

This is beyond pathetic.

Note: light client only helps you if you are transacting ether. It does not help if you are working with contracts/tokens.

I don't understand the settings in Geth/Mist. Why does it stop only a few blocks before finishing? Why does it do infinite/indefinite chain structure downloading? At least it could display the progress in clear terms. Often the messages disappear and leaves one to wonder what is happening (and leading to shutting off the program). Why is it so hard to display progress without the suspense? Why is it hard to show how much is left to download in both blocks and chain str? Why can't chain structure do it like bit torrent, instead of restarting the download everytime from scratch? These are design problems. Some serious intervention is required to uplift these tools.

  • pl don't suggest SSD is required for downloading. HDDs are fast enough for the present block growth. My HDD wrote 45G of data in a few hours.

  • pl don't suggest parity as an option. Hackers are enjoying parity.

  • why can't trusted nodes be used to support subnodes to use the interfaces?

  • Pl don't suggest myetherwallet or other gateways because it involves risks.

  • Mist light client is good enough for tracking money/transactions. But it is not good enough for contracts.

-At the rate the data is growing, by 2019 it would hit 1 terabyte and nobody will be able to download/sync data. Ether will be dead in water. Similar problem might exist in Bitcoin.

@bozgoren
Copy link

Wow seems people having same problem months ago. and i am having the same. So seems i will not be able to bother with ethereum.

@slimmer80
Copy link

slimmer80 commented Nov 25, 2017

default
default

Without end :(

p.s.
wallet doesnt close. Sync 24/7.

p.p.s.
24 hours passed
default

@BlackhatEspeed
Copy link

I'm having the exact same problem.

@dimcoderx
Copy link

Version 0.9.3
Os Ubuntu 17.10
Same problem, it wont sync, stops downloading blocks and downloads the chain structure for hours, its been 2 hours already, i am only 169 blocks behind, seems like its an old problem.

@claus
Copy link

claus commented Nov 29, 2017

0.9.3, macOS High Sierra, latest iMac, 200mbps fiber connection, no proxy/firewall/av.
Same problem.
screen shot 2017-11-29 at 17 38 33

@Clackamas1
Copy link

Clackamas1 commented Nov 30, 2017

I am having a similar problem. I signed up to mine new ETH because my GFX card is really good at it and it sits idle for 20 hours a day. I thought I may as well put it to work. I can't get a wallet so I don't have an address so I can't mine. To me this looks like an exponential problem. I am block 4,648,585 of 4,648,707 with so far a chain structure of 14,***, **** and increasing. If each addtional block has an ever increasing chain structure, it would take forever to do the last block at maximum. I personally think eth is probably done. We don't have the compute or network power to do this downloading everyday. You will fall behind and never catch up. I don't understand how online wallets are able to keep up.

@justinbass
Copy link

justinbass commented Nov 30, 2017

Same problem, cannot use my ethereum at all (Win7).

Edit: I got it to work by letting the initial window (with Launch Application) run for about an hour. For some reason, it won't work in the main Ethereum window. All is well now.

@steve100254
Copy link

@abishai You don't have to be spot on the blockchain to mine. It should only take a few hours to load back up if you ever have to "removedb" again. That said, I always use geth --fast-cache4096 as the fast load, then if it hangs I restart it with geth -rpc. Then load your miner (I use ethminer) and within minutes the blockchain should sync with your miner

@steve100254
Copy link

@desdonnelly This is my suspicion........It's only a suspicion of course. The programmers are working feverishly to eliminate PoW and only have time for PoS. Those of us who came to the trough "late" have to work it out for ourselves. I have read all kinds of talk from March of 2016 that PoS was "imminent".
I decided to jump in anyway

@michnovka
Copy link

I also had issue with fast syncing downloading for ages on Ubuntu 16.04. There seemed to be some bug in geth 1.7.2 which is deployed with Electrum Wallet 0.9.3, as it would go even over the highest block in fetching new block headers. I was unable to get it up in both fast and light mode. I found this solution:

  1. remove ~/.ethereum/geth/*chaindata
  2. Download latest geth (1.7.3 as of now)
  3. exctract it and start it with command
    geth --syncmode light --cache 1024 console
  4. wait for syncing to start and finish in light mode (you can type eth.syncing to see how close you are to being synced)
  5. close new geth with exit command
  6. run ethereum wallet in light mode (ethereumwallet --syncmode light)
  7. Wait for ethereum app to fully sync (and show your balance if you managed to sync for the very first time)
  8. close ethereum wallet
  9. start ethereum wallet without --syncmode command
  10. under develop menu, tick to use Light mode (this option is not there if you run with --syncmode command, this is why you had to exit and start again)
  11. close ethereumwallet
  12. start again - light mode settings will be saved

I was up and running within 20 mins, I can live with using light mode and not fast mode.

@WernerderChamp
Copy link

Ad I could not sync using windows (light client didn't work at all; when starting syncing from a downloaded state it synced with 10-12 blocks/minute) I set up a Linux server. Goal was to sync there and then copy/paste the chaindata (used --fast --cache=5000). After 20h37m it is now only syncing states. Sadly only 300k/hour, so it will probably take a while from now. Weird also that Geth sometimes required over 16GB RAM (had to use a swapfile as my server only has 8GB).

Stalling state sync, dropping peer has occurred 27676 times within 25h. I don't really know what it means, but it happens extremly often (in fact only every third line is something else atm). Currently only 2 GB of the swap are used, still a shit ton of RAM.

If this doesn't work (synctime on my PC <30-60 blocks/minute), I'll switch to parity. This is unacceptable. No way a regular user with 50Mbit and no SSD could ever sync the chain

@michnovka
Copy link

@WernerderChamp what is your geth version?

@WernerderChamp
Copy link

1.7.3

@Raincle
Copy link

Raincle commented Jan 23, 2018

Happy to know ETH official wallet.
Happen to know the most ridiculous wallet.
Standing in silent tribute for the time I wasted.

@ghost
Copy link

ghost commented Jan 25, 2018

Same here, time to search for an alternate coin to mine, not going to waste my energy and money to this ridiculous piece of software.

Somewhere i get a creeping feeling that when i'm syncing, my system is being used to mine by the network, and my computing power is sent to the keepers of the network, if that's possible anyway, still new to all this, so i might be talking nonsense, but i have a lot of experience with human beings and the tricks they use to deceive you.

@msx752
Copy link

msx752 commented Jan 28, 2018

same problem !

@stixpunk
Copy link

Same problem...stucked with sync and deleted chaindata folder, download geth, run with fast and cache 2048. Blocks are synced in few hours and now downloading chain structure for 48h+ and have only 23M.
I love ethereum, but official wallet is dead :(

@javerous
Copy link

Did you tried to switch your computer from 24h clock to 12h clock ? (it fixed the problem there, don't know why).

@msx752
Copy link

msx752 commented Jan 29, 2018

i found a solution and it is working
https://gist.github.com/msx752/fda05f1ae47c5918fbe2005a8fb9d187#file-readme-md

@ak-19
Copy link

ak-19 commented Feb 6, 2018

Ethereum project people are bunch of retards.
It is futile to say anything more about this piece of crap, you guys just wasted a lot air here
They can't even create simple application to view account balance !!
Before you see your balance you need to download something for 5-6 days (in theory)
but really this never ends. Sync just goes forward - back - forward - back in infinite loop.
The network it self is hacked at least 10 times in a hour.

@ykristen
Copy link

why does the chain structure reset everytime you shut down the program? so you have to re download the chain structure each time which can take a few hours to days depending on your computer power. This is bad programmers and engineers?

@stixpunk
Copy link

Mist is dead, I have i7, 16gb ddr4, ssd, 100Mbit connection and try to sync for many weeks without success. Try all methods which found on github and discussions, but sync is still very slow. Blocks are downloaded fast, but download chain structure is imposible. And developers ignore many issues here.....result -> official wallet killing whole ethereum project :(

@steve100254
Copy link

steve100254 commented Feb 20, 2018 via email

@stixpunk
Copy link

mining is irelevant to wallet

@steve100254
Copy link

steve100254 commented Feb 20, 2018 via email

@stixpunk
Copy link

stixpunk commented Feb 20, 2018

what is conjuction between mining and geth? i think, it's two different things. it's usual to use small ssd only for os on mining rigs and different pc/server for wallet. and what about people who don't mining and want only buy and hold? i have wallets of 16 coins on home NAS server and ethereum mist is only one with sync problems

edit: and it starts this year, first sync freeze on one block. then i clear data and run geth with fast parameter and from this time it's impossible to sync chain data. in past sync was ok

@steve100254
Copy link

steve100254 commented Feb 20, 2018 via email

@stixpunk
Copy link

i tried to run geth without mist many times. will try it again with ethminer

@djlduffy
Copy link

This just worked for me on Rinkeby:

  • remove ~/.ethereum/geth/*chaindata
  • Download latest geth (1.7.3 as of now)
  • extract it and start it with command:
    geth --rinkeby --syncmode light --cache 1024 console
  • wait for syncing to start and finish in light mode (you can type eth.syncing to see how close you are to being synced)
  • Start Mist using /Applications/Mist.app/Contents/MacOS/Mist --syncmode light --rpc $HOME/Library/Ethereum/rinkeby/geth.ipc

@stixpunk
Copy link

would be great if ethereum organization start to provide daily blockchain export for download. this will solve initial sync problems for all

@geospus
Copy link

geospus commented Mar 8, 2018

Hi everyone,
Is it possible to move eth wallet from one drive to another? Do i need change some path for it, or it would be work well? bcz it start syncing by default at C:\user\AppData\Roaming\Ethereum\geth and I want to move it on another drive.

@WernerderChamp
Copy link

@geospus Use symbolic links.

On Windows, open command line (not the new windows power shell) with administrator rights, then type

mklink /D "C:\path\to\geth-folder" "E:\wherever you want\to store your chaindata.

Please note that you'll have to rename/move your original geth folder first before you can create the link. After you've done it, geth will save its data on your other drive.

I did it too and it works a lick

@WernerderChamp
Copy link

To the others, I heard using the 1.8.1 improves the situation

@wtfiwtz
Copy link

wtfiwtz commented Mar 11, 2018

See this issue for a detailed description of what is going on under the hood - ethereum/go-ethereum#15001 (comment)

@earthvisitoruk
Copy link

who owns this ethereum wallet i need to change address to another wallet can i export from here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests