console.log( ws.lastData )
HTTP/1.1 400 Bad Request
Server: nginx/1.10.1
Date: Mon, 13 Feb 2017 11:35:49 GMT
Content-Type: text/html
Content-Length: 271
Connection: close
400 The plain HTTP request was sent to HTTPS port
In the chrome ws-client the connection over wss:// is working.
I have another SSL-free ws-endpoint on 8827 on my server, and it's working just fine in ESP.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
If I try connecting to wss://myserver.com:8822:
I get
In the chrome ws-client the connection over wss:// is working.
I have another SSL-free ws-endpoint on 8827 on my server, and it's working just fine in ESP.