[Freeswitch-users] [SIP.js] Re: websocket disconnection

Brian West brian at freeswitch.com
Thu Nov 10 20:46:27 UTC 2022


Regis,

We try hard to not pile on an issue unless we know for sure it's the same,
because that causes us to make some assumptions. 1006 is in the WebSocket
RFC as a disconnect, which means FreeSWITCH lost connection to the browser.

https://www.rfc-editor.org/rfc/rfc6455#section-7.4.1

Now, is this on a regular basis or totally random?  Have you done any
changes to sysctl.conf?

/b


On Thu, Nov 10, 2022 at 1:39 AM Regis M <regis.freeswitch.org at tornad.net>
wrote:

> Hello.
>
> You can check this issue here, think it's the same case.
>
> https://github.com/signalwire/freeswitch/issues/1041
>
> Regards,
>
>
>
> Le mer. 21 sept. 2022, 15:06, Jerry Kendall <
> Jerry.Kendall at bishophosting.com> a écrit :
>
>> The issue is still an ongoing issue.
>>
>> we are using:
>> debian 10
>> FS 1.10.6
>> libsofia-sip-au 1.13.8
>> Lets Encrypt
>> WSS
>>
>> we get the 1006 error very randomly...
>> After 3 weeks of trying to get WSS working, there is no noticeable
>> pattern to the failures...
>>
>> There are a number of possible fixes and I have implement all the
>> FreeSWITCH based fixes that are suppoosed to fix the issue.
>>
>> Sadly, after 3-4 weeks, no luck.
>>
>> Jerry
>>
>> On 9/21/2022 6:47 AM, Kakiman Expert wrote:
>> > Hello
>> >
>> > i am working with freeswitch 1.10.6-release-18
>> > i have tried to install nginx to handle WSS and send WS to freeswitch
>> but freeswitch reject the trafic because it receives "SIP/2.0/WSS" and I
>> think it wants WS
>> >
>> > Le mer. 21 sept. 2022 à 12:24, Jnkrpx Prknjx <jnkrpx at gmail.com> a
>> écrit :
>> >
>> >     Hi,
>> >     What version of freeswitch are you using?
>> >     See https://github.com/signalwire/freeswitch/issues/1041
>> >
>> >     Il giorno venerdì 16 settembre 2022 alle 17:09:14 UTC+2
>> jole... at gmail.com ha scritto:
>> >
>> >         hello
>> >
>> >         i am working with freeswitch and sip.js 0.16.1 and frequently,
>> i have this error in the browser javascript console :
>> >
>> >         sip.Transport | WebSocket closed unexpectedly
>> >         sip.Transport | WebSocket closed wss://xxxxxxx:7443 (code: 1006)
>> >
>> >         do you know why is it happening ? is there any problem with
>> 0.16.1 release ?
>> >
>> >         thanks
>> >         franck
>> >
>> >     --
>> >     You received this message because you are subscribed to a topic in
>> the Google Groups "SIP.js" group.
>> >     To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/sip_js/i9-DcmzK9tM/unsubscribe.
>> >     To unsubscribe from this group and all its topics, send an email to
>> sip_js+unsubscribe at googlegroups.com.
>> >     To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sip_js/20a3d6d8-3632-4054-aabd-3ad5039f793fn%40googlegroups.com
>> <
>> https://groups.google.com/d/msgid/sip_js/20a3d6d8-3632-4054-aabd-3ad5039f793fn%40googlegroups.com?utm_medium=email&utm_source=footer
>> >.
>> >
>> >
>> >
>> _________________________________________________________________________
>> >
>> > The FreeSWITCH project is sponsored by SignalWire
>> https://signalwire.com
>> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>> services.
>> > Build your next product on our scalable cloud platform.
>> >
>> > Join our online community to chat in real time
>> https://signalwire.community
>> >
>> > Professional FreeSWITCH Services
>> > sales at freeswitch.com
>> > https://freeswitch.com
>> >
>> > Official FreeSWITCH Sites
>> > https://freeswitch.com/oss
>> > https://freeswitch.org/confluence
>> > https://cluecon.com
>> >
>> > FreeSWITCH-users mailing list
>> > FreeSWITCH-users at lists.freeswitch.org
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> > UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> > https://freeswitch.com
>>
>>
>>
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>> services.
>> Build your next product on our scalable cloud platform.
>>
>> Join our online community to chat in real time
>> https://signalwire.community
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> https://freeswitch.com
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com



-- 

Brian West | Co-founder and Developer

Need Commercial support? email sales at freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>

Email: brian at freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>

[image: https://www.facebook.com/signalwireinc?src=email]
<https://www.facebook.com/freeswitch> [image:
https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20221110/339a2dde/attachment.html>


More information about the FreeSWITCH-users mailing list