-
Notifications
You must be signed in to change notification settings - Fork 267
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
Fails connecting to peers #1726
Comments
Yes @Vovchyk, that's the one I use. Internet works, I have another RSK node with older version which works on the same network. What possible reasons for instant disconnect are there? |
@ko0f, I can think of some issue with your network / firewall or docker configuration. First of all, I'd try to run |
Peer count Other docker containers seem to work well. I've also opened a shell for RSK docker |
Here's a sample of the log -
|
This may have been an unidentified connectivity issue, it stopped happening. |
This happens again now with one of my nodes - I have two, one is working fine, the other fails to find peers for hours now. Nothing in configuration has changed, I've just restarted the server. Last time it managed to find peers after very long time, even so - it's an issue if it sometimes takes too long to connect to peers.
|
@ko0f , recently we indeed have had some temporary issues with peers connectivity. Please let us know if you're still facing it. |
Seems so, as long as the node is up, all is well. Once restarted it takes a very long time to find peers and some times (like just happened yesterday) it doesn't find any peers and keeps attempting bootstrap nodes, all while the other node I have is up and synced. I've restarted the node yesterday and now, after a day it managed to find 2 peers and got synced. Just need to avoid restarts. :\ |
@ko0f thanks for reporting this. We will check this out. This is definitely unexpected behaviour, there should not be such delay in finding peers. Btw, you're still running the version You mentioned that you run two nodes and the issue happens only to one of them? Are they running on a single machine in docker? Do you use a default Is it true that you are not facing this issue if the node is running outside docker? Could you please also share details of the environment you use (eg. hardware spec, OS, java version)? |
@Vovchyk this happens on both machines, once rskj is restarted.
Dockerfile -
node.conf peer section, which I added during my attempts to fix this -
Will update to 3.3.0 now and check again. |
It's been two hours and still, with 3.3.0 net_peerCount returns |
thanks @ko0f for the update. We've been investigating this. |
Version 3.2.0 running on docker, fails to connect to any peer, including bootstrap nodes.
startup log -
but then it fails to connect to any peer, just keeps connecting and disconnecting right away -
The text was updated successfully, but these errors were encountered: