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.04k stars 11.18k forks source link

[Bug]: 6.32版本win7无法正常启动hy协议的代理 #4578

Closed shuiyun235 closed 8 months ago

shuiyun235 commented 8 months ago

抱歉标题版本号打错了是6.32

预期情况

和6.31版本一样,能使用hy协议的代理以及正常测速

实际情况

下载v2rayN-With-Core6.32新版本,导入hy协议后,运行软件,debug弹窗提示: 运行Core失败,请看日志

软件自带信息: 启动服务(2024/01/05 13:46:03)... Exception 0xc0000005 0x8 0x0 0x0 PC=0x0 runtime.asmstdcall() $GOROOT/src/runtime/sys_windows_amd64.s:65 +0x75 fp=0x22fca0 sp=0x22fc80 pc=0x473d95 rax 0x0 rbx 0x1f10fc0 rcx 0x1f688e0 rdi 0x7fffffde000 rsi 0x22fea0 rbp 0x22fde0 rsp 0x22fc78 r8 0x0 r9 0x22fee0 r10 0x1f39df8 r11 0x21 r12 0x22fec0 r13 0x1 r14 0x1f0ffc0 r15 0x0 rip 0x0 rflags 0x10293 cs 0x33 fs 0x53 gs 0x2b Cannot mix synchronous and asynchronous operation on process stream. 2024/01/05 13:46:03 系统代理设置改变ForcedClear 2024/01/05 13:46:02 运行Core失败,请看日志 2024/01/05 13:46:16 当前服务的真连接延迟: -1 ms

Config文件: { "log": { "level": "warn", "timestamp": true }, "dns": { "servers": [ { "address": "tcp://8.8.8.8" }, { "tag": "local_local", "address": "223.5.5.5", "detour": "direct" } ], "rules": [ { "outbound": "any", "server": "local_local" } ] }, "inbounds": [ { "type": "socks", "tag": "socks", "listen": "127.0.0.1", "listen_port": 10808, "sniff": true, "sniff_override_destination": true }, { "type": "http", "tag": "http", "listen": "127.0.0.1", "listen_port": 10809, "sniff": true, "sniff_override_destination": true } ], "outbounds": [ { "type": "hysteria2", "tag": "proxy", "server": "", "server_port": 25678, "up_mbps": 100, "down_mbps": 100, "password": "", "tls": { "enabled": true, "server_name": "", "insecure": true } }, { "type": "direct", "tag": "direct" }, { "type": "block", "tag": "block" }, { "type": "dns", "tag": "dns_out" } ], "route": { "rules": [ { "outbound": "dns_out", "protocol": [ "dns" ] }, { "outbound": "direct", "domain": [ "example-example.com", "example-example2.com" ], "domain_suffix": [ ".example-example.com", ".example-example2.com" ] }, { "outbound": "block", "geosite": [ "category-ads-all" ] }, { "outbound": "direct", "geosite": [ "cn" ] }, { "outbound": "direct", "geoip": [ "private", "cn" ] }, { "outbound": "proxy", "port_range": [ "0:65535" ] } ] }

复现方法

下载v2rayN-With-Core6.32新版本 ,解压后使用,正常复制导入含hy协议的代理线路,然后就提示实际情况 然后我下载v2rayN-With-Core6.31版本解压导入节点,更新v2rayN,则正常使用;然后我查看bin里的sing-box文件:6.32自带2023-12-21版本,6.31自带2023-11-21版本,于是我用sing-box下载进行测试:1.72版本正常启动,但是1.74版本后就会出现实际情况现象,我不知道是不是sing-box停止支持win7系统,但是我在更新说明里以及介绍里并没有看见1.74版本后不支持win7的说明文

日志信息

2024-01-05 13:46:03.1876-INFO v2rayN start up | v2rayN - V6.32 - 2023/12/29 | C:\Users\Administrator\Desktop\v2rayN-With-Core(6.32)\v2rayN-With-Core\v2rayN.exe 2024-01-05 13:46:03.5116-DEBUG Cannot mix synchronous and asynchronous operation on process stream.,Cannot mix synchronous and asynchronous operation on process stream. 2024-01-05 13:46:03.5176-DEBUG at System.Diagnostics.Process.get_StandardError() at v2rayN.Handler.CoreHandler.RunProcess(ProfileItem node, CoreInfo coreInfo, String configPath, Boolean displayLog, Action`2 update)

额外信息

我看几天前有人发消息,但是没有提供详细信息,于是我提供一下

我确认已更新至最新版本

我确认已查询历史issues

2dust commented 8 months ago

win7 版本,32位吗?

shuiyun235 commented 8 months ago

已自行解决,win7 1.74以后版本需下载sing-box里的支持win7的windows-amd64-legacy这个相应文件覆盖即可,普通的sing-box amd64版本文件在1.74版本以后已经对win7不支持,感谢作者,希望对作者有所帮助

2dust commented 8 months ago

是不是使用下面的版本就可用正常用 ? https://github.com/SagerNet/sing-box/releases/download/v1.7.8/sing-box-1.7.8-windows-amd64-legacy.zip

shuiyun235 commented 8 months ago

kun213 commented 5 months ago

亲测有效