IE call drops after 30 seconds

2,007 views
Skip to first unread message

tilen....@gmail.com

unread,
Sep 9, 2014, 7:58:15 AM9/9/14
to temasys-discus...@googlegroups.com
Hello,

I am using JsSip library for web application and freeswitch for server. Problem is that in Internet Explorer call ends after 30-34 seconds. Looking in logs I see that it happens right after timer M expired.

JsSIP | TRANSACTION | Timer B expired for INVITE client transaction z9hG4bK8448017
SCRIPT12030
: WebSocket Error: Network Error 12030, The connection with the server was terminated abnormally


How to solve that problem? Is there any way to get debug/log info from temasy plugin. I tried setting log function (https://temasys.atlassian.net/wiki/display/TWPP/How+to+use+the+plugin+in+verbose+mode) but I don't see any logs in console.

Thank you very much for your help,
Tilen

Alex Gouaillard

unread,
Sep 9, 2014, 8:22:28 AM9/9/14
to tilen....@gmail.com, temasys-discuss-webrtcplugin
hi tilen,

Your problem does not seem related to your use of our plugin, but to a web socket time out. Our plugin does not provide web socket as:
a. it is not a dependency of webrtc
b. it s generally provided by the browsers.

I suggest that you ask this question on the jsSIP mailing list.

bets regards.

Alex.

--
You received this message because you are subscribed to the Google Groups "Temasys WebRTC Plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to temasys-discuss-webr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/temasys-discuss-webrtcplugin/ec6bb2bc-161c-46e4-8477-fe61ee24c2b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

tilen....@gmail.com

unread,
Sep 9, 2014, 8:26:29 AM9/9/14
to temasys-discus...@googlegroups.com, tilen....@gmail.com
Thank you for your help.


On Tuesday, September 9, 2014 2:22:28 PM UTC+2, Alex Gouaillard wrote:
hi tilen,

Your problem does not seem related to your use of our plugin, but to a web socket time out. Our plugin does not provide web socket as:
a. it is not a dependency of webrtc
b. it s generally provided by the browsers.

I suggest that you ask this question on the jsSIP mailing list.

bets regards.

Alex.
On Tue, Sep 9, 2014 at 7:58 PM, <tilen....@gmail.com> wrote:
Hello,

I am using JsSip library for web application and freeswitch for server. Problem is that in Internet Explorer call ends after 30-34 seconds. Looking in logs I see that it happens right after timer M expired.

JsSIP | TRANSACTION | Timer B expired for INVITE client transaction z9hG4bK8448017
SCRIPT12030
: WebSocket Error: Network Error 12030, The connection with the server was terminated abnormally


How to solve that problem? Is there any way to get debug/log info from temasy plugin. I tried setting log function (https://temasys.atlassian.net/wiki/display/TWPP/How+to+use+the+plugin+in+verbose+mode) but I don't see any logs in console.

Thank you very much for your help,
Tilen

--
You received this message because you are subscribed to the Google Groups "Temasys WebRTC Plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to temasys-discuss-webrtcplugin+unsub...@googlegroups.com.

Aleksey Korolev

unread,
Apr 23, 2015, 11:45:16 AM4/23/15
to temasys-discus...@googlegroups.com, tilen....@gmail.com
We had the same problem while working on Salesforce call center solution at vrpinc.com
We used SipJS and FreeSwitch and it was ok in FF and Chrome but in IE with Temasys WebRTC plugin there were disconnects every 30 seconds and JS console printed messages like these: 
SCRIPT12030: WebSocket Error: Network Error 12030, The connection with the server was terminated abnormally
Fri Apr 10 2015 17:46:31 GMT+0300 (Arab Standard Time) | sip.transport | WebSocket connection error: [object Event]
Fri Apr 10 2015 17:46:31 GMT+0300 (Arab Standard Time) | sip.transport | WebSocket disconnected (code: 1006)
Fri Apr 10 2015 17:46:31 GMT+0300 (Arab Standard Time) | sip.transport | WebSocket abrupt disconnection
Fri Apr 10 2015 17:46:31 GMT+0300 (Arab Standard Time) | sip.ua | connection state set to 1
Fri Apr 10 2015 17:46:31 GMT+0300 (Arab Standard Time) | sip.registercontext | emitting event unregistered
Fri Apr 10 2015 17:46:31 GMT+0300 (Arab Standard Time) | sip.ua | emitting event unregistered
unregistered

After some investigation we figured out that Firefox sends header "Connection: keep-alive, Upgrade" and IE sends just "Connection: Upgrade".
Most likely this is the reason of FreeSwitch terminating connection after 30 seconds.
Since you can't change headers of a websocket request in IE (at least I'm not aware of a way to do it) we solved the issue by sending a request to websocket each 20 seconds.

Hope that helps.

Aleksey

вторник, 9 сентября 2014 г., 15:22:28 UTC+3 пользователь Alex Gouaillard написал:
hi tilen,

Your problem does not seem related to your use of our plugin, but to a web socket time out. Our plugin does not provide web socket as:
a. it is not a dependency of webrtc
b. it s generally provided by the browsers.

I suggest that you ask this question on the jsSIP mailing list.

bets regards.

Alex.
On Tue, Sep 9, 2014 at 7:58 PM, <tilen....@gmail.com> wrote:
Hello,

I am using JsSip library for web application and freeswitch for server. Problem is that in Internet Explorer call ends after 30-34 seconds. Looking in logs I see that it happens right after timer M expired.

JsSIP | TRANSACTION | Timer B expired for INVITE client transaction z9hG4bK8448017
SCRIPT12030
: WebSocket Error: Network Error 12030, The connection with the server was terminated abnormally


How to solve that problem? Is there any way to get debug/log info from temasy plugin. I tried setting log function (https://temasys.atlassian.net/wiki/display/TWPP/How+to+use+the+plugin+in+verbose+mode) but I don't see any logs in console.

Thank you very much for your help,
Tilen

--
You received this message because you are subscribed to the Google Groups "Temasys WebRTC Plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to temasys-discuss-webrtcplugin+unsub...@googlegroups.com.

Agustí Ubalde

unread,
Nov 30, 2016, 4:15:53 AM11/30/16
to Temasys WebRTC Plugin, tilen....@gmail.com
Hi all,

We've the same problem with IE11. Applying the request every 20 seconds works, but it's a poor solution.
No one has any solution to the problem?


Thanks,
Agustí
Reply all
Reply to author
Forward
0 new messages