[GH-ISSUE #4784] [Bug]: Panel v.3.2.5 #3321

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

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

Describe the bug

v.3.2.5 Do not generate QR, but only text link
v.3.2.5 When generating connection link for client, it uses ip adress of other interface that I use to connect to panel, not the public IP adress of the server.
v3.2.0 Not affected.

How to reproduce the problem

  1. try to generate QR, and you'll get only the text link, not QR.
  2. Bind other interface IP and port in settings>general>Listen IP and settings>general>Listen Port
  3. Bind public interface IP and port in inbounds>basics>adress and inbounds>basics>port
  4. Try to generate client QR or link and you'll get "settings>general>Listen IP:inbounds>basics>port" in client configuration link, but not "public ip" of the server.

Expected behavior

same as v3.2.0

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3.2.5

Xray-core version

No response

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 24.04

Which parts of the panel are affected?

Subscription (share links / Clash / JSON)

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 @ZlyKraken on GitHub (Jun 1, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4784 ### Describe the bug v.3.2.5 Do not generate QR, but only text link v.3.2.5 When generating connection link for client, it uses ip adress of other interface that I use to connect to panel, not the public IP adress of the server. v3.2.0 Not affected. ### How to reproduce the problem 1. try to generate QR, and you'll get only the text link, not QR. 2. Bind other interface IP and port in settings>general>Listen IP and settings>general>Listen Port 3. Bind public interface IP and port in inbounds>basics>adress and inbounds>basics>port 4. Try to generate client QR or link and you'll get "settings>general>Listen IP:inbounds>basics>port" in client configuration link, but not "public ip" of the server. ### Expected behavior same as v3.2.0 ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.2.5 ### Xray-core version _No response_ ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 24.04 ### Which parts of the panel are affected? Subscription (share links / Clash / JSON) ### 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:31:37 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

Thanks for the detailed report. These appear to be two separate issues introduced in v3.2.5.


The QR code is intentionally suppressed for links that contain post-quantum cryptography parameters (pqv=, mlkem768, mldsa65). This is because post-quantum links are too long to encode reliably into a QR code.

The pqv parameter is added to VLESS Reality links when the MLDSA-65 Verify (mldsa65Verify) field in the Reality settings is non-empty.

To diagnose: Look at the text link that is displayed. Does it contain pqv= in the URL?

  • If yes: your Reality config has mldsa65Verify set. If you did not intentionally enable post-quantum verification, clear that field in your inbound's Reality security settings and regenerate.
  • If no (the link looks normal but still no QR): please share your inbound protocol type and a redacted version of the text link so the issue can be investigated further.

This appears to be a regression. The backend subscription service derives the host for client links from the HTTP request host (i.e., the IP/hostname you use to reach the panel). The inbound's configured Listen address field is explicitly not used for this purpose in the current code.

When your panel's Listen IP is a private/management interface address (e.g., 192.168.x.x) and your inbound's address is a different public IP, the generated links will use the panel's Listen IP — which is the wrong address for clients to connect to.

Workaround (immediate fix):
Go to Settings → Subscription and set the Sub URI field to your public-facing subscription URL:

http://<your-public-ip>:<sub-port>/sub/

Or set the Sub Domain field to your public IP or domain name. Either of these overrides the request-derived host.

For the individual protocol links (VLESS/VMess/Trojan) inside the subscription, you can alternatively set an External Proxy entry in the inbound's stream settings pointing to your public IP — the subscription service uses that to override the host in per-client links.


If the regression in Bug 2 is confirmed (i.e., v3.2.0 did use the inbound's Listen address for link generation), this would warrant a code fix rather than just a workaround. It would help to know:

  1. What Xray protocol type is the inbound (VLESS, VMess, Trojan, etc.)?
  2. Is the inbound assigned to a Node, or is it a local inbound?
<!-- gh-comment-id:4597218818 --> @github-actions[bot] commented on GitHub (Jun 1, 2026): Thanks for the detailed report. These appear to be two separate issues introduced in v3.2.5. --- ### Bug 1 — QR code not showing (only text link) The QR code is **intentionally suppressed** for links that contain post-quantum cryptography parameters (`pqv=`, `mlkem768`, `mldsa65`). This is because post-quantum links are too long to encode reliably into a QR code. The `pqv` parameter is added to VLESS Reality links when the **MLDSA-65 Verify** (`mldsa65Verify`) field in the Reality settings is non-empty. **To diagnose:** Look at the text link that is displayed. Does it contain `pqv=` in the URL? - If **yes**: your Reality config has `mldsa65Verify` set. If you did not intentionally enable post-quantum verification, clear that field in your inbound's Reality security settings and regenerate. - If **no** (the link looks normal but still no QR): please share your inbound protocol type and a redacted version of the text link so the issue can be investigated further. --- ### Bug 2 — Subscription links use the panel's Listen IP instead of the inbound's public IP This appears to be a regression. The backend subscription service derives the host for client links from the **HTTP request host** (i.e., the IP/hostname you use to reach the panel). The inbound's configured `Listen` address field is explicitly not used for this purpose in the current code. When your panel's Listen IP is a private/management interface address (e.g., `192.168.x.x`) and your inbound's address is a different public IP, the generated links will use the panel's Listen IP — which is the wrong address for clients to connect to. **Workaround (immediate fix):** Go to **Settings → Subscription** and set the **Sub URI** field to your public-facing subscription URL: ``` http://<your-public-ip>:<sub-port>/sub/ ``` Or set the **Sub Domain** field to your public IP or domain name. Either of these overrides the request-derived host. **For the individual protocol links** (VLESS/VMess/Trojan) inside the subscription, you can alternatively set an **External Proxy** entry in the inbound's stream settings pointing to your public IP — the subscription service uses that to override the host in per-client links. --- If the regression in Bug 2 is confirmed (i.e., v3.2.0 did use the inbound's Listen address for link generation), this would warrant a code fix rather than just a workaround. It would help to know: 1. What Xray protocol type is the inbound (VLESS, VMess, Trojan, etc.)? 2. Is the inbound assigned to a Node, or is it a local inbound?
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#3321
No description provided.