-
Notifications
You must be signed in to change notification settings - Fork 210
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
No peers on fullnodes & proxies randomly #1101
Comments
Just to confirm, is your port 30303 (or whichever port you are listening on your proxy) open for TCP & UDP? |
@daithi-coombes - As I mentioned on discord, it would be help if you posted more trace level logs that span at least few hours. |
Here are some logs |
Also @tkporter the ports are open:
|
One thing we noticed was that the peers that work have the ip address in the enode url when running So I added |
Still having issues, here's what we've tried:
Next going to try adding enode's of our currently synced proxies as |
Thanks for providing this info @daithi-coombes . We just went through our 2 month planning session, and we put dedicated time to investigate and fix these discovery issues.
Are you doing your tests on the mainnet network? If so, please build against our v1.0.0 version: https://github.com/celo-org/celo-blockchain/tree/celo-v1.0.0
I suspect that your proxy ran out of eth level connections. However, your proxies should be sharing information about peers that it knows to your full node, and that is one thing we are planning to investigate.
Yes, you are correct. Static connections will keep retrying. If you really want your full node to connect to your proxy, then you will need to add your full node as a trusted connection on your proxy. That way, your full node will not be counted against peercount on your proxy. |
@daithi-coombes Looking at the above, what caught my attention was the following lines from the peer node:
Did this error also appear in the other cases? If so, the problem is not with peer discovery or connection, but in the handshake, in one of the two Lines 469 to 498 in 19f51eb
Have you encountered this problem since? |
Closing this for lack of information for further investigation. Will reopen if we get more information in the future. |
Expected Behavior
Peer discovery would work and nodes would sync.
Current Behavior
Randomly fullnodes and peers will not sync when created first. They have been left running for over 24hrs. Also manually injecting peers (
admin.addPeer
), will increasee the peer count but p2p discovery doesn't seem to be happening.3 out of 4 times the nodes will sync.
It appears almost as if its doing a port scan of target peers:
(all above connections were rejected)
Steps to Reproduce Behavior
Unkown at the moment
Logs
The following can be seen in the logs (taken from a peer node):
System information
Celo
Version: 1.0.0-stable
Architecture: amd64
Protocol Versions: [65 64]
Go Version: go1.13.10
Operating System: linux
GOPATH=
GOROOT=/usr/local/go
The text was updated successfully, but these errors were encountered: