mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4511] bug(panel): client Flow (xtls-rprx-vision) is incorrectly applied to linked VLESS-xHTTP inbounds in multi-inbound mode #3079
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#3079
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @solynexxx on GitHub (May 23, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4511
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
flowparameter (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?
VLESS-TCPinbound (with Reality enabled) and aVLESS-xHTTPinbound.xtls-rprx-vision.config.json)."flow": "xtls-rprx-vision"under thexhttpclient configuration.vless-xhttpinbound—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
@routegg commented on GitHub (May 23, 2026):
When editing a client, a duplicate profile appears without any assigned inbound, while the modified profile drops to the bottom of the page as if it were a new one.
@Marseille-Geertje commented on GitHub (May 24, 2026):
Коллеги, научите чинить отвалившиеся xHTTP клиенты. ))
@gfx73 commented on GitHub (May 24, 2026):
+1. Having one user with reality + tcp and tls + xhttp breaks the things. Flow is applied to all inbounds on server side. While user gets correct vless link without the flow for tls configuration, the xray server assumes user should have the flow and doesn't accept the connection.
The only workaround is to use reality without xtls-rprx-vision which is not desired
@idykman commented on GitHub (May 24, 2026):
even reality+tcp and reality+xhttp combo for the same user is broken because of flow copyed to xhttp inbound
+1
@Mannokia commented on GitHub (May 26, 2026):
Several critical issues occur when managing clients in 3x-ui.
Problems observed
When enabling or disabling a client, the password either changes automatically or disappears completely. As a result, client connections stop working.
UUIDs also periodically change or disappear unexpectedly. This causes the core to crash with an error related to invalid configuration.
When renaming a client, a new client entry is created with the new name, while the old client remains in the panel without assigned connections.
Additionally, if the client has a Hysteria connection configured, renaming the client creates a new client containing all original connections except Hysteria. The Hysteria connection remains attached to the old client.
Expected behavior
Enabling/disabling a client should not modify passwords or UUIDs.
Renaming a client should only change the client name without creating duplicate entries.
All client connections, including Hysteria, should remain attached to the renamed client.
Actual behavior
Passwords and UUIDs are unexpectedly modified or lost.
Duplicate client entries appear after renaming.
Hysteria connections remain bound to the old client entry.
@anartikov commented on GitHub (May 26, 2026):
I’d also like to add to the above that in the trojan-grpc inbound, if you look at its full settings (export them), you can see that the attached client has Flow = set.
At the same time, in the client itself, this field is empty.
Additionally, several inbounds are connected to this client. If you remove the trojan-grpc inbound and save the changes, it does not get removed — in other words, it is not even possible to detach it from the client.
@Artyxxs commented on GitHub (May 26, 2026):
@Marseille-Geertje
В XHTTP инбаунде в меню advanced - all копируете всё, и в любом текстовом редакторе находите и заменяете все значения
"flow": "xtls-rprx-vision"на"flow": ""Закидываете в тот же инбаунд измененный конфиг, проверьте чтобы он после вставки не сбросился, такое бывает, и только потом сохраняете.
Лучше использовать именно сторонние редакторы, так как на встроенном в панель редакторе часто слетает все.
@msgtv commented on GitHub (May 28, 2026):
Такая же проблема если у клиента есть два подключения VLESS-TCP-Reality и VLESS-GRPC-Reality.
VLESS-GRPC-Reality перестает работать
@Ramazik commented on GitHub (May 29, 2026):
v3.2.0 - the problem is still relevant
For example, I have an inbound with xhttp traffic (id = 4) and inbound with raw (tcp) traffic (id = 8). If I replace the string "flow": "xtls-rprx-vision" with "flow": "" in the extended template (json) of the incoming xhttp connection for client "A", then when I edit the profile of client "A", to which both of these inbounds are connected, I will see that the flow parameter in its profile is empty. If I select xtls-rprx-vision from the drop-down list and save the profile of client "A", I will again see the string "flow": "xtls-rprx-vision" for client "A" in the extended template of the xhttp connection inbound.
@idykman commented on GitHub (May 29, 2026):
The bug still exist in 3.2.0, please reopen the issue
@MHSanaei commented on GitHub (May 29, 2026):
will fix in the next version
@commensal commented on GitHub (Jun 2, 2026):
Still present in 3.2.6
@gfx73 commented on GitHub (Jun 5, 2026):
anyone checked on 3.2.8? Is it fixed?
@Ramazik commented on GitHub (Jun 5, 2026):
Fixed