WebSocket connection to 'ws://xxxxxx/ws/' failed: Unexpected response code: 502_failed: error during websocket handshake: unexpect-CSDN博客网友收藏

WebSocket connection to 'ws://xxxxxx/ws/' failed: Unexpected response code: 502_failed: error during websocket handshake: unexpect-CSDN博客

文章浏览阅读7w次。在使用reactJs开发一个项目的时候在适配Android的时候遇到这个问题。首先,前提是这个webscoket地址是可以使用的,并且在电脑浏览器上是可以正常的其次,Android7.0以上的原生浏览器上是正常的(国内其他机型......
阅读全文