[OpenSIPS-Users] Need some help on opensips error for wss handshek .

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Mar 20 13:21:36 UTC 2024


Hi,

OpenSIPS does not like that 1.1 version in the VIA hdr - it expects 2.0 
(the SIP version).

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
   https://www.siphub.com

On 12.03.2024 10:57, Sasmita Panda wrote:
> Hi All ,
>
> 1"  :callID 080a9ef8-3911-6c41-689c-fbb5d02e3aae
> Mar 12 08:23:11 localhost /usr/sbin/opensips[12987]: 
> ERROR:core:parse_via: bad char <1> on state 100
> Mar 12 08:23:11 localhost /usr/sbin/opensips[12987]: 
> ERROR:core:parse_via:  <1.1 p1wsa01.rivagecapital.com:80 
> <http://p1wsa01.rivagecapital.com:80> 
> (Cisco-WSA/12.5.4-011)#015#012#015#012>
> Mar 12 08:23:11 localhost /usr/sbin/opensips[12987]: 
> ERROR:core:parse_via: via parse failed
> Mar 12 08:23:11 localhost /usr/sbin/opensips[12987]: 
> ERROR:core:get_hdr_field: bad via
> Mar 12 08:23:11 localhost /usr/sbin/opensips[12987]: 
> INFO:core:parse_headers: bad header field
> Mar 12 08:23:11 localhost /usr/sbin/opensips[12987]: 
> ERROR:proto_wss:ws_parse_req_handshake: cannot parse 
> headers#012Upgrade: websocket#015#012Connection: Upgrade#015#012Host: 
> ir-webrtc2.3ccloud.com#015#012Pragma 
> <http://ir-webrtc2.3ccloud.com#015#012Pragma>: 
> no-cache#015#012Cache-Control: no-cache#015#012User-Agent: Mozilla/5.0 
> (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) 
> Chrome/122.0.0.0 <http://122.0.0.0> Safari/537.36 
> Edg/122.0.0.0#015#012Origin <http://122.0.0.0#015#012Origin>: 
> https://ir-static.3ccloud.com#015#012Sec-WebSocket-Version 
> <https://ir-static.3ccloud.com#015#012Sec-WebSocket-Version>: 
> 13#015#012Accept-Encoding: gzip, br#015#012Accept-Language: 
> en-GB,en;q=0.9,en-US;q=0.8#015#012Sec-WebSocket-Key: 
> I/8XqtXyBCAGorZYjnTYQA==#015#012Sec-WebSocket-Extensions: 
> permessage-deflate; 
> client_max_window_bits#015#012Sec-WebSocket-Protocol: 
> sip#015#012X-IMForwards: 20#015#012Via: 1.1 
> p1wsa01.rivagecapital.com:80 <http://p1wsa01.rivagecapital.com:80> 
> (Cisco-WSA/12.5.4-011)#015#012#015#012
>
>
>  I am getting this error on my opensips server where I am running 
> webrtc . What is this error for ?
>
>
> */Thanks & Regards/*
> /Sasmita Panda/
> /Senior Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240320/59c17cb5/attachment.html>


More information about the Users mailing list