Skip to content

Xray-core v26.7.11 与 mihomo v1.19.28 REALITY 不兼容,连接全部提示 authentication failed #6477

Description

@iciness

问题描述

服务端 Xray-core 从 v26.6.27 升级到 v26.7.11 后,使用 mihomo v1.19.28 作为客户端连接所有 REALITY 节点均失败。

服务端降级回 v26.6.27 后恢复正常。

配置未做任何修改,仅替换 xray-core 可执行文件。

环境信息

服务端:

Xray 26.7.11
go1.26.5
Linux amd64

客户端:

Mihomo Meta v1.19.28
Windows amd64
go1.26.5

协议

VLESS + REALITY + Vision

network: raw(tcp)

flow: xtls-rprx-vision

服务端配置(脱敏)

{
  "protocol": "vless",
  "streamSettings": {
    "network": "raw",
    "security": "reality",
    "realitySettings": {
      "serverNames": [
        "******"
      ],
      "privateKey": "******",
      "shortIds": [
        "2000"
      ]
    }
  }
}

mihomo 配置(脱敏)

type: vless
network: tcp
tls: true
flow: xtls-rprx-vision

servername: ******

reality-opts:
  public-key: ******
  short-id: "2000"

client-fingerprint: chrome

服务端日志

大量重复出现:

REALITY: processed invalid connection:
authentication failed or validation criteria not met

同时也会出现:

REALITY: processed invalid connection:
failed to read client hello

没有出现:

invalid short id
invalid public key
invalid server name

等具体参数错误。

复现步骤

  1. 使用 Xray-core v26.6.27,mihomo 可正常连接。
  2. 不修改任何配置,仅升级服务端到 Xray-core v26.7.11。
  3. 所有 REALITY 节点连接失败。
  4. 服务端降级回 v26.6.27,立即恢复正常。

预期结果

升级 Xray-core 后,REALITY 应保持与现有 mihomo 客户端兼容。

实际结果

升级到 v26.7.11 后,REALITY 握手失败,全部提示:

authentication failed or validation criteria not met

请问这是 v26.7.11 对 REALITY 的行为调整,还是兼容性问题?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions