首页新闻找找看学习计划

websocket failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET

0
悬赏园豆:20 [待解决问题]

failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET

Provisional headers are shown
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Cache-Control: no-cache
Connection: Upgrade
Host: 120.78.204.188:2346
Origin: http://wk.huapiaoliang.com
Pragma: no-cache
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
Sec-WebSocket-Key: zEyD7PWouZx/OLPbheek/A==
Sec-WebSocket-Version: 13
Upgrade: websocket
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36

无限REIZ的主页 无限REIZ | 初学一级 | 园豆:76
提问于:2019-08-13 12:19
< >
分享
所有回答(1)
0

1 先确认是否服务端的问题:直接浏览器访问你的服务看是否正常
2 再确认WebSocket的异常,可以抓访问 http 包看和1的区别,找线索

2012 | 园豆:18540 (专家六级) | 2019-08-15 08:20
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册