mist icon indicating copy to clipboard operation
mist copied to clipboard

No light sync: Mist is maybe the problem (geth runs properly)

Open kodejak opened this issue 9 years ago • 8 comments

Version: `0.9.3`
OS & Version: OS X High Sierra (10.13.1)
Node version: `geth 1.7.2` 
Number of blocks synchronized: 0

If I start mist it stucks on connecting to network and did not sync. I'm using the light (beta) option from the menu. This is my log:

INFO [12-03|00:04:49] Starting peer-to-peer node               instance=Geth/v1.7.2-stable-1db4ecdc/darwin-amd64/go1.9
INFO [12-03|00:04:49] Allocated cache and file handles         database=/Users/kodejak/Library/Ethereum/geth/lightchaindata cache=1024 handles=1024
INFO [12-03|00:04:49] Initialised chain configuration          config="{ChainID: 1 Homestead: 1150000 DAO: 1920000 DAOSupport: true EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Byzantium: 4370000 Engine: ethash}"
INFO [12-03|00:04:49] Disk storage enabled for ethash caches   dir=/Users/kodejak/Library/Ethereum/geth/ethash count=3
INFO [12-03|00:04:49] Disk storage enabled for ethash DAGs     dir=/Users/kodejak/.ethash                      count=2
INFO [12-03|00:04:49] Added trusted CHT for mainnet 
INFO [12-03|00:04:49] Loaded most recent local header          number=2645824 hash=6a3abb…deaae9 td=91103379384652472644
INFO [12-03|00:04:49] Starting P2P networking 
INFO [12-03|00:04:51] UDP listener up                          self=enode://a1cef4e0c7a5f252c420019625980faa3166d05a7998441726bdad6f27c6bcb749288986ed72eb2c6169d32ee13d0ef7cafb0d86862ec88a37efb3da5f6e5d2a@89.244.202.146:30303
WARN [12-03|00:04:51] Light client mode is an experimental feature 
INFO [12-03|00:04:51] RLPx listener up                         self=enode://a1cef4e0c7a5f252c420019625980faa3166d05a7998441726bdad6f27c6bcb749288986ed72eb2c6169d32ee13d0ef7cafb0d86862ec88a37efb3da5f6e5d2a@89.244.202.146:30303
INFO [12-03|00:04:51] IPC endpoint opened: /Users/kodejak/Library/Ethereum/geth.ipc 
ERROR[12-03|00:04:51] Failed to retrieve current release       err="can't fetch trie key fba965139e53c9b0ed5e415290f2899b60959b572e330534740e408d460c903f: no suitable peers available"

So I deleted all files from lightchaindata folder. If I run geth from command line it works. (./geth --syncmode "light" --cache=1024) It is synching with average count=192 While it is synching I am starting Mist and suddenly the count slows down to count=2 and then it freezes.

What can I do?

kodejak avatar Dec 02 '17 23:12 kodejak

I have the same problem. The log shows the same messages as kodejak has.

Version: 0.9.3 OS & Version: Windows 10 (1703 Build 15063,608) Node version: geth 1.7.2 Number of blocks synchronized: 4,668,522

Trollgaard-Sr avatar Dec 03 '17 16:12 Trollgaard-Sr

Same here. It is like no one is ever using the light client

tadanderson avatar Dec 10 '17 03:12 tadanderson

Can you guys confirm which Geth version are you starting manually?

evertonfraga avatar Dec 12 '17 15:12 evertonfraga

1.7.3 It complete the download yesterday and was caught up most of the day. Still have not put Mist back on. Will just wait for an update. It does not seem to recognize 1.7.3.

Tad

On Dec 12, 2017, at 10:59 AM, Ev [email protected] wrote:

Can you guys confirm which Geth version are you starting manually?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

tadanderson avatar Dec 12 '17 17:12 tadanderson

I'm using Geth 1.7.2 generally.

The last few days Geth through Mist is synching with Light option. After some days I tried to start Mist again. Since maybe 4 days Mist is synching again after few minutes waiting.

The problem is solved? Is it depending on the Ethereum network?

Question: How can I do using Mist with the current 1.7.3 version of Geth? Where is the config to tell Mist using Geth version?

kodejak avatar Dec 15 '17 00:12 kodejak

I had been trying to sync the chain using mist 0.9.3-2 on my Arch Linux for 2 weeks but new blocks appear faster than they sync. I get less than a block per seconds (on a 50 MBit connection) and have 300k+ more to go. So I checked github for bugs and this brought me here. I just tried to run geth 1.7.2-stable-1db4ecdc manually with the suggested options and it drops out with WARN [12-18|01:13:42] Rolled back headers count=2048 header=42432->40384 fast=0->0 block=0->0 WARN [12-18|01:13:42] Synchronisation failed, dropping peer peer=######### err="retrieved hash chain is invalid" after a couple dozens of Imported new block headers count=192

fraxinas avatar Dec 18 '17 00:12 fraxinas

@kodejak You can run Geth 1.7.3 on the terminal before starting Mist. I used this command: geth --light --cache 1024

duxora avatar Dec 18 '17 00:12 duxora

thanks @duongthienduc

I tried geth 1.7.3 and after lots of minutes it works. After trying and connecting to ca 2400+ ip addresses it found possibly a light node!? Can light clients only synching with light nodes?

kodejak avatar Dec 18 '17 19:12 kodejak