anyproxy 开启https代理后,websocket代理会被关闭

swvgeqrz  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(115)
平台: Linux Centos7.6
Anyproxy版本: 4.1.2
期望结果: 能同时代理https和wss请求
问题描述:
  • 开启https代理后,代理wss请求就会出现如下日志,proxy ws closed..
  • 只开启ws代理: anyproxy --ws-intercept 则可以正常代理
执行日志:
0|proxy  | [AnyProxy Log][2021-06-02 10:15:13]: proxy ws closed with code: 1006 and reason: 
0|proxy  | [AnyProxy Log][2021-06-02 10:15:13]: original ws closed with code: 1001 and reason: Unexpected server response: 500
0|proxy  | [AnyProxy Log][2021-06-02 10:15:14]: received https CONNECT request ws.xxx.com
0|proxy  | [AnyProxy Log][2021-06-02 10:15:14]: will forward to local https server
rta7y2nd

rta7y2nd1#

跪求官方给我一个方案,能同时支持wss和https的启动方式,已经尝试很多办法了,都不行~~~

bvjxkvbb

bvjxkvbb2#

@foodmade 有解决办法了吗

相关问题