-
Notifications
You must be signed in to change notification settings - Fork 440
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
@libp2p/webtransport Correct multiaddr format #2371
Comments
The WebTransport transport is dial-only at the moment. When QUIC lands in node.js we'll be able to add it but until then listening is not supported. I did have a PR that added listener support via @fails-components/webtransport but it was never really production-grade. |
This adds a note at the top of the WebTransport `README.md` to remind people of the fact that currently, the WebTransport implementation in js-libp2p only supports dialing out to other nodes and does not actually support listening for incoming dials because js-libp2p depends on Node JS and QUIC support has not landed in Node JS yet. Related: libp2p#2371
@achingbrain I made a PR that adds a note to the Webtransport docs about them supporting dial only. I am currently in the process of learning libp2p and I find that although there is a lot of documentation, it often misses critical details such as these or is hard to find. So I am trying to contribute by making small PRs with small updates to the docs as I go. Hope you find it helpful. |
This adds a note at the top of the WebTransport `README.md` to remind people of the fact that currently, the WebTransport implementation in js-libp2p only supports dialing out to other nodes and does not actually support listening for incoming dials because js-libp2p depends on Node JS and QUIC support has not landed in Node JS yet. Related: libp2p#2371
@Download thanks, yes - it's very helpful! |
* docs: add note about webtransport only supporting dial This adds a note at the top of the WebTransport `README.md` to remind people of the fact that currently, the WebTransport implementation in js-libp2p only supports dialing out to other nodes and does not actually support listening for incoming dials because js-libp2p depends on Node JS and QUIC support has not landed in Node JS yet. Related: #2371 * Apply suggestions from code review --------- Co-authored-by: Stijn de Witt <stijndewitt@foodsy.eu> Co-authored-by: Alex Potsides <alex@achingbrain.net>
Fixed by #2411 |
Hi, I have just started a project that requires the use of @libp2p/webtransport
However none of the documented multiaddr formats are working as a listen address.
I have seen the following formats:
/ip4/0.0.0.0/udp/0/quic/webtransport
/ip4/0.0.0.0/udp/0/quic-v1/webtransport
The text was updated successfully, but these errors were encountered: