-
Notifications
You must be signed in to change notification settings - Fork 43
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
Reconnect only for outgoing peers #739
Comments
That's how it was implemented according to this proposal. |
I'm not sure how this is related to the link. The problem is that we try to connect to localhost:9885 but there is no XUD listening on it. Let's agree that it is wrong and find a way to fix it. |
I thought you’re referring to the multiple connection attempts. From what the logs tell, we’re reconnecting after we disconnected due to What from these do you find problematic? |
XUD2 does not have and never had xud process running on port 9885. Yet, the connection retry is done on (127.0.0.1:9885). I'm not saying that there is a problem with the connection mechanism, but let's agree that there is a problem if the outcome is that xud2 is trying to connect to wrong host/port. |
Did XUD2 advertised |
Never.
…On Mon, 10 Dec 2018 at 14:33 Moshe Shababo ***@***.***> wrote:
Did XUD2 advertised 127.0.0.1:9885 address?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#739 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJQ0ckEQi_4v_8AldphV2JHQz0G0HRhaks5u3lSagaJpZM4ZHMSL>
.
|
Then i'll need steps to reproduce. |
A connects to B. Result: |
As I suggested before - since the advertise addresses are not reliable we better not try to reconnect an incoming connection. Incoming connection may also fail for other reasons (FW, NAT, etc). |
Seen this on test2 server:
We should eliminate such reconnection.
The text was updated successfully, but these errors were encountered: