error 401: Unauthorized in coturn

1,302 views
Skip to first unread message

milad....@gmail.com

unread,
May 28, 2016, 9:28:24 AM5/28/16
to kurento
Hi,
I'm configuring my own turn sever (coturn) in ubuntu on the same server where kurento-ms is installed. When I run coturn in terminal I see many
realm <xxx.xxx.xxx.xxx:3478> user <kurentouser>: incoming packet message processed, error 401: Unauthorized
errors.
It seems that turn server works because when I force kurento-utils to use relay only , If I stop the turn server all the connections would stop as well. But it concerns me anyway.

Also I remove the freeice module from kurento-utils because I want my own stun and turn server to be in charge :) I use this configuration in my js file before new WebrtcPeer ....

 var options = {
            localVideo
: media
           
, mediaConstraints: constraints
           
, onicecandidate: participant.onIceCandidate.bind(participant)
           
, sendSource: (type === 'screen' ? 'screen' : 'webcam'),
             configuration
: {
            iceServers
:[
             
{ "url": "turn:xxx.xxx.xxx.xxx:3478",
               
"username": "kurentouser",
               
"credential": "YYYZZZYYYZZZ"
             
},
               
{url:"stun:xxx.xxx.xxx.xxx:3478"}
           
]
       
}
       
}
Thanks in advance.

Ghanshyam Agrawal

unread,
May 30, 2016, 4:51:26 AM5/30/16
to kur...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks,
Ghanshyam Agrawal
Contact No : +919717167192

Reply all
Reply to author
Forward
0 new messages