Open Bug 1297158 Opened 8 years ago Updated 2 years ago

ICE gathering never completes with unreachable STUN/TURN servers

Categories

(Core :: WebRTC: Networking, defect, P4)

defect

Tracking

()

Tracking Status
firefox51 --- affected

People

(Reporter: drno, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

If the iceServers contain a STUN TCP or TURN TCP server which never responds to TCP SYN packets gathering never finishes.
backlog: --- → webrtc/webaudio+
Rank: 25
This also falls into the bucket "report TCP errors upstream faster in nICEr". Currently the over all timeouts catch this. Storing the code here in case we want to pick it up at some later point.
Rank: 25 → 35
Priority: P2 → P3
Summary: ICE TCP srvflx gathering never finishes with unreachable STUN TCP server → ICE TCP srvflx gathering is slow with unreachable STUN TCP server
Mass change P3->P4 to align with new Mozilla triage process.
Priority: P3 → P4

This problem is not limited to TCP. While we set up retransmissions for getting srflx candidates, and setting up relay candidates, we never set up any kind of timeout. So, if the STUN/TURN server is non-responsive, and no socket errors occur, gathering never completes.

It turns out that this bug is causing the NAT tests to time out when using a separate process for mtransport due to the interaction with:

A) the fact that IPV6 is broken in the test TURN server
B) the fact that IPV6 DNS resolution seems to be broken in the e10s code (at least for localhost, which is why we have not noticed problem A)
C) the fact that these tests disable trickle ICE on one side of the call to make candidate selection more predictable

Summary: ICE TCP srvflx gathering is slow with unreachable STUN TCP server → ICE gathering never completes with unreachable STUN/TURN servers
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: