ipfs-docs icon indicating copy to clipboard operation
ipfs-docs copied to clipboard

Update docs to reflect Relay V1 (server) removal from go-ipfs

Open lidel opened this issue 3 years ago • 4 comments

We need to update all places that mention EnableRelayHop – Relay V1 server was removed from go-ipfs 0.11 and now requires running a separate binary.

See details in:

  • go-ipfs v0.11.0 Release Notes
  • Relay V1 can be still provided by this standalone binary: https://github.com/libp2p/go-libp2p-relay-daemon#minimal-config-file / https://dist.ipfs.io/#libp2p-relay-daemon

The most important is to update "browsers connectivity" tutorial by @TheDiscordian:

  1. https://blog.ipfs.io/2021-06-10-guide-to-ipfs-connectivity-in-browsers/
  2. https://docs.ipfs.io/how-to/create-simple-chat-app/

(We seem to already document v1 and v2 in https://docs.ipfs.io/concepts/nodes/#types)

lidel avatar May 13 '22 09:05 lidel

@TheDiscordian as you are the original author of the tutorial, would you have time to update it? My next 2-3 weeks are pretty packed, and I won't be able to do this any time soon.

lidel avatar May 13 '22 09:05 lidel

@lidel I'd love to, I plan to have this updated by Friday. (Edit: Though could be as late as next Wednesday)

TheDiscordian avatar May 16 '22 16:05 TheDiscordian

@TheDiscordian this is probably a bad question to ask at 2AM, but since all peers use the same webrtc signaling server, and they can post their own multiaddr to the same pubsub channel, why do we need the Python script for advertising on pubsub on their behalf? I feel i am missing something.

lidel avatar May 28 '22 00:05 lidel

@lidel I missed this until now, the reason for the pubsub is for the relay connections (IE: Cannot punch for WebRTC). Node A connects to Relay, Relay advertises Node A, Node B connects to Relay, Relay advertises Node B, Node A now has a path to Node B, connecting them together via Relay.

TheDiscordian avatar Oct 05 '22 15:10 TheDiscordian

@BigLep @lidel can you help Johnny and I determine if this is still relevant?

From https://docs.ipfs.tech/concepts/nodes/#relay, it looks like we still mention relay v1

ElPaisano avatar Mar 29 '23 23:03 ElPaisano

Removing the P1 label, as the team doesn't seem to be pressing this issue. Will keep in backlog until I hear back.

ElPaisano avatar Apr 03 '23 23:04 ElPaisano

Since https://docs.ipfs.io/how-to/create-simple-chat-app/ has been removed as part of the js-ipfs cleanup, this is no longer relevant. Closing.

ElPaisano avatar Aug 21 '23 16:08 ElPaisano