Replies: 1 comment
-
moved to libp2p/rust-libp2p#5480 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use Rust-libp2p with webrtc-direct transport and relay behaviour as the relay server for browser clients. (As browser-to-browser is not yet supported in rust-wasm).
Following the libp2p-js relay and browser example using a libp2p-js relay server i was recreating the same behaviours in rust.
the js relay uses ws as a transport and has only
identify
,pubsub
andrelay
services enabled.When using the browser code and adding WebRTCDirect and my own rust server as bootnode. i can see in the browser that connecting to the rust peer works, but the relay protocol is not returning the relayed address, shown below by the empty listening addresses. It also does not find the other browser peer which is also connected to the rust peer.
This is the screen with the rust node.
This is what i would expect from using
relay.js
my rust relay server code is below, how is it misconfigured?
The logs:
Beta Was this translation helpful? Give feedback.
All reactions