[GH-ISSUE #5562] [Bug]: 克隆后无法获取订阅地址 #3880

Closed
opened 2026-10-31 20:35:37 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @MuMu360121 on GitHub (Jun 25, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5562

Describe the bug

Image 克隆前有订阅地址,克隆后没有,入地图: Image 基本信息: Image

How to reproduce the problem

1、克隆已经OK的入站链接
2、复制克隆的订阅地址
3、空白,无法复制

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3.4

Xray-core version

26.6.2

How did you install 3x-ui?

install.sh script

Operating system

ubuntu24.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?

None

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 @MuMu360121 on GitHub (Jun 25, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5562 ### Describe the bug <img width="795" height="480" alt="Image" src="https://github.com/user-attachments/assets/d646f156-f9c9-4fa1-8189-1127eb24fd3b" /> 克隆前有订阅地址,克隆后没有,入地图: <img width="1023" height="540" alt="Image" src="https://github.com/user-attachments/assets/acbd1d06-d948-436b-8601-711728a22467" /> 基本信息: <img width="1602" height="576" alt="Image" src="https://github.com/user-attachments/assets/a695c23b-e412-4e1c-b658-131ce53c9db2" /> ### How to reproduce the problem 1、克隆已经OK的入站链接 2、复制克隆的订阅地址 3、空白,无法复制 ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.4 ### Xray-core version 26.6.2 ### How did you install 3x-ui? install.sh script ### Operating system ubuntu24.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? None ### 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:35:37 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Jun 25, 2026):

This is expected behavior of the clone feature, not a bug.

Subscription URLs are client-level attributes, not inbound-level. Each subscription link is generated from the client's subId field (confirmed in frontend/src/pages/inbounds/InboundsPage.tsx line 440 confirmClone, and frontend/src/pages/inbounds/info/InboundInfoModal.tsx lines 149-157).

The clone operation does the following:

  • Copies the source inbound protocol, port, transport, TLS/REALITY settings
  • Clears the client list entirely (raw.clients = [])
  • Saves as a new inbound

Because the cloned inbound has no clients, there are no subId values and therefore no subscription URLs. This is by design.

Workaround: Add clients to the cloned inbound using one of these methods:

  1. Row action menu > Attach Existing Clients — reuses clients that already exist on other inbounds
  2. Row action menu > Edit — add new clients manually

Once clients are attached, each client will have its own subscription URL visible in the inbound info modal.

This reply was generated automatically; a maintainer may follow up.

<!-- gh-comment-id:4798888223 --> @github-actions[bot] commented on GitHub (Jun 25, 2026): This is expected behavior of the clone feature, not a bug. Subscription URLs are client-level attributes, not inbound-level. Each subscription link is generated from the client's `subId` field (confirmed in `frontend/src/pages/inbounds/InboundsPage.tsx` line 440 `confirmClone`, and `frontend/src/pages/inbounds/info/InboundInfoModal.tsx` lines 149-157). The clone operation does the following: - Copies the source inbound protocol, port, transport, TLS/REALITY settings - Clears the client list entirely (`raw.clients = []`) - Saves as a new inbound Because the cloned inbound has no clients, there are no `subId` values and therefore no subscription URLs. This is by design. **Workaround:** Add clients to the cloned inbound using one of these methods: 1. Row action menu > **Attach Existing Clients** — reuses clients that already exist on other inbounds 2. Row action menu > **Edit** — add new clients manually Once clients are attached, each client will have its own subscription URL visible in the inbound info modal. *This reply was generated automatically; a maintainer may follow up.*
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#3880
No description provided.