Please help me to understand. Studying the subject, confused.
Set node.js launched the server. Connect via new WebSocket("ws://Hrserver:Port");
If SSL is disabled (that is, the site on http) all works great
If you include SSL and changing a connection to WebSocket("wss://Hrserver:Port") - get error.