Skip to content
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

Enable WebTransport by default #9292

Closed
Jorropo opened this issue Sep 21, 2022 · 2 comments
Closed

Enable WebTransport by default #9292

Jorropo opened this issue Sep 21, 2022 · 2 comments
Assignees

Comments

@Jorropo
Copy link
Contributor

Jorropo commented Sep 21, 2022

Done criteria

  1. libp2p's WebTransport transport is enabled by default.
  2. There are corresponding docs that describe how/why to use this.

Background

With #9289 Kubo added opt-in webtransport support. This is covered more in the spec, but WebTransport provides a performant way for browsers (Chromium currently) to connect with the rest of the libp2p network. We want to enable browser nodes to be able to communicate easily with other nodes in the network. To accomplish this we need a good amount of nodes in the network to have webtransport listen addresses. Getting Kubo nodes having WebTransport listening by default is a good way to increase the number of nodes that browser nodes can connect to.

Preconditions

  1. go-libp2p WebTransport transport has shown to be stable. This will come from WebTransport being used in the wild, including enabling it on some of PL's infra per https://github.com/protocol/bifrost-infra/issues/2114 . (Additional tracking of go-libp2p's WebTransport work is in [Tracking Issue] Experimental WebTransport Transport libp2p/go-libp2p#1717 or will be linked from there.)
  2. webtransprot and quic can listed on the same port in go-libp2p: webtransport / quic: allow listening on the same UDP port libp2p/go-libp2p#1759

Notes about the work involved

  1. This does involve a config migration
  2. Documenting the browser/Kubo communication story is covered Document how to connect browser nodes with Kubo nodes using WebTransport ipfs-docs#1286
@BigLep BigLep changed the title WebTransport listen enabled by default Enable WebTransport by default Oct 5, 2022
@marten-seemann
Copy link
Member

marten-seemann commented Oct 12, 2022

Here's the go-libp2p tracking issue for everything that needs to be done before we can consider WebTransport "done": libp2p/go-libp2p#1827.

@BigLep
Copy link
Contributor

BigLep commented Dec 8, 2022

2022-12-08 conversation:

Jorropo added a commit that referenced this issue Dec 12, 2022
Jorropo added a commit that referenced this issue Dec 12, 2022
Repository owner moved this from 🥞 Todo to 🎉 Done in IPFS Shipyard Team Dec 12, 2022
lidel pushed a commit that referenced this issue Jan 5, 2023
lidel pushed a commit that referenced this issue Jan 5, 2023
@BigLep BigLep mentioned this issue Mar 15, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

No branches or pull requests

3 participants