question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot connect to local geth node

See original GitHub issue

Select configuration: Local Configuration name: Local HTTP Endpoint: http://localhost:8545 Websocket Endpoint: ws://localhost:8546

Running geth v1.8.12

After clicking “connect” I get the following errors:

Server Error: "Block range 0x1 to 0 exceeds currentBlock 0"

Server Error: "Controller mismatch. Configured: 0xb3337164e91b9f05c87c7662c7ac684e8e0ff3e7 Found: undefined"

Before experiencing this issue I also ran into this same issue:

https://augur.stackexchange.com/questions/767/augur-client-cant-connect-to-ethereum-node-on-local-network

Tried the suggested command when running geth:

geth --rpc --ws --rpcaddr "0.0.0.0" --wsaddr "0.0.0.0" --rpccorsdomain "*" --wsorigins "*"

which fixed the first error mentioned in that Stack Exchange post but then I got the errors mentioned above.

Edit: I changed my endpoints to point to 10.0.0.3 on the same ports as shown in the Stack Exchange post linked above and now the app just hangs on “Connecting…” for a while before returning the error:

Server Error: "Could not connect via augur.connect Error: Connection failed"

Edit 2: It’s possible this is a node syncing issue. I’ve been at 99.9988% synced for a few hours now so not sure where to go from here…

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
john-lightcommented, Jul 27, 2018

@sharkcrayon my geth node is consistently ~100 blocks behind, for whatever reason it doesn’t want to catch up to the chain tip. Might have to try Parity.

0reactions
john-lightcommented, Sep 13, 2018

Closing this issue for now as I have switched to try a Parity node (which also is having its own issue).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't connect to GETH node on the network
Geth binds to localhost by default. To allow outside machines to connect, you can add something like this to the parameters:
Read more >
Can't connect to Geth node RPC from another machine
on my Metamask from another machine but in Metamask it always gives the following error: "Could not fetch chain ID. Is your RPC...
Read more >
Getting started with Geth | go-ethereum
This page explains how to set up Geth and execute some basic tasks using the command line tools. In order to use Geth,...
Read more >
Connect MetaMask to Local "geth" Node
1. Run the "geth" node on my private network: · 2. Turn on the RPC listener: · 3. Start MetaMask on Chrome and...
Read more >
Connect to a node - GoQuorum - 22.7.0 - ConsenSys
The Geth JavaScript console exposes the Web3 JavaScript API for development use, and can be started using the console or attach Geth subcommands ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found