因为项目网站使用的免费证书,导致安卓和nodejs的一些业务都出现了无法验证.
报错:unable to verify the first certificate

解决方案

ws.connect("wss:localhost:6666", null, null, {rejectUnauthorized: false})

Nodejs中大多数的websocket库都能用该方法解决