Skip to content

bug(panel): client Flow (xtls-rprx-vision) is incorrectly applied to linked VLESS-xHTTP inbounds in multi-inbound mode #4511

Description

@solynexxx

Describe the bug

Under the new multi-inbound client feature in v3, assigning a client to both VLESS-TCP-Reality and VLESS-xHTTP inbounds copies the client's flow parameter (e.g., xtls-rprx-vision) to the VLESS-xHTTP inbound configuration as well. Since VLESS-xHTTP does not support the XTLS-Vision flow, Xray-core rejects connections on the xHTTP transport.

How to repeat the problem?

  1. Create a VLESS-TCP inbound (with Reality enabled) and a VLESS-xHTTP inbound.
  2. Edit a client, select both inbounds under "Linked Inbounds".
  3. Set the client's Flow to xtls-rprx-vision.
  4. Save the client and check the generated Xray config (config.json).
  5. You will see "flow": "xtls-rprx-vision" under the xhttp client configuration.
  6. Try connecting to the vless-xhttp inbound—it will fail.

Expected action

The panel's config generator should dynamically strip or ignore the "flow" parameter for the VLESS-xHTTP inbound, even if the client has Flow set to "xtls-rprx-vision" for TCP-Reality.

Received action

The panel writes "flow": "xtls-rprx-vision" into the client settings of the linked VLESS-xHTTP inbound, causing xHTTP connections to fail.

3x-ui Version

3.1.0

Xray-core Version

26.5.9

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions