2dust / v2rayN

A GUI client for Windows, support Xray core and v2fly core and others
https://1.2345345.xyz
GNU General Public License v3.0
67.77k stars 11.29k forks source link

[Bug]: 选择基于v2fly核心的vmess协议后,测速依旧基于xray #4674

Closed FelixTennouji closed 8 months ago

FelixTennouji commented 8 months ago

预期情况

选择基于v2fly核心的vmess协议后,测速依旧基于xray

实际情况

我使用的机场可以通过老版本v2rayN with core[5.39],使用其中基于xray的vmess来正常翻墙与v2rayN内置测速 使用最新版本v2rayN with core,xray无法使用vmess协议,通过更换core为v2fly则可以使用vmess,但是测速提示:The SSL connection could not be established, see inner exception.,

复现方法

可以通过将xray核心手动换为1.7版本及以下解决此问题

日志信息

初始化配置 启动服务(2024/01/28 23:14:20)... G:\v2rayN-Core\guiConfigs\configSpeedtest.json Xray 1.8.6 (Xray, Penetrates Everything.) Custom (go1.21.4 windows/amd64) A unified platform for anti-censorship. 2024/01/28 23:14:20 [Info] infra/conf/serial: Reading config: configSpeedtest.json 2024/01/28 23:14:20 [Debug] app/log: Logger started 2024/01/28 23:14:20 [Debug] app/proxyman/inbound: creating stream worker on 127.0.0.1:10911 2024/01/28 23:14:20 [Info] transport/internet/tcp: listening TCP on 127.0.0.1:10911 2024/01/28 23:14:20 [Warning] core: Xray 1.8.6 started 2024/01/28 23:14:21 [Info] [2321591496] proxy/http: request to Method [CONNECT] Host [speed.cloudflare.com:443] with URL [//speed.cloudflare.com:443] 2024/01/28 23:14:21 [Info] [2321591496] app/dispatcher: taking detour [proxy10911] for [tcp:speed.cloudflare.com:443] 2024/01/28 23:14:21 127.0.0.1:11972 accepted //speed.cloudflare.com:443 [http10911 -> proxy10911] 2024/01/28 23:14:21 [Info] [2321591496] transport/internet/websocket: creating connection to tcp:hkg4.ifastcdncache.com:24800 2024/01/28 23:14:21 [Debug] transport/internet: dialing to tcp:hkg4.ifastcdncache.com:24800 2024/01/28 23:14:21 [Info] [2321591496] proxy/vmess/outbound: tunneling request to tcp:speed.cloudflare.com:443 via hkg4.ifastcdncache.com:24800 2024/01/28 23:14:21 [Info] [2321591496] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: connection ends > proxy/vmess/outbound: failed to read header > common/drain: common/drain: unable to drain connection > websocket: close 1005 (no status) > proxy/vmess/encoding: Unable to Read Header Len > websocket: close 1005 (no status) 2024/01/28 23:14:21 [Info] [2321591496] app/proxyman/inbound: connection ends > proxy/http: connection ends > io: read/write on closed pipe 2024/01/28 23:14:22 测试完成

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

2dust commented 8 months ago

测速是批量的,所以只能用一个core启动,xray支持的协议多,所以就这样;如果您有更好的方案可以提