kubo icon indicating copy to clipboard operation
kubo copied to clipboard

fix the doc of experimental-features and need help with p2p http proxy

Open tyxlb opened this issue 1 year ago • 1 comments

Checklist

  • [x] I am reporting a documentation issue in this repo, not https://docs.ipfs.tech.
  • [x] I have searched on the issue tracker for my issue.

Location

https://github.com/ipfs/kubo/blob/master/docs/experimental-features.md

Description

Some experimental-features in this doc have changed such as Autorelay. Some features are missing in the kubo config such as HTTP Gateway over Libp2p. p2p http proxy can be easily used in local network. But i can't do this with my friend when both of us are behind NAT(error 502 request to http://localhost:8080/p2p/$SERVER_ID/http/). I think the key of this is connect to peer before use p2p http proxy. Connect to peer in local network is easy but it's always failed connect to peer behind NAT.

I and my friend tried: ipfs swarm connect /p2p/id ipfs swarm connect /p2p-circuit/p2p/id ipfs swarm peering add /p2p-circuit/p2p/id ipfs swarm peering add /p2p/id i use kubo 0.33 and my friend use the latest version of ipfs-desktop

kubo should automatically connect to peer when request to http://localhost:8080/p2p/$SERVER_ID/http/, there should be a easy way to connect to peer behind nat in cli/webui.

tyxlb avatar Feb 16 '25 04:02 tyxlb

Triage notes:

  • We aren't triaging issues related to experimental features.
  • For more support please make a post on https://discuss.ipfs.tech/

guillaumemichel avatar Feb 18 '25 15:02 guillaumemichel