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

Unable to start the js node #198

Closed
emiamar opened this issue Oct 14, 2024 · 2 comments
Closed

Unable to start the js node #198

emiamar opened this issue Oct 14, 2024 · 2 comments

Comments

@emiamar
Copy link

emiamar commented Oct 14, 2024

Facing this error.
image

When I am commenting, https://github.com/libp2p/universal-connectivity/blob/main/js-peer/src/lib/libp2p.ts#L64 line it start up. However with no connections.
image

I also have go node running on public internet and not able to connect to it. It complains no valid address
image

@tabcat
Copy link

tabcat commented Oct 14, 2024

The quic transport is not supported by the js-peer. There is a table on the readme which shows what transports each implementation supports.

js-peers can connect with go-peers via webtransport. A webtransport multiaddr will look like this.

@2color
Copy link
Collaborator

2color commented Oct 31, 2024

As @tabcat, QUIC isn't available in browsers. Supported transports for the js browser peer can be found here:

webTransport(),
webSockets(),
webRTC(),
// 👇 Required to estalbish connections with peers supporting WebRTC-direct, e.g. the Rust-peer
webRTCDirect(),

@2color 2color closed this as completed Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants