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

Bilal Abbasi bilaln018 at gmail.com
Mon Mar 30 14:21:09 CEST 2020


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:
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:
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200330/80c7507e/attachment.html>


More information about the sr-users mailing list