Skip to content

Breaking VLESS changes with one of latest PRs #5181

@kastov

Description

@kastov

VLESS connections using xtls-rprx-vision flow fail when using the latest Xray Core version with Mihomo clients running core version below v1.9.12. Connections result in "ERR_EMPTY_RESPONSE" or "ERR_CONNECTION_CLOSED" errors.

Cause

I debugged a few commits after v25.8.31 and found problem PR.

Issue introduced in PR: #5076, to be precise: 4064f8d

Steps to reproduce

  1. Install latest Xray Core
  2. Install Clash Verge (Mihomo v1.9.2) or any Mihomo client with core version < v1.9.12
  3. Configure Xray with:
    • Protocol: VLESS+TLS or VLESS+REALITY
    • Flow: xtls-rprx-vision
  4. Attempt to access websites such as:

Connections will fail with errors:

  • ERR_CONNECTION_CLOSED
  • ERR_EMPTY_RESPONSE

So problem occurs with any clients with Mihomo core below v1.9.12.

Working configurations

  • Xray Core v25.8.31 + Mihomo < v1.9.12
  • Latest Xray Core + Mihomo ≥ v1.9.13

The Mihomo upgrade workaround is not ideal as many users rely on older client versions and may not be able to upgrade immediately. This creates compatibility issues for existing deployments.

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