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

Sasmita Panda spanda at 3clogic.com
Thu Mar 21 06:37:39 UTC 2024


We are using webrtc Client integrated with browsers using sipml5 client
library . I think this is a common library used across the glob .
Every customer that has this same client running with webrtc Server (having
opensips) is common .
But the error I have seen is for one or two agents only .


So the error is for the client or the network ? If it can be the network
then I may suggest the customer to change the network while using webrtc
client .


*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*


On Wed, Mar 20, 2024 at 7:55 PM Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

> Hi,
>
> There is a fix (to tolerate different version numbers there) but only in
> OpenSIPS 3.5 [1] (the devel version), not yet backported to stable 3.4 and
> 3.2. You can try to do the backport by yourself.
>
> BTW, what WS client & browser are you using ?? It is pretty unusual what
> you report here.
>
> [1]
> https://github.com/OpenSIPS/opensips/commit/e30a355397b285a5140ebb25a485bed7134de7ee
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>   https://www.opensips-solutions.com
>   https://www.siphub.com
>
> On 20.03.2024 15:30, Sasmita Panda wrote:
>
> Hi Bogdan,
> I appreciate your reply .
>
> How can I suggest modifying this header ? Because I have seen this for
> some remote agents who run in the browser . I don't have access to the
> browser .
> The browser which got connected successfully I couldn't see such types of
> logs  .
>
> What causes this header version in the wss connection ?
>
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Senior Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
>
> On Wed, Mar 20, 2024 at 6:51 PM Bogdan-Andrei Iancu <bogdan at opensips.org>
> wrote:
>
>> 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
>> (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%23012Pragma>:
>> 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 Safari/537.36 Edg/122.0.0.0#015#012Origin
>> <http://122.0.0.0#015%23012Origin>:
>> 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
>> (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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240321/be78ffd4/attachment-0001.html>


More information about the Users mailing list