Websocket using asterisk

Hey, I tried to use websocket using wss://192.168.1.79:8089/ws with self signed SSL (I accepted the certificate in my chrome). I got handshake error 400 and I don’t know what to do.

WebSocket connection to ‘wss://192.168.1.79:8089/ws’ failed: Error during WebSocket handshake: Unexpected response code: 400

localhost*CLI> http show status
HTTP Server Status:
Prefix:
Server: Asterisk
Server Enabled and Bound to 0.0.0.0:8088

HTTPS Server Enabled and Bound to 0.0.0.0:8089

Enabled URI’s:
/httpstatus => Asterisk HTTP General Status
/phoneprov/… => Asterisk HTTP Phone Provisioning Tool
/amanager => HTML Manager Event Interface w/Digest authentication
/arawman => Raw HTTP Manager Event Interface w/Digest authentication
/manager => HTML Manager Event Interface
/rawman => Raw HTTP Manager Event Interface
/static/… => Asterisk HTTP Static Delivery
/amxml => XML Manager Event Interface w/Digest authentication
/mxml => XML Manager Event Interface
/ari/… => Asterisk RESTful API
/ws => Asterisk HTTP WebSocket

Enabled Redirects:
None.

Thanks.

What are you using the websocket for? Have you looked at the console to see if there’s anything?

I want to create a web softphone (webrtc) and click2call

Hello,
@eranshiffman : did you find a solution - I actually have the same issue