IOS15 websocket error

491 views
Skip to first unread message

Alpt

unread,
Sep 18, 2021, 8:48:11 PM9/18/21
to JsSIP
Hi All,
seems there are some problems with safari on IOS15 and jssip websocket.

on browser console i can see connection event:

JsSIP:Transport connect() +2ms
[Info] JsSIP:WebSocketInterface connect() +12ms (jssip-3.8.2.min.js, line 9)
[Info] JsSIP:WebSocketInterface connecting to WebSocket wss://xxxx:443 +0ms (jssip-3.8.2.min.js, line 9)
[Info] JsSIP:WebSocketInterface WebSocket wss://xxxxx:443 connected +419ms (jssip-3.8.2.min.js, line 9)

try to register:

JsSIP:Transport sending message:
REGISTER sip:xxxxxx SIP/2.0
[...]
User-Agent: JsSIP 3.8.2
Content-Length: 0

but suddenly browser close the connection

JsSIP:WebSocketInterface send() +11ms
[Error] WebSocket connection to 'wss://xxxx/' failed: The operation couldn’t be completed. (kNWErrorDomainPOSIX error 57 - Socket is not connected)
[Info] JsSIP:WebSocketInterface WebSocket wss://xxxx:443 closed +114ms (jssip-3.8.2.min.js, line 9)
[Info] JsSIP:WebSocketInterface WebSocket abrupt disconnection +0ms (jssip-3.8.2.min.js, line 9)

On ios 14.x all works fine.

Br
Alessandro

Aleksandr

unread,
Mar 24, 2022, 8:03:49 AM3/24/22
to JsSIP
Did you manage to solve this problem?

воскресенье, 19 сентября 2021 г. в 03:48:11 UTC+3, Alpt:
Reply all
Reply to author
Forward
0 new messages