index-DrLOjSgh.js:500 Mixed Content: The page at 'https://xxx.xxx/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://xxx.xxx/websocket'. This request has been blocked; this endpoint must be available over WSS.
Uncaught SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
at fCe.connect (index-DrLOjSgh.js:500:1571)
at new fCe (index-DrLOjSgh.js:500:1819)
at index-DrLOjSgh.js:503:693
Should choose ws or wss based on the protocol?