例如,Stack自己的WebSocket服务: wss://qa.sockets.stackexchange.com/ 返回如下字符串: {"action":"155-questions-active"of webGL and I'm now diving into Three.js.\\n\\nI noticed that I have the option of using webGL1 or webGL2.Seems as if
我试图建立一个安全的websocket从统一无头服务器到WEBGL客户端。我知道这不是本地人支持的。我见过一些不安全的例子,我已经让它们在本地构建中工作了。由于在网站上使用https和后端的不安全连接,WebGL抛出错误。其他人让它起作用了,但我找不到“它起作用”的例子,所以我不知所措。错误
DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiat