[GH-ISSUE #3943] xtls-rprx-vision-udp443 flow is saved to database but written as empty string in xray config.json #2664

Closed
opened 2026-10-31 20:27:04 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @DeSQTRoY on GitHub (Mar 18, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3943

Describe the bug

3X-UI version

v2.8.10 (also not fixed in v2.8.11)

Xray-core version

26.2.6

Description

When setting a client's flow to xtls-rprx-vision-udp443 in the panel, the value is correctly saved to the SQLite database but when 3X-UI generates the runtime config.json for xray, the flow field becomes an empty string "". This silently breaks the client connection.

Setting flow to xtls-rprx-vision (without -udp443) works correctly.

How to repeat the problem?

Steps to reproduce

  1. Create a VLESS inbound with Reality + TCP
  2. Add a client, set flow to xtls-rprx-vision-udp443
  3. Save and restart xray
  4. Inspect /usr/local/x-ui/bin/config.json

Expected

{"email": "client", "flow": "xtls-rprx-vision-udp443", "id": "..."}

Actual

{"email": "client", "flow": "", "id": "..."}

Database (x-ui.db) stores the correct value "flow": "xtls-rprx-vision-udp443", but the generated runtime config has empty flow.

Impact

  • Client cannot connect (server doesn't apply vision flow)
  • Hard to diagnose — the panel UI shows the correct flow, everything looks fine
  • Affects all clients with vision-udp443; clients with xtls-rprx-vision on the same inbound work fine

Workaround

Use xtls-rprx-vision instead of xtls-rprx-vision-udp443.

Expected action

No response

Received action

No response

3x-ui Version

2.8.10

Xray-core Version

26.2.6

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @DeSQTRoY on GitHub (Mar 18, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3943 ### Describe the bug ### 3X-UI version v2.8.10 (also not fixed in v2.8.11) ### Xray-core version 26.2.6 ### Description When setting a client's flow to `xtls-rprx-vision-udp443` in the panel, the value is correctly saved to the SQLite database but when 3X-UI generates the runtime config.json for xray, the flow field becomes an empty string `""`. This silently breaks the client connection. Setting flow to `xtls-rprx-vision` (without `-udp443`) works correctly. ### How to repeat the problem? ### Steps to reproduce 1. Create a VLESS inbound with Reality + TCP 2. Add a client, set flow to `xtls-rprx-vision-udp443` 3. Save and restart xray 4. Inspect `/usr/local/x-ui/bin/config.json` ### Expected ```json {"email": "client", "flow": "xtls-rprx-vision-udp443", "id": "..."} ``` Actual ```json {"email": "client", "flow": "", "id": "..."} ``` Database (x-ui.db) stores the correct value `"flow": "xtls-rprx-vision-udp443"`, but the generated runtime config has empty flow. Impact - Client cannot connect (server doesn't apply vision flow) - Hard to diagnose — the panel UI shows the correct flow, everything looks fine - Affects all clients with `vision-udp443`; clients with `xtls-rprx-vision` on the same inbound work fine Workaround Use `xtls-rprx-vision` instead of `xtls-rprx-vision-udp443`. ### Expected action _No response_ ### Received action _No response_ ### 3x-ui Version 2.8.10 ### Xray-core Version 26.2.6 ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:27:04 +07:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#2664
No description provided.