[asterisk-users] WSS over Asterisk
Richard Kenner
kenner at gnat.com
Thu Jun 12 07:16:25 CDT 2014
> I'm having the error as shown belowÂ
>
> Connecting to 'wss://54.xxx.xxx.xxx:8080/ws' SIPml-api.js?svn=224:1
> ==stack event = starting SIPml-api.js?svn=224:1
> __tsip_transport_ws_onerror SIPml-api.js?svn=224:1
> __tsip_transport_ws_onclose SIPml-api.js?svn=224:1
> ==stack event = failed_to_start
>
>
> Where if I'm connecting through ws://54.xxx.xxx.xxxx:8080/ws, it works fine.
> Any idea why?Â
Sorry for the delay in answering: I meant to reply and forgot.
"ws://" uses HTTP and "wss://" uses HTTPS so there's no way they can
work via the same socket. You have to set up a separate HTTPS socket
for wss.
More information about the asterisk-users
mailing list