[SR-Users] [kamailio][webrtc issue]

Bilal Abbasi bilaln018 at gmail.com
Tue Apr 7 16:40:00 CEST 2020


Hi David,
Thanks for the answer, i was making some error while enabling web sockets,
and i got that resolved.
Thanks again

On Thu, Apr 2, 2020 at 12:47 PM David Villasmil <
david.villasmil.work at gmail.com> wrote:

> Ok let’s see. Can you increase the debug and try again? I remember there
> is a setting on tryjssip I had to set, something to do with sessions.
>
>
> On Wed, 1 Apr 2020 at 08:36, Bilal Abbasi <bilaln018 at gmail.com> wrote:
>
>> Any body that can help me with this.
>>
>> Regards
>> Abbasi
>>
>> On Mon, 30 Mar 2020 at 10:35 PM, Bilal Abbasi <bilaln018 at gmail.com>
>> wrote:
>>
>>> Hi David,
>>> No, actually i removed my own domain details from the logs, sorry about
>>> not mentioning that ;-)
>>>
>>> On Mon, Mar 30, 2020 at 10:09 PM David Villasmil <
>>> david.villasmil.work at gmail.com> wrote:
>>>
>>>> Are there really 2 dots in .com?
>>>>
>>>> 'wss://kamailio..com:7443/' failed:
>>>>
>>>> On Mon, 30 Mar 2020 at 17:57, Bilal Abbasi <bilaln018 at gmail.com> wrote:
>>>>
>>>>> I am using lets encrypt for my certs and i validated them as right via
>>>>> https://www.sslshopper.com/ssl-checker.html
>>>>>
>>>>> Regards
>>>>> Abbasi
>>>>>
>>>>> On Mon, Mar 30, 2020 at 5:34 PM Mack Hendricks <mack at dopensource.com>
>>>>> wrote:
>>>>>
>>>>>> Are you using a self-signed cert?  If so, make sure your browser
>>>>>> excepts the cert by going to  http://yourserver:7443 and then login
>>>>>> using tryjssip.net
>>>>>>
>>>>>> -Mack
>>>>>>
>>>>>> On Mar 30, 2020, at 8:21 AM, Bilal Abbasi <bilaln018 at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>> Hi Users,
>>>>>> I am new to kamailio, and trying to implement webrtc on kamailio, i
>>>>>> am getting following error when i try to login from tryjssip page.
>>>>>>
>>>>>> Mar 29 21:11:15 kamailio kamailio[20570]: ERROR: <core>
>>>>>> [core/tcp_read.c:1535]: tcp_read_req(): bad request, state=7, error=4
>>>>>> buf:#012GET / HTTP/1.1#015#012Host: kamailio..com:7443#015#012Connection:
>>>>>> Upgrade#015#012Pragma: no-cache#015#012Cache-Control:
>>>>>> no-cache#015#012User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2)
>>>>>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149
>>>>>> Safari/537.36#015#012Upgrade: websocket#015#012Origin:
>>>>>> https://tryit.jssip.net#015#012Sec-WebSocket-Version
>>>>>> <https://tryit.jssip.net/#015%23012Sec-WebSocket-Version>:
>>>>>> 13#015#012Accept-Encoding: gzip, deflate, br#015#012Accept-Language:
>>>>>> en-US,en;q=0.9,ur;q=0.8#015#012Sec-WebSocket-Key:
>>>>>> 88fVCzdsvQPCrwV7gMrWaA==#015#012Sec-WebSocket-Extensions:
>>>>>> permessage-deflate; client_max_window_bits#015#012Sec-WebSocket-Protocol:
>>>>>> sip#015#012#015#012#012parsed:#012GET / HTTP/1.1#015#012Host:
>>>>>> kamailio..com:7443#015#012Connection: Upgrade#015#012Pragma:
>>>>>> no-cache#015#012Cache-Control: no-cache#015#012User-Agent: Mozilla/5.0
>>>>>> (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko)
>>>>>> Chrome/80.0.3987.149 Safari/537.36#015#012Upgrade: websocket#015#012Origin:
>>>>>> https://tryit.jssip.net#015#012Sec-WebSocket-Version
>>>>>> <https://tryit.jssip.net/#015%23012Sec-WebSocket-Version>:
>>>>>> 13#015#012Accept-Encoding: gzip, deflate, br#015#012Accept-Language:
>>>>>> en-US,en;q=0.9,ur;q=0.8#015#012Sec-WebSocket-Key:
>>>>>> 88fVCzdsvQPCrwV7gMrWaA==#015#012Sec-WebSocket-Extensions:
>>>>>> permessage-deflate; client_max_window_bits#015#012Sec-WebSocket-Protocol:
>>>>>> sip
>>>>>>
>>>>>> I can see following error on chrome console.
>>>>>> WebSocket connection to 'wss://kamailio..com:7443/' failed:
>>>>>> Connection closed before receiving a handshake response
>>>>>>
>>>>>> I tried to set tcp_accept_no_cl to value 'no' and this did not helped
>>>>>> me either.
>>>>>>
>>>>>> Can someone please help me with the issue
>>>>>>
>>>>>> Regards
>>>>>> Bilal Abbasi
>>>>>> _______________________________________________
>>>>>> Kamailio (SER) - Users Mailing List
>>>>>> sr-users at lists.kamailio.org
>>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Kamailio (SER) - Users Mailing List
>>>>>> sr-users at lists.kamailio.org
>>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>>
>>>>> _______________________________________________
>>>>> Kamailio (SER) - Users Mailing List
>>>>> sr-users at lists.kamailio.org
>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>
>>>> --
>>>> Regards,
>>>>
>>>> David Villasmil
>>>> email: david.villasmil.work at gmail.com
>>>> phone: +34669448337
>>>> _______________________________________________
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users at lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200407/baf3d811/attachment.html>


More information about the sr-users mailing list