Tornado Server
ssl_options = {
\"certfile\": \"server.crt\",
\"keyfile\": \"server.key\"
}
application=Application()
server=tornado.httpserver.HT
The tornado error message means that an http request is being sent to an https port. I was loading the javascript from an http url, changing that to https solved the problem.
The browser is probably trying to show you the "do you accept this self-signed certificate" dialog, but can't because the websocket connection is invisible. To use wss:
with a self-signed certificate you must first visit a regular html page with that certificate so you can accept it.