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

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

Open
kodejak opened this issue Dec 2, 2017 · 8 comments
Open

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

kodejak opened this issue Dec 2, 2017 · 8 comments

Comments

@kodejak
Copy link

kodejak commented Dec 2, 2017

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?

@Trollgaard-Sr
Copy link

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

@tadanderson
Copy link

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

@evertonfraga
Copy link
Member

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

@tadanderson
Copy link

tadanderson commented Dec 12, 2017 via email

@kodejak
Copy link
Author

kodejak commented Dec 15, 2017

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?

@fraxinas
Copy link

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

@duongthienduc
Copy link

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

@kodejak
Copy link
Author

kodejak commented Dec 18, 2017

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?

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

No branches or pull requests

6 participants