Skip to content

[BUG]: It is not possible to make connection between different (public) networks  #907

@emrahtoy

Description

@emrahtoy

Package version

3.1.0-exp.6

Environment

* OS: Windows 10 and Windows 11, Linux Ubuntu 22.04 Docker env.
* Unity version: 2021.3 and 2022.3 all LTS versions
* Graphics API: SRP, URP, HDRP
* Browser: Chrome, Firefox, Edge, Safari ( all latest )

Steps To Reproduce

  1. Open bidirectional examples on the web and unity with different networks ( ask your friend for help )
  2. Try to make a connection.

Current Behavior

It will look like there is a connection at least half of it but it will not detect the encoders and will not show up any data as the stream does not start. And disconnects in 60 seconds at max. If you try in the local network ( both web and unity apps ) it will connect yet get disconnected at an unmeasured time.

Expected Behavior

It should connect and stay connected as long as the connection is closed by one of the peers.

Anything else?

I have tried 3 different Turn server solutions with various configurations, with and without authentication.
All tests passed on ICE serves when I tested trickle ( except chrome with the known issues but it is considered passed )
I tried Coturn and Eturnal servers. Then I decided to try free and paid 3rd party servers ( metered.ca ). All passed the trickle and peer-to-peer tests.

I believe there is a race condition between negotiation and state changes. I couldn't see any rollback scenario so cable tangling may be the problem.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwaiting for releaseThis issue is already fixed and will be contained in next version

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions