websocket disconnection

210 views
Skip to first unread message

Kakiman Expert

unread,
Sep 16, 2022, 11:09:14 AM9/16/22
to SIP.js
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

Jnkrpx Prknjx

unread,
Sep 21, 2022, 6:24:17 AM9/21/22
to SIP.js
Hi,
What version of freeswitch are you using?
See https://github.com/signalwire/freeswitch/issues/1041

Kakiman Expert

unread,
Nov 7, 2022, 3:55:20 AM11/7/22
to SIP.js
1.10.6
the issue has been solved yes, thanks !!

MBIRIKI Koussai

unread,
Nov 7, 2022, 4:00:44 AM11/7/22
to sip...@googlegroups.com
can you share how you solved your problem ?
Bien à vous,

Koussai MBIRIKI 



--
You received this message because you are subscribed to the Google Groups "SIP.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sip_js+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sip_js/46694080-60af-43c8-8246-dbd631ce9aa2n%40googlegroups.com.

Kakiman Expert

unread,
Nov 7, 2022, 4:24:35 AM11/7/22
to SIP.js
solved here  : https://github.com/freeswitch/sofia-sip/pull/175
with a new release of libsofia

Message has been deleted
Message has been deleted

Jnkrpx Prknjx

unread,
Nov 15, 2022, 11:24:24 AM11/15/22
to SIP.js
Can anyone confirm that it's really fixed? I've updated to 1.10.8 and in log I see various occurences of the error "nua_stack.c:301 nua_stack_event() nua(0x7fb02d347020): event i_media_error 500 Transport error detected"

Kakiman Expert

unread,
Nov 15, 2022, 11:32:09 AM11/15/22
to SIP.js
for me, it seems to be fixed because i do not have anymore the 1006 websocket disconnect on javascript console, and the behaviour is better.
But, i have noticed that since the sofia library update, the number of calls finishing with  "USER NOT REGISTERED" or "RECOVERY_ON_TIMER_EXPIRE" or "NO_USER_RESPONSE"  have increase of 200% ...

Reply all
Reply to author
Forward
Message has been deleted
0 new messages