5

My Geth server in light mode was running without any issue up to yesterday. But after that, I only receive these messages continuously!

INFO [04-19|12:59:22.181] Looking for peers                        peercount=0 tried=9  static=29
INFO [04-19|12:59:35.670] Looking for peers                        peercount=0 tried=3  static=29
INFO [04-19|12:59:46.432] Looking for peers                        peercount=0 tried=17 static=29
INFO [04-19|12:59:57.181] Looking for peers                        peercount=0 tried=9  static=29
INFO [04-19|13:00:10.671] Looking for peers                        peercount=0 tried=3  static=29
INFO [04-19|13:00:21.408] Looking for peers                        peercount=0 tried=17 static=29
INFO [04-19|13:00:32.182] Looking for peers                        peercount=0 tried=9  static=29
INFO [04-19|13:00:45.671] Looking for peers                        peercount=0 tried=3  static=29
INFO [04-19|13:00:56.416] Looking for peers                        peercount=0 tried=17 static=29
INFO [04-19|13:01:07.182] Looking for peers                        peercount=0 tried=9  static=29
INFO [04-19|13:01:20.672] Looking for peers                        peercount=0 tried=3  static=29

And this does not finish!

May you help me to solve this issue please?

5
  • Are you behind a NAT (router)? Do you port forward? What system do you run this on (Windows / Linux / Mac)? How do you start the geth client? Commented Apr 19, 2020 at 9:06
  • I'm using a Linux server (Ubuntu 18.04). This was my initial code: geth --syncmode light --rpc --rpcport 8545 --rpcapi personal,eth,web3,txpool Commented Apr 19, 2020 at 9:08
  • Are you behind a NAT (router)? Commented Apr 19, 2020 at 9:25
  • @Daniel, No I am not Commented Apr 19, 2020 at 11:19
  • Super late here, but does the tried=n reflect that those peers refused to serve you as a light client? "This is currently an open issue within the Ethereum community - how do we incentivize people to run full nodes which serve light clients?" ethereum.org/en/developers/tutorials/run-light-node-geth
    – samlaf
    Commented Feb 23, 2022 at 19:01

1 Answer 1

4

It's Geth's peer discovery mechanism. You can use --nodiscover to disable it, which prevents your node from finding peers to connect, but it doesn't prevent other node in the network to connect to your node.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.