-
Notifications
You must be signed in to change notification settings - Fork 20k
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
Peer count stays 0 #20274
Comments
I would like to add that admin.addPeer("...") to a valid node accessible on inbound doesn't log anything on either side. |
I would suspect that it does, but on a pretty low level, like DEBUG or TRACE. Try temporarily setting debug.loglevel to 5
|
I could finally connect to a second node. Yes loglevel to 5 could help me see the log. |
Could you elaborate on your network setup? Also, does your netstat look like this:
If so, it means both ipv4 and ipv6. |
Please run geth with |
@holiman it does look like this (notice the brackets) For security reasons I won't be able to describe the network setup too extensively but:
@fjl same here, I won't be able to export my logs but:
These nodes might be too old but what I want to understand is why it doesn't try to find new ones once connected to the node I manually connect to? |
Connected peers do not influence peer discovery. How many other nodes does your node ping? Just one, or many? |
I am having this same issue. using netstat -ntlp4 does not return 30303. Running
Note that it states when explicitly binding to both addresses. |
cc @fjl ^ |
Geth binds to 'any address', which covers both IPv4 and IPv6. Command line tools usually show that as IPv6 because it's a single listener. Your sshd example looks different because it uses two separate listeners for IPv4 and IPv6. |
HI, @fjl i'm trying to run a execution client using geth, but it cannot find peers to start block download and initiate sync, what can I do? |
System information
Geth version:
1.9.7-stable
OS & Version: Linux
The text was updated successfully, but these errors were encountered: