Closed
Bug 864117
Opened 13 years ago
Closed 11 years ago
CreateOffer() with no network connection never succeeds or fails
Categories
(Core :: WebRTC: Networking, defect, P5)
Core
WebRTC: Networking
Tracking
()
RESOLVED
FIXED
| backlog | webrtc/webaudio+ |
People
(Reporter: jsmith, Unassigned)
Details
Attachments
(3 files)
Note: No network connection = wireless is disconnected. This will not reproduce with "work offline" in Firefox.
STR:
1. Load the attached test case without a network connection
2. Check console
Expected:
We should get a NS_ERROR_FAILURE indicating that you can't create a peer connection without a network connection.
Actual:
The peer connection is successfully created. We'll fail silently when we reach createOffer, so the developer never knows the connection failed.
| Reporter | ||
Updated•13 years ago
|
Whiteboard: [WebRTC][blocking-webrtc-][turn]
Comment 1•13 years ago
|
||
Why is this marked as TURN? Does it succeed without TURN?
| Reporter | ||
Comment 2•13 years ago
|
||
(In reply to Eric Rescorla (:ekr) from comment #1)
> Why is this marked as TURN? Does it succeed without TURN?
Fails on STUN too.
Summary: [TURN] Trying to create a peer connection without a network connection is successful, but it shouldn't be → Trying to create a peer connection without a network connection is successful, but it shouldn't be
Whiteboard: [WebRTC][blocking-webrtc-][turn] → [WebRTC][blocking-webrtc-]
Comment 3•13 years ago
|
||
You should be able to create a PeerConnection without a network connection, so that part is incorrect.
CreateOffer (I believe) should eventually time out and return an error if it can't even get local interface IP addresses. If it never does, that's probably an error.
Please do a run with signaling:5,mtransport:5 logging and upload it (my laptop has a VM that looks like a network interface on it, so it's hard for me to test, and my linux machine normally doesn't have a keyboard or mouse - perhaps I'll just plug some in and try there.)
Summary: Trying to create a peer connection without a network connection is successful, but it shouldn't be → CreateOffer() with no network connection never succeeds or fails
Comment 4•13 years ago
|
||
(In reply to Randell Jesup [:jesup] from comment #3)
> You should be able to create a PeerConnection without a network connection,
> so that part is incorrect.
>
> CreateOffer (I believe) should eventually time out and return an error if it
> can't even get local interface IP addresses. If it never does, that's
> probably an error.
>
> Please do a run with signaling:5,mtransport:5 logging and upload it (my
> laptop has a VM that looks like a network interface on it, so it's hard for
> me to test, and my linux machine normally doesn't have a keyboard or mouse -
> perhaps I'll just plug some in and try there.)
Yes, this is bug 827982... unfortunately, the writeup isn't accurate any more
because we now have asynchronous StartGathering.
Comment 5•12 years ago
|
||
Not sure if it is still necessary, but here's the logs as requested as I discovered this the other day.
Comment 6•12 years ago
|
||
The test case I was using (just in case).
Comment 7•11 years ago
|
||
may well be fixed now...
backlog: --- → webRTC+
Rank: 55
Priority: -- → P5
Whiteboard: [WebRTC][blocking-webrtc-]
Comment 8•11 years ago
|
||
Just tested, seems to work.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•