-
Notifications
You must be signed in to change notification settings - Fork 957
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
kademlia: can't discover providers run by relayed peers #3005
Comments
I would expect the same behavior. (Note that this will not be the behavior once #2032 is fixed and enabled.) Does the relay server add the client to its routing table? In other words do you get a
|
You are totally right, in the relay server log I don't see any
Ok, thanks for the heads up, how will things work after #2032 is merged? |
For now I suggest you run This will improve once we have #2680.
Unless you configure your clients to run in Kademlia client mode, nothing will change on your end. |
Awesome, thanks a lot! |
Summary
A client connecting to a relayv2 server starts providing a key (by calling
kademlia.start_providing
), from other peers (even from the relay server itself) no providers for that key are found (by callingkademlia.get_providers
). The client is listening on the relayed multiaddr and this multiaddr is explicitly added to kademlia withkademlia.add_address
.Expected behaviour
Providers run by relayed peers can be discovered.
Not sure if this is actually the excepted behaviour, please let me know if not.
Actual behaviour
Looks like the multiaddr including p2p-circuit are being filtered out or not included at all.
Debug Output on the relayed client:
Debug Output on the relay server:
Version
Would you like to work on fixing this bug?
Yes.
The text was updated successfully, but these errors were encountered: