Cannot connect to any peers

jrruethejrruethe Member Posts: 2
I need some guidance. I'm trying to connect to the network with Geth, but I never seem to get any peers.

I have enabled port forwarding on my router, and I have checked that the outside world can see Geth running on port 30303 using http://www.canyouseeme.org/
I have build Geth on Debian Jessie x64 from source (commit )
I am running Geth like so:

[email protected]:~/Downloads/go-ethereum/build/bin$ ./geth --vmodule=udp=6,server=6,downloader=6 console

I0522 17:04:55.176755 3224 backend.go:255] Protocol Version: 60, Network Id: 0
I0522 17:04:55.225140 3224 backend.go:265] Blockchain DB Version: 2
I0522 17:04:55.239048 3224 chain_manager.go:247] Last block (#2613) 3d8a8414246615f8fbcc41b7086d83864f9925f1959b1af9edfe1079766346d8 TD=685345077
I0522 17:04:55.528568 3224 cmd.go:137] Starting Geth/v0.9.23-054abe20/linux/go1.3.3
I0522 17:04:55.556155 3224 server.go:209] Starting Server
I0522 17:04:57.172563 3224 udp.go:189] Listening, enode://6bfddf14ca19acdd0c285bd32a8950ea1ae54e2f085b1a583cbbb9d616a9701d8[email protected]71.176.111.194:30303
I0522 17:04:57.172707 3224 server.go:349] Listening on [::]:30303
I0522 17:04:57.172728 3224 backend.go:479] Server started
I0522 17:04:57.195990 3224 nat.go:95] mapped network port tcp:30303 -> 30303 (ethereum p2p) using UPNP IGDv1-IP1
I0522 17:04:57.212385 3224 udp.go:397] >>> 52.16.188.185:30303 discover.ping
I0522 17:04:57.212477 3224 udp.go:397] >>> 5.1.83.226:30303 discover.ping
I0522 17:04:57.212652 3224 udp.go:397] >>> 54.207.93.166:30303 discover.ping

net
{
listening: true,
getListening: [Function],
peerCount: 0,
getPeerCount: [Function]
}
>

From this point on, nothing happens; I never see any connections, I never get any peers, I never see any printouts. I let it sit like this overnight, nothing.
I tried individually pinging each of those addresses, thinking that they were related to the bootstrap nodes:

[email protected]:~/Downloads$ ping 52.16.188.185
PING 52.16.188.185 (52.16.188.185) 56(84) bytes of data.
^C
--- 52.16.188.185 ping statistics ---
15 packets transmitted, 0 received, 100% packet loss, time 14007ms

[email protected]:~/Downloads$ ping 5.1.83.226
PING 5.1.83.226 (5.1.83.226) 56(84) bytes of data.
64 bytes from 5.1.83.226: icmp_seq=2 ttl=52 time=101 ms
64 bytes from 5.1.83.226: icmp_seq=4 ttl=52 time=100 ms
64 bytes from 5.1.83.226: icmp_seq=5 ttl=52 time=97.7 ms
64 bytes from 5.1.83.226: icmp_seq=6 ttl=52 time=103 ms
64 bytes from 5.1.83.226: icmp_seq=7 ttl=52 time=96.7 ms
64 bytes from 5.1.83.226: icmp_seq=8 ttl=52 time=99.8 ms
64 bytes from 5.1.83.226: icmp_seq=9 ttl=52 time=98.0 ms
64 bytes from 5.1.83.226: icmp_seq=10 ttl=52 time=129 ms
64 bytes from 5.1.83.226: icmp_seq=11 ttl=52 time=98.0 ms
^C
--- 5.1.83.226 ping statistics ---
11 packets transmitted, 9 received, 18% packet loss, time 10006ms
rtt min/avg/max/mdev = 96.782/102.699/129.414/9.625 ms
[email protected]:~/Downloads$ ping 54.207.93.166
PING 54.207.93.166 (54.207.93.166) 56(84) bytes of data.
^C
--- 54.207.93.166 ping statistics ---
15 packets transmitted, 0 received, 100% packet loss, time 14029ms

As you can see, only one of the three respond, but if that is a bootstrap node, it should be enough to get me started, right?

I can't seem to find any enodes to manually add on the command line, is there a list of enodes somewhere, or the enodes of the bootstrap nodes?

Please give me advice on what to try next, I'd really like to be a part of the network and mining!
Thank you for your time.

Comments

  • StephanTualStephanTual London, EnglandMember, Moderator Posts: 1,282 mod
    edited May 2015
    Perhaps a upnp issue. I'm quite keen myself to find a convenient way for people can bootstrap when upnp and/or port forwarding are not available. Note that IP:porst lifted of stats.ethdev.com alone won't cut it, as addPeer requires the full enode format, the first part of which being the node's pubkey.

    Try connecting to some of these and let me know how it goes:
    admin.addPeer('enode://123d37ae8e215b1ec6c9cb94cc8881a88457d6c6f0a7db13cf62a7b38a1e69852[email protected]50.103.117.68:30303')
    admin.addPeer('enode://190ff5006dcecf96cebe6746cfd15d610cbfb32a666884c8dd546eae67bc1b589[email protected]24.251.161.112:30303')
    admin.addPeer('enode://a979fb575495b8d6db44f750317d0f4622bf4c2aa3365d6af7c284339968eef29[email protected]52.16.188.185:30303')
    admin.addPeer('enode://e54dfed083740840240c5b418fc4b381e23fb7b558e5e1f6ab7aceba49e6134a7[email protected]144.132.21.240:30303')
    admin.addPeer('enode://548be394ae76f92224d8581d0e22167aefd6d2f06c0d42f40080c96bd96b75b3a[email protected]79.98.29.154:30303')
    admin.addPeer('enode://4fb85e61a015b089e4f73c69919469813118f20c22d22aac2104dc302c550607e[email protected]183.128.203.92:30303')
    admin.addPeer('enode://262167eb28c7ce1b2fca87bf8be22d983f0fad66a1cdffd43d51d0d52f4987eca[email protected]50.136.197.236:30303')
    admin.addPeer('enode://3768597a9cb82e7e23909ac9f632ef7bd65b669543f79ebe8440e23af5ef42883[email protected]115.187.251.154:30303')
    admin.addPeer('enode://01cb5466bcd1683134b23a1ed1ec47c1d84d50520341b4f41c831986c72c6c55a[email protected]94.75.205.12:30303')
    admin.addPeer('enode://7743dea431dbe80c31e74672048c44dd55d22cb72b486c1342bded5a8c92970e4[email protected]46.5.254.14:30303')
    admin.addPeer('enode://15d9edb3b956e7d0fcf682b8833a0e62371b1eafb76d573d2d48ffa440a5cc67e[email protected]162.213.238.72:30305')
    admin.addPeer('enode://e097a8579f848ec0f2fe8034d9b55677adec8d676a9dadb46a85c16738b312be4[email protected]58.232.222.26:30303')
    admin.addPeer('enode://03e7493fa6b81273fbb6e30a5c93b0596e4bc0765948a05918c41403eae5e3b2f[email protected]24.251.161.112:30303')
    admin.addPeer('enode://4af64bc8778697076cb3bba9c615d06f28edc2920f019617e52606af905336705[email protected]45.55.229.64:30303')
    admin.addPeer('enode://ee265bfc88073e87760cc3ccc0d6ab43f966edfdd307bf0285afe4c60dfc4f977[email protected]94.3.70.42:30303')
  • jrruethejrruethe Member Posts: 2
    Awesome! Thank you for your help! I now have some connections, and lots of stuff seems to be happening. The blockchain appears to be downloading now. I'll try starting the miner once the synchronization is complete, but I suspect I won't have any more issues from here on out.

    net
    {
    listening: true,
    getListening: [Function],
    peerCount: 7,
    getPeerCount: [Function]
    }
    >

    Do I need to increase the number of peers, or is this amount fine?

    I0523 13:39:42.521238 3224 server.go:512] Handshake with 50.136.197.236:30303 failed: Too many peers

    Thanks again!
  • StephanTualStephanTual London, EnglandMember, Moderator Posts: 1,282 mod
    edited May 2015
    @jrruethe, glad it worked! Number of peers is fine. The client will try to maintain an optimal number.
  • trotoltrotol Member Posts: 102

    Perhaps a upnp issue. I'm quite keen myself to find a convenient way for people can bootstrap when upnp and/or port forwarding are not available. Note that IP:porst lifted of stats.ethdev.com alone won't cut it, as addPeer requires the full enode format, the first part of which being the node's pubkey.

    Try connecting to some of these and let me know how it goes:

    admin.addPeer('enode://123d37ae8e215b1ec6c9cb94cc8881a88457d6c6f0a7db13cf62a7b38a1e69852[email protected]50.103.117.68:30303')
    admin.addPeer('enode://190ff5006dcecf96cebe6746cfd15d610cbfb32a666884c8dd546eae67bc1b589[email protected]24.251.161.112:30303')
    admin.addPeer('enode://a979fb575495b8d6db44f750317d0f4622bf4c2aa3365d6af7c284339968eef29[email protected]52.16.188.185:30303')
    admin.addPeer('enode://e54dfed083740840240c5b418fc4b381e23fb7b558e5e1f6ab7aceba49e6134a7[email protected]144.132.21.240:30303')
    admin.addPeer('enode://548be394ae76f92224d8581d0e22167aefd6d2f06c0d42f40080c96bd96b75b3a[email protected]79.98.29.154:30303')
    admin.addPeer('enode://4fb85e61a015b089e4f73c69919469813118f20c22d22aac2104dc302c550607e[email protected]183.128.203.92:30303')
    admin.addPeer('enode://262167eb28c7ce1b2fca87bf8be22d983f0fad66a1cdffd43d51d0d52f4987eca[email protected]50.136.197.236:30303')
    admin.addPeer('enode://3768597a9cb82e7e23909ac9f632ef7bd65b669543f79ebe8440e23af5ef42883[email protected]115.187.251.154:30303')
    admin.addPeer('enode://01cb5466bcd1683134b23a1ed1ec47c1d84d50520341b4f41c831986c72c6c55a[email protected]94.75.205.12:30303')
    admin.addPeer('enode://7743dea431dbe80c31e74672048c44dd55d22cb72b486c1342bded5a8c92970e4[email protected]46.5.254.14:30303')
    admin.addPeer('enode://15d9edb3b956e7d0fcf682b8833a0e62371b1eafb76d573d2d48ffa440a5cc67e[email protected]162.213.238.72:30305')
    admin.addPeer('enode://e097a8579f848ec0f2fe8034d9b55677adec8d676a9dadb46a85c16738b312be4[email protected]58.232.222.26:30303')
    admin.addPeer('enode://03e7493fa6b81273fbb6e30a5c93b0596e4bc0765948a05918c41403eae5e3b2f[email protected]24.251.161.112:30303')
    admin.addPeer('enode://4af64bc8778697076cb3bba9c615d06f28edc2920f019617e52606af905336705[email protected]45.55.229.64:30303')
    admin.addPeer('enode://ee265bfc88073e87760cc3ccc0d6ab43f966edfdd307bf0285afe4c60dfc4f977[email protected]94.3.70.42:30303')
    I would be grateful if you could post the list of 10-20 current stable working nodes.
    My win64 rpc-node has only 2-3 current active peers to eth-net.

  • BYCBYC Member Posts: 1

    Perhaps a upnp issue. I'm quite keen myself to find a convenient way for people can bootstrap when upnp and/or port forwarding are not available. Note that IP:porst lifted of stats.ethdev.com alone won't cut it, as addPeer requires the full enode format, the first part of which being the node's pubkey.

    Try connecting to some of these and let me know how it goes:

    admin.addPeer('enode://123d37ae8e215b1ec6c9cb94cc8881a88457d6c6f0a7db13cf62a7b38a1e69852[email protected]50.103.117.68:30303')
    admin.addPeer('enode://190ff5006dcecf96cebe6746cfd15d610cbfb32a666884c8dd546eae67bc1b589[email protected]24.251.161.112:30303')
    admin.addPeer('enode://a979fb575495b8d6db44f750317d0f4622bf4c2aa3365d6af7c284339968eef29[email protected]52.16.188.185:30303')
    admin.addPeer('enode://e54dfed083740840240c5b418fc4b381e23fb7b558e5e1f6ab7aceba49e6134a7[email protected]144.132.21.240:30303')
    admin.addPeer('enode://548be394ae76f92224d8581d0e22167aefd6d2f06c0d42f40080c96bd96b75b3a[email protected]79.98.29.154:30303')
    admin.addPeer('enode://4fb85e61a015b089e4f73c69919469813118f20c22d22aac2104dc302c550607e[email protected]183.128.203.92:30303')
    admin.addPeer('enode://262167eb28c7ce1b2fca87bf8be22d983f0fad66a1cdffd43d51d0d52f4987eca[email protected]50.136.197.236:30303')
    admin.addPeer('enode://3768597a9cb82e7e23909ac9f632ef7bd65b669543f79ebe8440e23af5ef42883[email protected]115.187.251.154:30303')
    admin.addPeer('enode://01cb5466bcd1683134b23a1ed1ec47c1d84d50520341b4f41c831986c72c6c55a[email protected]94.75.205.12:30303')
    admin.addPeer('enode://7743dea431dbe80c31e74672048c44dd55d22cb72b486c1342bded5a8c92970e4[email protected]46.5.254.14:30303')
    admin.addPeer('enode://15d9edb3b956e7d0fcf682b8833a0e62371b1eafb76d573d2d48ffa440a5cc67e[email protected]162.213.238.72:30305')
    admin.addPeer('enode://e097a8579f848ec0f2fe8034d9b55677adec8d676a9dadb46a85c16738b312be4[email protected]58.232.222.26:30303')
    admin.addPeer('enode://03e7493fa6b81273fbb6e30a5c93b0596e4bc0765948a05918c41403eae5e3b2f[email protected]24.251.161.112:30303')
    admin.addPeer('enode://4af64bc8778697076cb3bba9c615d06f28edc2920f019617e52606af905336705[email protected]45.55.229.64:30303')
    admin.addPeer('enode://ee265bfc88073e87760cc3ccc0d6ab43f966edfdd307bf0285afe4c60dfc4f977[email protected]94.3.70.42:30303')
    Thank you very much, StephanTual. Now my Go is syncing successfully. I have added all the lines but I only have one connection, and I ask myself how to get more and more peers, but I don't know, could you say to us how to find a big number of eth peers over the world for adding them to it?. Thank you very much by all, best regards.
  • HelioxHeliox Member, Moderator Posts: 634 mod
    Damn, awesome, old thread but it fixed my issue! Thx Stephan!
  • HelioxHeliox Member, Moderator Posts: 634 mod
    Mmm, it fixed my issue to get the blockchain, but still can't do any transactions :(
  • lverdaslverdas Member Posts: 64
    edited March 2016
    Is there a place where I can get a constant up to date peer list to add to geth?
Sign In or Register to comment.