-
Notifications
You must be signed in to change notification settings - Fork 20.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Geth light sync - Stucks at "IPC endpoint opened" #14904
Comments
Currently facing the same problem - having a bit more in the log -
Perhaps some key nodes switched off the light feature for some reason? Adding some static nodes might help in the meantime. Anyone knows some nodes with switched on light support? EDIT: was just not patient enough and confirmed the error to early - after some time it started syncing:
|
@bomberb17 I've been stuck with this all day and then realised if instead of using the deprecated |
@mikedarke I don't know how you did this, you can't run --syncmode and --light at the same time, --light is by default now. I'm having the same issue for teh past week. |
@bomberb17 no I didn't run --syncmode and --light at the same time. Instead of running geth with the --light option I ran it using Using the I tested this in multiple environments that were all not progressing past the "IPC endpoint opened" stage using the --light option. Using |
You are right, --syncmode light works fine on me as well. |
:( |
OK. on an arm6 node I can run --syncmode light option but on my x64 mode I get that fatal error. weird. |
I can confirm this:
doesn't work past
whereas
works without problem. |
I can also confirm the comment above on version 1.6.7 for windows.
Perhaps |
I set up a new node on Ubuntu 16.04.03 LTS with geth version 1.6.7-stable-ab5646c5 on the Ropsten testnet:
Both
Is the |
Same as ayang99, I am running Ubuntu 16.04 LTS on amazon web service server: works fine: freezes at "Failed to retrieve current release err="can't fetch trie key": only difference is "fast" vs "light" thanks |
1.7.2 |
delete everything in chaindata folder and run geth again. This happens me all the time when I sync in light mode and I have to sync again. |
might have to do with - #15342 - I also had to switch off lightserv so the node is not crashing. I think there are very little nodes serving les now. Very unfortunate. |
deleting chaindata didn't help, switching to fast mode |
I have the same issue. After deleting chaindata, it works the first time (though I have to wait quite a lot of time until it imports all headers), but after restarting it prints this Using This is on |
For me it eventually recovers (<2hr) Update: it still crashes ~daily |
we will see, facing the same problem last week. Last time left it on for 10h but nothing moved. |
Removing |
I can also confirm seeing similar behavior using light mode with "no suitable peers available" when I run geth from the CLI. |
Solution:"can't fetch trie key ...: no suitable peers available"--> is not about Chaindata, is about connecting nodes. probably you run geth with a firewall, this is a issue for light users, solved it: delete your node key from your saved data dir, and boot geth like
this is for connecting to the rinkeby test network. after this step you can connect the mist wallet manually by:
:) |
I just wanted to have a test run to set up an account and typed this at the command prompt. Something tells me I should be using ethereumjs-testrpc instead. |
@Snerken if you just want to run a local chain for test purposes, try |
FWIW for me to get the Light mode to work I had to delete the following: THEN I could start Geth with --syncmode "light" TL;DR: if you ran Geth in full or fast modes prior, you have to "start from scratch" to get it going in light mode. |
@SherSlick I did this and still didnt work.... =( |
--syncmode "light" is not working confirmed for geth 1.7.3 (windows). |
--syncmode "light" is not working confirmed for geth 1.7.3 (docker ethereum/client-go). |
why --syncmode "light" is not working now. |
same --syncmode "light" not working |
I'm having the same issue here. It worked yesterday with syncmode light. Now it's not starting anymore. Edit:
|
same --syncmode "light" not working This is for Geth 1.7.3 & 1.8.2
|
|
It's still stuck. I have to use "fast" mode. so sad. |
I believe this error happens when the light client is unable to find an available connection slot on a full node. If you have access to a full node, you can add your light client's enodeID to the trusted/reserved set and connect to it directly using the static-nodes.json feature. If not, you can try using vipnode where you execute a smart contract to get whitelisted on a full node: https://vipnode.org/ (Disclaimer: This is my project, and it's being developed further thanks to an Ethereum Foundation grant. I wrote more it here: https://medium.com/@shazow/an-economic-incentive-for-running-ethereum-full-nodes-ecc0c9ebe22) |
Closing as this is normal (perhaps annoying) behavior. Sometimes it takes a lot of time to find a light server. We're working on alternative discovery mechanisms too, but there's not much to do in between. You need to wait it out for a server to be found. |
When I set verbosity to 4, I saw a lot of failed handshakes because of mismatched chainId (1 != 3).
The non-responsive light server and slow synchronization seemed to have disappeared for me. Hope this helps. |
For anyone having this issue: I wish geth would be more clear about this, giving me some info. |
System information
Geth version:
v1.6.7-stable
OS & Version:
Windows & Ubuntu 16.04LTS
Actual behaviour
It stops there even if I wait for hours.
Exactly the same happens in a different Windows machine in a different network and location.
Tried deleting the whole ethereum directory (including the old chain data) but same thing happens.
The text was updated successfully, but these errors were encountered: