How connect websocket over https
Hi, I could connect to my websocket php server on client side js file like this:
But when we use Https instead of Http we can’t connect to ws:// so i changed it to wss:// but still can’t connect to evostream server
Websocket = new WebSocket("ws://<evoip>:8410");
failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR
We know that we should by an ssl certificate and add a wss configuration under /etc/evostreamms/config.lua , but we don't want to use it for performance reasons,
Is there any propositions (solutions) to use only WS when we use HTTPS please ?