ICE state disconnected in apprtc calls |
||||||||||
Issue descriptionVersion: M50 Dev 50.0.2661.18 in Win, dev build 50.0.2661.20 / 7978.10.0 dev in CrOS OS: Win 10, CrOS Kip What steps will reproduce the problem? (1) Establish a 2 way apprtc call between Win 10 and device Kip (2) Stay in the call for a while What is the expected output? What do you see instead? Expected: The call should be connected successfully, with no audio/video freeze and ICE state breakage Actual: 1. Repeated ICE connection drops (disconnected -> failed -> connected) happened from both ends 2. Intermittent Audio/video freezes Logs and webrtc-internals-dump from both machines here - https://drive.google.com/corp/drive/u/0/folders/0BzGe6sHDtMDKR1hKU2p0T0FlUWs Please use labels and text to provide additional information. 1. I do not see ICE connection drops in Hangouts
,
Mar 11 2016
Had no time to look in detail but those dumps seem quite useless. They have like 2 and 16 seconds of data :/
,
Mar 11 2016
Also can I get testrtc runs from those two machines on the same networks they were when this test was run? TestRTC uses the same turn server in isolation so it would be a good way to gather data. How long is step 2 (wait for a while?), seconds? minutes?
,
Mar 11 2016
Back to srnarayanan@ to answer the questions/requests in #3.
,
Mar 11 2016
Please find attached testrtc logs from both Win 10 and CrOS Pit. Win 10 was running in GoogleGuest and CrOS in Webrtclatencylab After we could finally establish the apprtc call, it lasted for about a min or so before the audio/video froze
,
Mar 11 2016
,
Mar 12 2016
Thanks for the quick response, srnarayanan@!
,
Mar 12 2016
Interestingly, I saw the ICE failed error while attempting a 2-way apprtc call over GIN-2g-poor (GIN-3g and GIN-2g seemed okay so far)
,
Mar 14 2016
Since GIN-2G-poor has low bandwidth and lots of packet loss it's no surprise this can happen, not sure we can except it to work on GIN-2G-poor.
,
Mar 14 2016
There is a few interesting things on the logs from the Win10 machine. First it failed the "Udp enabled" which if it is indeed true, then no wonder the connection has issues. Second the "Data throutput" test didn't finish, it should have taken less than <10 seconds to finish, but the test logs only show the test starting and never finishing. :/ I wonder why that was.
,
Mar 14 2016
Is that win10 machine expected to not be able to connect to the turn server via udp? Could you run just these 3 tests: https://test.webrtc.org/?test_filter=Udp%20enabled,Data%20throughput,%20Tcp%20enabled If you get same results: - UDP fail, TCP success, Data throughput: hang Ask jansson to debug the hang in data throughput hanging. He knows those tests very well.
,
Mar 14 2016
,
Mar 14 2016
Re-ran the tests on Win 10 running on webRTClatencylab test network, and I get the same results as before - UDP fails, TCP success, Data throughput hangs jansson@ - mind taking a look when you get a chance? thanks! Attached testrtc logs from Win 10 m/c
,
Mar 14 2016
Thanks Srividya. Chris, very weird that udp gets blocked and very weird that data throughput hangs. I run it enforcing a tcp server [1] and it should succeed. I am a bit clueless on what is going on. I guess you might be able to find out having access to the machine and network. I would try silly things like "ping lens.l.google.com", see if the Windows laptop works from another wifi connection, look on firewall settings :| 1 - https://test.webrtc.org/?test_filter=Data%20throughput&turnURI=turn%3A74.125.22.127%3A19305%3Ftransport%3Dtcp&turnUsername=1458028097%3AAAewBviZ&turnCredential=eSdloHPOqi12HLBp81v8A1rzA8g%3D
,
Mar 14 2016
Jansson, Can I mark this EngTriaged, or do you need something from us?
,
Mar 14 2016
pthatcher@ Yeah that's fine, I will reroute if it's something weird in the WebRTC network stack.
,
Mar 21 2016
,
Mar 29 2016
Sorry I've not had a change to take a look at this yet, will try this week.
,
Mar 29 2016
While in KIR i found that network traversal provides a config that is not suitable for tcp only clients since webrtc is interpreting: "turn:IP:port" as "turn:IP:port?transport=udp" :/ Short team we need to fix the network traversal config though this will increase the number of allocations clients do. :/ So my guess is the the windows machine in question cannot reach the turn server via udp.
,
Apr 12 2016
jansson@ - srcv@ and I encountered a few ICE drops now, and this time its not Win-CrOS My Linux m/c has a wired network connection, and b/w Linux and CrOS, we experienced a bunch of ICE disconnected states in 2 way AppRTC calls. srcv@ was running "webrtclatencylab5g" network in her CrOS device
,
Apr 13 2016
We need a wireshark trace in order to determine what these ice drops could be. Since srcv@ is using wifi it could be it, it could be that the turn server or something between is having issues or that the wrong turn servers was provided (different geographic region but I see this as very unlikely after andresp@ fixing that issue).
,
Apr 13 2016
We have switched network traversal to return a tcp turn server candidate. So this should be fixed for the windows machine it was original opened for. But still you should find out if that machine has UDP blocked on purpose or it is a misconfiguration. Please open a new issue for that webrtclatencylab5g thing. Run testrtc from both the machines and explain the type of traffic blocking you are doing on your test if any.
,
May 10 2016
Filed https://bugs.chromium.org/p/chromium/issues/detail?id=610764 for ICE connection drops during apprtc calls with test network
,
May 12 2016
bulk verify (M50 clean up) |
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by tnakamura@chromium.org
, Mar 11 2016Status: Assigned (was: Untriaged)