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 <[email protected]> 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#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 > <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 > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
