I am working on the same project.
This issue has a bad impact, some calls are lost.

I see that there is a issue on Github: https://github.com/signalwire/freeswitch/issues/1041
Hi everyone, we are currently running a custom-build phone application using sip.js which registers to the websocket of our Freeswitch. Our Freeswitch uses version 1.10.3 64 bit on a Debian buster....
github.com
We made logs and pcap traces, the websocket close happen on effective trafic, often after the 200 OK from (WebRTC) callee which is a big packet.

It should be linked with TCP segmentation, sometimes the issue occur when the OK packet is coming in 2 segments from network.

I send 2 pcap traces with SIP on a-leg and TCP:7443 on WebRTC leg, on both trace the Websocket is closed by Freeswitch.

What is your advice:

Best regards.

Rémi Marand.
rmarand@yahoo.fr / remi.marand@odigo.com



From: Kakiman Expert <jolexpert@gmail.com>
Sent: Wednesday, August 24, 2022 11:25
To: freeswitch-users@lists.freeswitch.org <freeswitch-users@lists.freeswitch.org>
Subject: [Freeswitch-users] Fwd: websocket disconnection issue - error 1006
 
Hello

I am working on FreeSWITCH 1.10.6 ans sip.js 0.16, and very often, I have a deconnection of the WSS session.
The error message on javascript console on Chrome is "error 1006 - websocket unexpectly closed"

This issue is very random but very often, and it breaks the incoming call.

Do you experiment such issue ? Do you know how to solve it ?

thanks
Franck