[GH-ISSUE #4775] [Bug]: or Feature dissable multiple users per subscription #3311

Closed
opened 2026-10-31 20:31:33 +07:00 by bsakaguchi · 2 comments
Owner

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

one user = one subscription

Screenshots

I had this logic before the update

                      [server zone a] -> Internet
                           /
[Client ] -> [Server Main] - [Server zone B] -> Internet
                           \
                     [Server zone c] -> Internet

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

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
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 ```shell one user = one subscription ``` ### Screenshots ``` I had this logic before the update [server zone a] -> Internet / [Client ] -> [Server Main] - [Server zone B] -> Internet \ [Server zone c] -> Internet ``` ### 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 - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
bsakaguchi 2026-10-31 20:31:33 +07:00
Author
Owner

@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.

<!-- gh-comment-id:4595023496 --> @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.
Author
Owner

@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:

client-1 / subId=user1 / inbound=vless-tcp-raw-443 -> routing by user=email -> outboundTag-1
client-2 / subId=user1 / inbound=vless-tcp-raw-443 -> routing by user=email -> outboundTag-2
client-3 / subId=user1 / inbound=vless-tcp-raw-443 -> routing by user=email -> outboundTag-3

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 different outboundTag based on that user. This was very useful for cascading proxy chains:

Client -> Main server :443 -> outbound chain A -> Internet
Client -> Main server :443 -> outbound chain B -> Internet
Client -> Main server :443 -> outbound chain C -> Internet

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/email to inboundTag. 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/user should remain unique and usable for Xray routing.
  • subId should be allowed to act as a shared subscription group.
  • One subscription should be able to contain multiple clients with different email/user values.
  • Routing by user/email inside the same inbound should remain possible.

A good solution would be either:

  1. allow multiple clients to share the same subId again, or
  2. introduce a separate non-unique field like subscriptionGroup / subscriptionId that groups several unique clients into one subscription.

The current behavior makes subId both a unique client identity and a subscription grouping key, and this breaks cascade routing scenarios that depend on multiple users inside one subscription.

<!-- gh-comment-id:4595060231 --> @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: ```text client-1 / subId=user1 / inbound=vless-tcp-raw-443 -> routing by user=email -> outboundTag-1 client-2 / subId=user1 / inbound=vless-tcp-raw-443 -> routing by user=email -> outboundTag-2 client-3 / subId=user1 / inbound=vless-tcp-raw-443 -> routing by user=email -> outboundTag-3 ``` 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 different `outboundTag` based on that user. This was very useful for cascading proxy chains: ```text Client -> Main server :443 -> outbound chain A -> Internet Client -> Main server :443 -> outbound chain B -> Internet Client -> Main server :443 -> outbound chain C -> Internet ``` 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/email` to `inboundTag`. 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/user` should remain unique and usable for Xray routing. * `subId` should be allowed to act as a shared subscription group. * One subscription should be able to contain multiple clients with different `email/user` values. * Routing by `user/email` inside the same inbound should remain possible. A good solution would be either: 1. allow multiple clients to share the same `subId` again, or 2. introduce a separate non-unique field like `subscriptionGroup` / `subscriptionId` that groups several unique clients into one subscription. The current behavior makes `subId` both a unique client identity and a subscription grouping key, and this breaks cascade routing scenarios that depend on multiple users inside one subscription.
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#3311
No description provided.