-
Notifications
You must be signed in to change notification settings - Fork 974
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
Example ipfs-kad is broken #1323
Comments
The last time I've checked (a few months ago), there were two ongoing issues:
Unfortunately, the Rust library for RSA that we use ( |
An almost offtopic update related to this but likely interest of anyone looking into ipfs compatilibity: TL;DR: Don't try with ed25519 keys, use rsa (for now). With https://github.com/dvc94ch/rust-ipfs/pull/37 I managed to transfer a single block from a local go-ipfs node to local rust-ipfs (small steps) and turned out the major incompatibility is with using ed25519 keys, which turn into different peerids by different libp2p impls. If this is worked around for secio the nodes will still use their incompatible versions of peerids for dht which simply does not work (this part has not been confirmed other than that "it does not work"). On the linked PRs commits and changes there are more links on the compatibility if you are interested. |
This might be related to peer ids inlining. See #1230 for context. |
Yes. Had not noticed the PR. Also for more context libp2p/specs#138 ... Couldn't find an issue related to this in |
As far as I understand the inlining is implemented according to spec since #1413, but I still do not seem to be able to query the IPFS DHT from Rust using ed25519 keys. |
Could someone elaborate what is still broken with the
|
As a note, all the IPFS bootstrap nodes are deprecated except the ones that use the |
For note-keeping, I can see two kind of suspicious errors on the protocol when querying IPFS:
And
The first one is what Roman mentioned, and increasing the maximum allowed packet size removes the errors. |
There shouldn't be any remaining issues with the |
Command:
cargo run --example ipfs-kad
Expected behaviour:
"Query finished with closest peers: ..."
Actual behaviour:
I've also tried to replace the ip address / peer id with others from
ipfs bootstrap
but still getting the same error.The text was updated successfully, but these errors were encountered: