Ice connection Failed

783 views
Skip to first unread message

Neuron apps

unread,
Oct 26, 2016, 4:18:42 AM10/26/16
to discuss-webrtc
The ICE agent has finished gathering candidates when users are in Same Internet connection, But if Users are in different Internet Connection Ice connection failed.

Iñaki Baz Castillo

unread,
Oct 26, 2016, 10:37:29 AM10/26/16
to discuss...@googlegroups.com
STUN TURN


--
Iñaki Baz Castillo
<i...@aliax.net>

Honghai Zhang

unread,
Oct 26, 2016, 12:01:08 PM10/26/16
to discuss...@googlegroups.com
What do you mean by "different Internet Connection"?
Can you provide more details on this? 


--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/CALiegfksnoDrJrhyuw%2BeKZxHeL3Hv_bd%2B%2Bw762Dx1uyJKUcLtw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Neuron apps

unread,
Oct 26, 2016, 9:24:04 PM10/26/16
to discuss-webrtc
i use 5 stun server 

{url:'stun:stun1.l.google.com:19302'},
{url:'stun:stun2.l.google.com:19302'},
{url:'stun:stun3.l.google.com:19302'},
{url:'stun:stun4.l.google.com:19302'},
and one turn server (which contain url , username and password )


Neuron apps

unread,
Oct 26, 2016, 9:29:07 PM10/26/16
to discuss-webrtc
I mean two user A and B , A user uses "XYZ" wifi  and B user uses "ZYX" wifi
,then in this case ICE connection failed but if both A and B uses same "XYZ" wifi
,then Ice connection successfully gathered and i am able to do video call . 

On Wednesday, October 26, 2016 at 9:31:08 PM UTC+5:30, Honghai Zhang wrote:
What do you mean by "different Internet Connection"?
Can you provide more details on this? 
On Wed, Oct 26, 2016 at 7:37 AM, Iñaki Baz Castillo <i...@aliax.net> wrote:
2016-10-26 10:18 GMT+02:00 Neuron apps <neuronmo...@gmail.com>:
> The ICE agent has finished gathering candidates when users are in Same
> Internet connection, But if Users are in different Internet Connection Ice
> connection failed.

STUN TURN


--
Iñaki Baz Castillo
<i...@aliax.net>

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.

Philipp Hancke

unread,
Oct 27, 2016, 2:40:55 AM10/27/16
to discuss...@googlegroups.com
2016-10-27 3:24 GMT+02:00 Neuron apps <neuronmo...@gmail.com>:
i use 5 stun server 

{url:'stun:stun1.l.google.com:19302'},
{url:'stun:stun2.l.google.com:19302'},
{url:'stun:stun3.l.google.com:19302'},
{url:'stun:stun4.l.google.com:19302'},
and one turn server (which contain url , username and password )
Are relay candidates gathered? I.e. do you see onicecandidate with a candidate that contains "typ relay"?
If not that suggests your TURN server is not configured. Or you are blocking on a network which blocks udp (in that case you would not get srflx candidates either

 


On Wednesday, October 26, 2016 at 8:07:29 PM UTC+5:30, Iñaki Baz Castillo wrote:
2016-10-26 10:18 GMT+02:00 Neuron apps <neuronmo...@gmail.com>:
> The ICE agent has finished gathering candidates when users are in Same
> Internet connection, But if Users are in different Internet Connection Ice
> connection failed.

STUN TURN


--
Iñaki Baz Castillo
<i...@aliax.net>

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/10d19e8d-4ef4-4577-81fa-73699be97e80%40googlegroups.com.

Iñaki Baz Castillo

unread,
Oct 27, 2016, 5:58:36 AM10/27/16
to discuss...@googlegroups.com
2016-10-27 3:29 GMT+02:00 Neuron apps <neuronmo...@gmail.com>:
> I mean two user A and B , A user uses "XYZ" wifi and B user uses "ZYX" wifi
> ,then in this case ICE connection failed but if both A and B uses same "XYZ"
> wifi
> ,then Ice connection successfully gathered and i am able to do video call .

Time to debug your network stuff. Having a deployed TURN server means
nothing if you don't check that, in fact, it works in cases when P2P
is not possible. Network issues are not "WebRTC bugs".

Neuron apps

unread,
Nov 4, 2016, 9:01:48 AM11/4/16
to discuss-webrtc
yes it contains typ replay---> {"candidate":{"candidate":"candidate:4024582370 2 udp 41885438 205.134.239.138 58871 typ relay raddr 111.118.241.211 rport 61082 generation 0 ufrag T+QE network-id 3","sdpMid":"audio","sdpMLineIndex":0},"type":"candidate","from":"3d01a24f-604e-70a8-9ad0-c918632ae1a","destination":"69741000"}


On Thursday, October 27, 2016 at 12:10:55 PM UTC+5:30, Philipp Hancke wrote:
2016-10-27 3:24 GMT+02:00 Neuron apps <neuronmo...@gmail.com>:
i use 5 stun server 

{url:'stun:stun1.l.google.com:19302'},
{url:'stun:stun2.l.google.com:19302'},
{url:'stun:stun3.l.google.com:19302'},
{url:'stun:stun4.l.google.com:19302'},
and one turn server (which contain url , username and password )
Are relay candidates gathered? I.e. do you see onicecandidate with a candidate that contains "typ relay"?
If not that suggests your TURN server is not configured. Or you are blocking on a network which blocks udp (in that case you would not get srflx candidates either

 


On Wednesday, October 26, 2016 at 8:07:29 PM UTC+5:30, Iñaki Baz Castillo wrote:
2016-10-26 10:18 GMT+02:00 Neuron apps <neuronmo...@gmail.com>:
> The ICE agent has finished gathering candidates when users are in Same
> Internet connection, But if Users are in different Internet Connection Ice
> connection failed.

STUN TURN


--
Iñaki Baz Castillo
<i...@aliax.net>

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages