[GH-ISSUE #3945] Incorrect Shadowrocket deep link / deeplink format for subscription import #2666

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

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

Describe the bug

3x-ui generates an incorrect Shadowrocket subscription deep link.

The generated link is missing :// after sub.

Current format:
shadowrocket://add/sub/BASE64_URL?remark=NAME

Expected format:
shadowrocket://add/sub://BASE64_URL?remark=NAME

Because of this, Shadowrocket opens but does not import the subscription.

How to repeat the problem?

  1. Create a subscription in 3x-ui.
  2. Generate or copy the Shadowrocket import link.
  3. Open the generated link in Shadowrocket.
  4. Shadowrocket opens, but the subscription is not imported.

Expected action

Shadowrocket should open and import the subscription automatically.

Received action

Shadowrocket opens, but the subscription is not imported.

3x-ui Version

3.1.0

Xray-core Version

26.4.17

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 @iShakill on GitHub (Mar 18, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3945 ### Describe the bug 3x-ui generates an incorrect Shadowrocket subscription deep link. The generated link is missing `://` after `sub`. Current format: shadowrocket://add/sub/BASE64_URL?remark=NAME Expected format: shadowrocket://add/sub://BASE64_URL?remark=NAME Because of this, Shadowrocket opens but does not import the subscription. ### How to repeat the problem? 1. Create a subscription in 3x-ui. 2. Generate or copy the Shadowrocket import link. 3. Open the generated link in Shadowrocket. 4. Shadowrocket opens, but the subscription is not imported. ### Expected action Shadowrocket should open and import the subscription automatically. ### Received action Shadowrocket opens, but the subscription is not imported. ### 3x-ui Version 3.1.0 ### Xray-core Version 26.4.17 ### 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:05 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@iShakill commented on GitHub (Jun 1, 2026):

Unfortunately, this issue has not been fixed.
Panel version: 3.2.0

The generated link is missing :// after sub.

Current format:
shadowrocket://add/sub/BASE64_URL?remark=NAME

Expected format:
shadowrocket://add/sub://BASE64_URL?remark=NAME

Because of this, Shadowrocket opens but does not import the subscription.

<!-- gh-comment-id:4590454022 --> @iShakill commented on GitHub (Jun 1, 2026): Unfortunately, this issue has not been fixed. Panel version: 3.2.0 The generated link is missing :// after sub. Current format: shadowrocket://add/sub/BASE64_URL?remark=NAME Expected format: shadowrocket://add/sub://BASE64_URL?remark=NAME Because of this, Shadowrocket opens but does not import the subscription.
Author
Owner

@iShakill commented on GitHub (Jun 18, 2026):

Unfortunately, this issue has not been fixed.

Panel version: 3.3.1

The generated Shadowrocket subscription link is still missing :// after sub.

Current generated format

shadowrocket://add/sub/BASE64_URL?remark=NAME

Expected format

shadowrocket://add/sub://BASE64_URL?remark=NAME

Because of this, Shadowrocket opens but does not import the subscription.

The issue still appears to be present in this commit:

github.com/MHSanaei/3x-ui@668c0922ca

Current code

return `shadowrocket://add/sub/${base64Url}?remark=${remark}`;

Expected code

return `shadowrocket://add/sub://${base64Url}?remark=${remark}`;
<!-- gh-comment-id:4738870725 --> @iShakill commented on GitHub (Jun 18, 2026): Unfortunately, this issue has not been fixed. **Panel version:** `3.3.1` The generated Shadowrocket subscription link is still missing `://` after `sub`. ### Current generated format ```text shadowrocket://add/sub/BASE64_URL?remark=NAME ``` ### Expected format ```text shadowrocket://add/sub://BASE64_URL?remark=NAME ``` Because of this, Shadowrocket opens but does **not** import the subscription. The issue still appears to be present in this commit: https://github.com/MHSanaei/3x-ui/commit/668c0922ca446ffabf2755074ee6ea90221d67d2 ### Current code ```js return `shadowrocket://add/sub/${base64Url}?remark=${remark}`; ``` ### Expected code ```js return `shadowrocket://add/sub://${base64Url}?remark=${remark}`; ```
Author
Owner

@MHSanaei commented on GitHub (Jun 20, 2026):

Fixed in c58db81d — added the missing :// after sub in the Shadowrocket deep link (shadowrocket://add/sub://BASE64_URL?remark=NAME).

<!-- gh-comment-id:4757088148 --> @MHSanaei commented on GitHub (Jun 20, 2026): Fixed in c58db81d — added the missing `://` after `sub` in the Shadowrocket deep link (`shadowrocket://add/sub://BASE64_URL?remark=NAME`).
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#2666
No description provided.