WebSocket访问问题-模拟器成功,真机(MI5-Plus)连接失败
wx.connectSocket({ url: 'wss://www.马赛克.tech:8443/websocket' }) |
如上连接websocket,在模拟器上能够正常onSocketOpen,但是在真机(MI5-Plus)上会onSocketError报CertPathValidatorException:Trust anchor for certification path not found.