you may have to check the http(s) server's configuration. i assume you are using a web server to accept
connections and then pass them to a websockets server, yes? if no, ignore the rest of this post.
i have servers running nginx and apache. both can proxy my websockets server. but both must
be configured to handle http and https separately. if you only configured http, you have to do the same thing for https connections.
look carefully at how your server handles http and https when client is looking for websockets. you can usually just copy and paste
from http to https. it looks like you may be using IIS; i don't know how its configuration works.