我正在开发一个使用节点的Chrome应用程序,通过WebRTC的视频和通过socket.io的Leap Motion功能,并在本地进行测试 . 在Chrome安全更新(版本46及更早版本)之前,我的LM控制器和装配好的手部功能正常运行 . 现在,在我实现安全HTTPS连接后,通过OpenSSL生成我自己的密钥以符合Chrome安全性,我的控制器不再有效 . 我收到错误(都发生在leap.js):

WebSocket connection to 'wss://<myIP>:6436/v6.json' failed: Error in connection establishment: net:: ERR_CONNECTION_REFUSED

 Mixed Content: The page at 'https://<myIP>:2013/expert.html' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://<myIP>:6437/v6.json'. This request has been blocked; this endpoint must be available over WSS.

依赖于websocket.io(绘图工具,冻结工具等)的其他功能正常运行,因此这让我相信我的错误是我需要用Chrome本身解决的问题 .

任何见解都表示赞赏!