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

Browser to browser connectivity not established with IPv6 #64

Open
p-shahi opened this issue May 3, 2023 · 3 comments
Open

Browser to browser connectivity not established with IPv6 #64

p-shahi opened this issue May 3, 2023 · 3 comments

Comments

@p-shahi
Copy link
Member

p-shahi commented May 3, 2023

When using IPv6 addresses by default, I that observe two browser nodes A and B are both able to establish a webrtc-direct connection to the relay node but neither a relayed connection nor a subsequent webrtc connection to one another.
This functionality works when using IPv4 with no other changes.

@mxinden
Copy link
Member

mxinden commented May 5, 2023

@p-shahi can you share more information? Can you provide any logs? Has the relay discovered its IPv6 address?

@DougAnderson444
Copy link
Contributor

I took the browser-to-browser example here (https://github.com/libp2p/js-libp2p-webrtc/tree/main/examples/browser-to-browser) and swapped out the js server for the rust-libp2p server to successfully run the example over IPv6.

When I tried to take the same steps as the example in this repo code, it doesn't connect.

I don't know enough about relay-circuit connection on the JavaScript side to troubleshoot this, but that is where the Browser to browser bug is narrowed down to.

I'd be interested in seeing what the steps were to reproduce a working brow-to-brow universal-conn so I can compare against what I am doing

@2color
Copy link
Collaborator

2color commented May 8, 2024

I got ipv6 working in the go-peer in #148

My office doesn't support ipv6, so I'll have to test the browser-to-browser flow connection establishment with ipv6 at home.

@p-shahi Can you try this again and share the log from the console?

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

4 participants