验证步骤
操作系统
Windows
系统版本
windows 11
Mihomo 版本
Mihomo Meta v1.19.28 windows amd64 with go1.26.5 Wed Jul 8 00:25:26 UTC 2026
Use tags: with_gvisor
配置文件
proxies:
- name: vless-reality-test
type: vless
server: example.com
port: 443
uuid: 00000000-0000-4000-8000-000000000000
network: tcp
tls: true
flow: xtls-rprx-vision
servername: example.com
client-fingerprint: chrome
reality-opts:
public-key: "<redacted>"
short-id: "<redacted>"
描述
问题描述
Xray-core 从 v26.7.11 开始,在 REALITY 服务端未显式配置
minClientVer 时,会自动将最低客户端版本设为 26.3.27。
相关提交:
XTLS/Xray-core@af7eb68
mihomo 当前在构造 REALITY ClientHello 时,仍将 Session ID 中的客户端版本
硬编码为 1.8.2:
https://github.com/MetaCubeX/mihomo/blob/Meta/component/tls/reality.go#L74-L76
hello.SessionId[0] = 1
hello.SessionId[1] = 8
hello.SessionId[2] = 2
REALITY 服务端会将这三个字节解释为客户端版本。由于:
使用 Xray-core v26.7.11 或更新版本作为服务端时,只要服务端没有显式配置
minClientVer,mihomo 的 REALITY 握手就会被拒绝。
重现方式
- 使用 Xray-core
v26.7.11 作为 VLESS Vision REALITY 服务端。
- REALITY 服务端配置中不填写
minClientVer。
- 使用最新 mihomo,通过
vless + xtls-rprx-vision + reality 连接。
- 连接失败,客户端通常提示
REALITY authentication failed。
- 在服务端显式加入
"minClientVer": "1.8.2" 后重启服务。
- 使用相同的 mihomo 配置可以正常连接。
使用 Xray-core v26.6.27 服务端,或者在新版服务端显式降低
minClientVer,也不会出现该问题。
日志
REALITY authentication failed
验证步骤
操作系统
Windows
系统版本
windows 11
Mihomo 版本
Mihomo Meta v1.19.28 windows amd64 with go1.26.5 Wed Jul 8 00:25:26 UTC 2026
Use tags: with_gvisor
配置文件
描述
问题描述
Xray-core 从
v26.7.11开始,在 REALITY 服务端未显式配置minClientVer时,会自动将最低客户端版本设为26.3.27。相关提交:
XTLS/Xray-core@af7eb68
mihomo 当前在构造 REALITY ClientHello 时,仍将 Session ID 中的客户端版本
硬编码为
1.8.2:https://github.com/MetaCubeX/mihomo/blob/Meta/component/tls/reality.go#L74-L76
REALITY 服务端会将这三个字节解释为客户端版本。由于:
使用 Xray-core
v26.7.11或更新版本作为服务端时,只要服务端没有显式配置minClientVer,mihomo 的 REALITY 握手就会被拒绝。重现方式
v26.7.11作为 VLESS Vision REALITY 服务端。minClientVer。vless + xtls-rprx-vision + reality连接。REALITY authentication failed。"minClientVer": "1.8.2"后重启服务。使用 Xray-core
v26.6.27服务端,或者在新版服务端显式降低minClientVer,也不会出现该问题。日志