mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4775] [Bug]: or Feature dissable multiple users per subscription #3311
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#3311
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 @routegg on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4775
Describe the bug
The latest update, 3.2.5, broke the logic of cascading proxy servers. It worked on the principle of multiple users per subscription and routing by username.
How to reproduce the problem
It is not allowed to add multiple users to a single subscription.
Expected behavior
In the previous version this logic worked
Actual behavior
No response
Relevant logs
Screenshots
3x-ui version
3.2.5
Xray-core version
v26.6.1
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 24.04
Which parts of the panel are affected?
No response
Browser (only if it is a UI bug)
No response
Is the panel behind a reverse proxy or CDN?
No — direct access
Before submitting
@github-actions[bot] commented on GitHub (Jun 1, 2026):
This looks like a duplicate of #4759, which describes the same bug: after upgrading to 3.2.5, multiple clients can no longer be assigned the same subscription ID (the panel now enforces subscription ID uniqueness per client). Please follow that issue for updates. If your situation is meaningfully different, feel free to reopen with additional details.
@chuck852 commented on GitHub (Jun 1, 2026):
I support this issue. This is not only a UI/validation problem with duplicate
subId; it breaks a real routing architecture that was possible before v3.2.5.My previous setup was:
So one user had one subscription URL, but inside that subscription there were several connection options. Each option used a different client
email/user, and Xray routing selected a differentoutboundTagbased on that user. This was very useful for cascading proxy chains:After v3.2.5, this is no longer possible because multiple clients cannot share the same
subId.The new “attach existing client to multiple inbounds” model does not replace this use case. It changes the routing discriminator from
user/emailtoinboundTag. That means I would need to create a separate inbound for each cascade route.But this is not possible for my case, because I use VLESS TCP RAW on port 443. I cannot create multiple equivalent VLESS TCP RAW inbounds on the same IP and port just to separate routing paths.
So the issue is architectural:
email/usershould remain unique and usable for Xray routing.subIdshould be allowed to act as a shared subscription group.email/uservalues.user/emailinside the same inbound should remain possible.A good solution would be either:
subIdagain, orsubscriptionGroup/subscriptionIdthat groups several unique clients into one subscription.The current behavior makes
subIdboth a unique client identity and a subscription grouping key, and this breaks cascade routing scenarios that depend on multiple users inside one subscription.