<div dir="ltr"><div><div><div><div><div>Hi guys, <br><br></div>looks like I have more specific information right now<br><br></div>So we use Janus WebRTC gateway which is based on libnice <br><br></div>We have Web/iOS/Android clients.<br><br></div>So now I got more precise information how this issue occurs.<br></div>Looks like it's reproducible on cellular data, not WiFi, which makes more sense now because ICE flow can be different on WiFi and cellular<br><div><br><div>feedback from some clients:<br>
"We have connected to wifi and call gets connected. But on 
using mobile data, this issue still occurs. Connection refuses for all 
users and the server is down. "<br><br></div><div>Does it make any sense now? <br></div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 March 2018 at 15:39, Igor Khomenko <span dir="ltr"><<a href="mailto:igor@quickblox.com" target="_blank">igor@quickblox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>This is what I got from Janus log after startup when set above configs:<br><br>[Mon Mar 19 10:04:20 2018] Enabling libnice debugging...<br>[Mon Mar 19 10:00:51 2018]  [33m[WARN] [0m No NICE_DEBUG environment variable set, setting maximum debug<br>[Mon Mar 19 10:00:51 2018]  [33m[WARN] [0m No G_MESSAGES_DEBUG environment variable set, setting maximum debug<br>[Mon Mar 19 10:00:51 2018] Debugging NICE_DEBUG=all G_MESSAGES_DEBUG=all<br><br></div>But I think it's not still there, I can't find proper logs of libnice inside /var/log/janus.log<br><br></div>Here is my log<br><a href="https://www.dropbox.com/s/zqkyjb80sl0cdwg/janus.log?dl=0" target="_blank">https://www.dropbox.com/s/<wbr>zqkyjb80sl0cdwg/janus.log?dl=0</a><br><br></div>For example, we can find these lines:<br><br>------------------------------<wbr>---------------------<br>  Starting Meetecho Janus (WebRTC Gateway) v0.2.1<br>------------------------------<wbr>---------------------<br>....<br>[Mon Mar 19 10:21:29 2018] Enabling libnice debugging...<br><br></div>This is when Janus was restarted after the crash, <br></div>but before these lines I do not find anything unusual, and also there are no libnice debug logs<br><br></div>@Lorenzo - should we check for libnice debug logs on other place? <br><br></div>thanks<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 6 March 2018 at 11:59, Igor Khomenko <span dir="ltr"><<a href="mailto:igor@quickblox.com" target="_blank">igor@quickblox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I set "nice_debug = true" in Janus config which is going to enable the flag you mentioned, here<br><a href="https://github.com/meetecho/janus-gateway/blob/master/ice.c#L110" target="_blank">https://github.com/meetecho/ja<wbr>nus-gateway/blob/master/ice.c#<wbr>L110</a><br><br></div>Will try to reproduce the issue and then post here logs<br></div><div class="gmail_extra"><div><div class="m_-3560611551307935387h5"><br><div class="gmail_quote">On 5 March 2018 at 21:00, Olivier Crête <span dir="ltr"><<a href="mailto:olivier.crete@collabora.com" target="_blank">olivier.crete@collabora.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hi,</div><div><br></div><div>I wonder how it gets there in that state. It should be in the state connecting for this code to be called... Can you get a log with the libnice debug from the case? with G_MESSAGES_DEBUG=libnice ?</div><div><br></div><div>Olivier</div><span><div><br></div><div>On Mon, 2018-03-05 at 18:32 +0200, Igor Khomenko wrote:</div></span><blockquote type="cite" style="margin:0 0 0 .8ex;border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr"><span>Here is a link to stacktrace<br><a href="https://gist.github.com/soulfly/6d2f629b511423cbc1914ea66a141832" target="_blank">https://gist.github.com/soulfl<wbr>y/6d2f629b511423cbc1914ea66a14<wbr>1832</a><div><br></div></span><div><span><br>Here is a commit I reproduced this issue<br><a href="https://github.com/libnice/libnice/blob/dbaf8f5ccd76089e340883887c7e08e6c04de80a/agent/agent.c#L2320" target="_blank">https://github.com/libnice/lib<wbr>nice/blob/dbaf8f5ccd76089e3408<wbr>83887c7e08e6c04de80a/agent/age<wbr>nt.c#L2320</a><div><br></div></span><div><br><br><br><br><br clear="all"><div><br></div><pre>______________________________<wbr>_________________
nice mailing list
<a href="mailto:nice@lists.freedesktop.org" target="_blank">nice@lists.freedesktop.org</a>
<a href="https://lists.freedesktop.org/mailman/listinfo/nice" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/nice</a><span class="m_-3560611551307935387m_-3769585986096662126HOEnZb"><font color="#888888">
</font></span></pre></div></div></div></blockquote><span class="m_-3560611551307935387m_-3769585986096662126HOEnZb"><font color="#888888"><div><span><pre><pre>-- <br></pre>Olivier Crête
<a href="mailto:olivier.crete@collabora.com" target="_blank">olivier.crete@collabora.com</a>
</pre></span></div></font></span></div></blockquote></div><br><br clear="all"><br></div></div><span>-- <br><div class="m_-3560611551307935387m_-3769585986096662126gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:13px;background-color:rgb(255,255,255);border-collapse:collapse;color:rgb(0,0,102);font-family:tahoma,sans-serif">Igor Khomenko,</span><div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-family:tahoma,sans-serif;border-collapse:collapse"><div><font color="#000066">CTO @ </font><b><font color="#3366ff">Quick</font><font color="#009900">Blox</font></b></div><div><b><font color="#009900"><br></font></b></div><div style="color:rgb(0,0,102)"><a href="mailto:taras@quickblox.com" style="color:rgb(17,85,204)" target="_blank">igor@quickblox.com</a></div></span></div><div style="background-color:rgb(255,255,255)"><span style="border-collapse:collapse"><div style="color:rgb(0,0,102);font-family:tahoma,sans-serif;font-size:13px"><a href="https://q-municate.com/" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">Q-municate</a><span style="font-size:12.8px">: Igor Khomenko</span><br></div><div style="color:rgb(0,0,102);font-family:tahoma,sans-serif;font-size:13px"><br></div><div><font color="#000066" face="tahoma, sans-serif"><span style="white-space:pre-wrap">We will be happy to solve your tech issues if you ask ‘quickblox’ tagged question on StackOverflow <a href="http://stackoverflow.com/questions/ask" target="_blank">http://stackoverflow.com/quest<wbr>ions/ask</a></span></font></div></span></div></div></div></div>
</span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="m_-3560611551307935387gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:13px;background-color:rgb(255,255,255);border-collapse:collapse;color:rgb(0,0,102);font-family:tahoma,sans-serif">Igor Khomenko,</span><div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-family:tahoma,sans-serif;border-collapse:collapse"><div><font color="#000066">CTO @ </font><b><font color="#3366ff">Quick</font><font color="#009900">Blox</font></b></div><div><b><font color="#009900"><br></font></b></div><div style="color:rgb(0,0,102)"><a href="mailto:taras@quickblox.com" style="color:rgb(17,85,204)" target="_blank">igor@quickblox.com</a></div></span></div><div style="background-color:rgb(255,255,255)"><span style="border-collapse:collapse"><div style="color:rgb(0,0,102);font-family:tahoma,sans-serif;font-size:13px"><a href="https://q-municate.com/" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">Q-municate</a><span style="font-size:12.8px">: Igor Khomenko</span><br></div><div style="color:rgb(0,0,102);font-family:tahoma,sans-serif;font-size:13px"><br></div><div><font color="#000066" face="tahoma, sans-serif"><span style="white-space:pre-wrap">We will be happy to solve your tech issues if you ask ‘quickblox’ tagged question on StackOverflow <a href="http://stackoverflow.com/questions/ask" target="_blank">http://stackoverflow.com/<wbr>questions/ask</a></span></font></div></span></div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:13px;background-color:rgb(255,255,255);border-collapse:collapse;color:rgb(0,0,102);font-family:tahoma,sans-serif">Igor Khomenko,</span><div style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-family:tahoma,sans-serif;border-collapse:collapse"><div><font color="#000066">CTO @ </font><b><font color="#3366ff">Quick</font><font color="#009900">Blox</font></b></div><div><b><font color="#009900"><br></font></b></div><div style="color:rgb(0,0,102)"><a href="mailto:taras@quickblox.com" style="color:rgb(17,85,204)" target="_blank">igor@quickblox.com</a></div></span></div><div style="background-color:rgb(255,255,255)"><span style="border-collapse:collapse"><div style="color:rgb(0,0,102);font-family:tahoma,sans-serif;font-size:13px"><a href="https://q-municate.com/" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">Q-municate</a><span style="font-size:12.8px">: Igor Khomenko</span><br></div><div style="color:rgb(0,0,102);font-family:tahoma,sans-serif;font-size:13px"><br></div><div><font color="#000066" face="tahoma, sans-serif"><span style="white-space:pre-wrap">We will be happy to solve your tech issues if you ask ‘quickblox’ tagged question on StackOverflow <a href="http://stackoverflow.com/questions/ask" target="_blank">http://stackoverflow.com/questions/ask</a></span></font></div></span></div></div></div></div>
</div>