-
Notifications
You must be signed in to change notification settings - Fork 925
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
bug: discovery cannot find peers after network disconnect #2258
Comments
I remember @distractedm1nd had a similar issue. We concluded that we were out of peers as they all got disconnected and in the backoff. Could this explain this issue? |
How do you know the discovery was not triggered? |
What do you mean by "peer enforced"? Remote peers disconnected from your node? |
I think the answer is no. I've made a metric for it.
There is no discovery events in logs. It is attached to the issue
Yes, peer disconnected from my node. Check |
Ok. Makes sense. I am inclined to investigate the code and if we find no answer until Monday, we can do a quick fix. |
…peration (#2263) Closes #2258 Two cases were possible: * Sometimes, the discovery is not triggered, and memorizing triggers might help * It's an unconfirmed theory, and we are still determining if it fixes anything yet. * We considered a case with @walldiss, but it should not happen. * FindPeers can get stuck sometimes for an indefinite time and so forth stopping the whole discovery. We should stop and restart it.
Opening again as we are not sure that it's fixed, as we removed esoteric channel buffer fix in #2258, because there is no explanation of why would it work |
…peration (#2263) Closes #2258 Two cases were possible: * Sometimes, the discovery is not triggered, and memorizing triggers might help * It's an unconfirmed theory, and we are still determining if it fixes anything yet. * We considered a case with @walldiss, but it should not happen. * FindPeers can get stuck sometimes for an indefinite time and so forth stopping the whole discovery. We should stop and restart it.
no longer happening |
Problem
I had experienced network going offline for few seconds while running node. It caused 2 problems related to discovery:
log.txt
The problem in discovery is related to new search trigger not working correctly. Solutions options:
The text was updated successfully, but these errors were encountered: