-
Notifications
You must be signed in to change notification settings - Fork 211
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
OnPeerEvicted happens immediately after connection, disregarding timeout #299
Comments
Was able to turn logging on in order to provide more detail:
Operative line being:
However, there is no reason for this connection to be refused. I can connect to it via netcat. Does the client have issues accepting connections from remote hosts? |
Have added a bunch of debugs. Somewhere between the first call to the peer, and subsequent communication, the Address is being stripped of the hostname and only being saved as the port. (:12345) So subsequent network requests fail. Not clear if this is a bug in the kademlia implementation or in the chat example. |
@iwasaki-kenta Any chance you're still looking at this project? : 3 |
@delp Hello! Sorry to tell you, though the project was meant to be archived 2 years ago - for an FYI, @iwasaki-kenta is my old account. This project has been abandoned since my departure from the Perlin project, and I would take the measures to close it down though I no longer have access to this repository or the other repositories in the organization. Nowadays I am mostly working with and contributing to the Zig programming language, and actually just started working again on some performant p2p and networking stuff in Go. If you'd like to salvage any of the code of Noise, or would just like to reach out in general, feel free to reach me on my Discord: lithdew#6092 |
thanks, sent you a friend request! |
If I run the chat example multiple times on the same machine, the chat clients are able to find one another.
If I run the chat client on two different machines on my network, the client connects and then immediately fails out. I tried to change the timeout from 3 seconds to much larger, but the evicted event is immediate and not related to the timeout.
From the machine trying to connect:
The machine receiving the connection retains memory of the new peer however:
The text was updated successfully, but these errors were encountered: