I have the following nodes running :


geth --datadir node1 --port 30303 --rpc --rpcport 3003 --rpcaddr --ipcpath node1/geth.ipc --rpcapi="db,eth,net,web3,personal" --networkid 15 --rpccorsdomain "*" --ws --wsaddr --wsport 3103 --wsorigins "*" --lightserv 80


geth --datadir node2 --port 30304 --rpc --rpcport 3004 --rpcaddr --ipcpath node2/geth.ipc --rpcapi="db,eth,net,web3,personal" --networkid 15 --rpccorsdomain "*" --ws --wsaddr --wsport 3104 --wsorigins "*" --syncmode light 


geth --datadir node3 --port 30305 --rpc --rpcport 3005 --rpcaddr --ipcpath node3/geth.ipc --rpcapi="db,eth,net,web3,personal" --networkid 15 --rpccorsdomain "*" --ws --wsaddr --wsport 3105 --wsorigins "*" --syncmode light 

Node2 is a peer of Node1 and everything works correcty, but Node3 cannot connect to the fullnode and I get the following error:

Synchronisation failed, retrying         err="peer is unknown or unhealthy"

Using --verbosity 6 :

DEBUG[02-10|22:23:18.459] Adding p2p peer                          name=Geth/v1.8.19-stable-... addr= peers=1
TRACE[02-10|22:23:18.459] connection set up                        id=6e6521711faf66d0 addr= conn=staticdial                              inbound=false
TRACE[02-10|22:23:18.459] Starting protocol les/2                  id=6e6521711faf66d0 conn=staticdial
TRACE[02-10|22:23:18.459] Dial task done                           task="staticdial 6e6521711faf66d0"
TRACE[02-10|22:23:18.459] New dial task                            task="wait for dial hist expire (29.977287427s)"
DEBUG[02-10|22:23:18.459] Connect new entry                        enode=6e6521711faf66d0
DEBUG[02-10|22:23:18.459] Light Ethereum peer connected            id=6e6521711faf66d0 conn=staticdial                              name=Geth/v1.8.19-stable
TRACE[02-10|22:23:18.466] Registering sync peer                    peer=6e6521711faf66d0
DEBUG[02-10|22:23:18.466] Received new announcement                id=6e6521711faf66d0 conn=staticdial                              number=10494 hash= reorg=0
DEBUG[02-10|22:23:18.466] Registered new entry                     enode=6e6521711faf66d0
DEBUG[02-10|22:23:18.466] Light Ethereum message handling failed   id=6e6521711faf66d0 conn=staticdial                              err=EOF
TRACE[02-10|22:23:18.466] Unregistering sync peer                  peer=6e6521711faf66d0
DEBUG[02-10|22:23:18.466] Disconnected old entry                   enode=6e6521711faf66d0
DEBUG[02-10|22:23:18.466] Removing p2p peer                        id=6e6521711faf66d0 conn=staticdial                              duration=7.280ms peers=0 req=true err="too many peers"

It seems like it is possible to connect just one light node. Any idea how to solve it?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.