[GH-ISSUE #4656] [Bug]: can`t get sublinks #3209

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

Originally created by @moonshinem on GitHub (May 29, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4656

Describe the bug

If you try to get the client's vless link in the QR code field, it throws an error.

How to reproduce the problem

  1. Open the cliens page.
  2. Open sublinks menu (where else can I get a qr code)
  3. Click the links button.

Expected behavior

I was expecting to see vless links to connect.

Actual behavior

crash

Relevant logs

no logs

Screenshots

Image

3x-ui version

3.2.0

Xray-core version

26.5.9

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 24.04

Which parts of the panel are affected?

Frontend (UI / panel pages)

Browser (only if it is a UI bug)

Chrome 132

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 @moonshinem on GitHub (May 29, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4656 ### Describe the bug If you try to get the client's vless link in the QR code field, it throws an error. ### How to reproduce the problem 1. Open the cliens page. 2. Open sublinks menu (where else can I get a qr code) 3. Click the links button. ### Expected behavior I was expecting to see vless links to connect. ### Actual behavior crash ### Relevant logs ```shell no logs ``` ### Screenshots <img width="1030" height="453" alt="Image" src="https://github.com/user-attachments/assets/3c7214f9-0cac-4daf-87a0-89d1bcfab9e1" /> ### 3x-ui version 3.2.0 ### Xray-core version 26.5.9 ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 24.04 ### Which parts of the panel are affected? Frontend (UI / panel pages) ### Browser (only if it is a UI bug) Chrome 132 ### 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:30:49 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MHSanaei commented on GitHub (May 29, 2026):

Fixed in 5d0081a3.

The crash happened because the client sublinks/QR modal rendered an antd QRCode for every link, and links using post-quantum keys (ML-DSA-65 / ML-KEM-768) produce a URL larger than a QR code can encode — the component throws and takes down the page.

The fix detects post-quantum links (they encode as pqv= and mlkem768x25519plus rather than the literal names) and suppresses only the QR image for them; the copy/download link still works.

<!-- gh-comment-id:4576661206 --> @MHSanaei commented on GitHub (May 29, 2026): Fixed in 5d0081a3. The crash happened because the client sublinks/QR modal rendered an antd `QRCode` for every link, and links using post-quantum keys (ML-DSA-65 / ML-KEM-768) produce a URL larger than a QR code can encode — the component throws and takes down the page. The fix detects post-quantum links (they encode as `pqv=` and `mlkem768x25519plus` rather than the literal names) and suppresses only the QR image for them; the copy/download link still works.
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#3209
No description provided.