[GH-ISSUE #5936] [Bug]: Unable to connect mobile client to vpn after update to 3.5.0 #4114

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

Originally created by @Az-1-2 on GitHub (Jul 13, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5936

Describe the bug

After updating the panel to 3.5.0 from 3.4.2, I am suddenly unable to connect to the vpn from my mobile client app, which included exclave, hiddify, and v2raytun. I tried restarting the panel, reinstalling, restarting the phone, and adjusting my ufw rules. My laptop was able to connect to the vpn throughout the ordeal. In the end, I reinstalled the vpn and set the version to 3.4.2, and everything worked fine again.

How to reproduce the problem

  1. Import a profile to the mobile client via subscription or vless link, doesn't matter
  2. Attempt to connect to the vpn from the mobile client, but have it fail every time

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3.5.0

Xray-core version

26.6.27

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 24.04

Which parts of the panel are affected?

Other

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 @Az-1-2 on GitHub (Jul 13, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5936 ### Describe the bug After updating the panel to 3.5.0 from 3.4.2, I am suddenly unable to connect to the vpn from my mobile client app, which included exclave, hiddify, and v2raytun. I tried restarting the panel, reinstalling, restarting the phone, and adjusting my ufw rules. My laptop was able to connect to the vpn throughout the ordeal. In the end, I reinstalled the vpn and set the version to 3.4.2, and everything worked fine again. ### How to reproduce the problem 1. Import a profile to the mobile client via subscription or vless link, doesn't matter 2. Attempt to connect to the vpn from the mobile client, but have it fail every time ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.5.0 ### Xray-core version 26.6.27 ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 24.04 ### Which parts of the panel are affected? Other ### 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:37:17 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Jul 13, 2026):

This looks like a duplicate of #5922, which already has a confirmed root cause. Same trigger (the 3.4.2 → 3.5.0 update) and the same signature symptom: mobile clients silently stop connecting while a desktop/laptop client keeps working.

What I confirmed directly in this repo's source, independent of #5922:

  • The 3x-ui release archive bundles the Xray-core binary itself, pinned per-release in .github/workflows/release.yml and DockerInit.sh. The v3.4.2 release pinned Xray-core v26.6.27; v3.5.0 bumped that pin to v26.7.11 (commit 814cda3f, "update xray-core to v26.7.11 and adapt panel" — also reflected in this repo's go.mod, which pins xtls/xray-core at the same commit, 50231eaf).
  • install.sh's update path deletes the existing x-ui install directory and re-extracts the new release archive (install.sh:1483-1527), so switching the panel version also silently swaps the bundled Xray-core binary. This explains the "Xray-core version: 26.6.27" listed in this report: that's what is installed now, after reinstalling 3.4.2 — not what was actually running right after the 3.5.0 update, which would have been 26.7.11.
  • The REALITY "Min Client Ver" field defaults to an empty string (frontend/src/schemas/protocols/security/reality.ts:61), and 3x-ui's backend passes streamSettings straight through to Xray's config unmodified for this field (GenXrayInboundConfig, internal/database/model/model.go) — so any existing REALITY inbound where it was left blank (the common case) is fully subject to whatever xray-core itself does with an empty value.

Per the investigation in #5922 (citing a specific xray-core upstream commit and corroborated there by several other users), Xray-core v26.7.11 changed an empty minClientVer on REALITY from "accept any client version" to a hardcoded floor of 26.3.27 — any client whose core reports an older version is silently diverted to the REALITY fallback site: TLS completes, but no proxy traffic and nothing in the Xray log. Mobile apps such as Hiddify and v2RayTun bundle their own core and are commonly behind on this, while desktop clients are more likely to already be above the floor, matching your laptop continuing to work.

This explanation applies if the affected inbound(s) use REALITY security. If they don't, please reopen with the transport/security type in use and we'll dig further.

Workaround without changing the panel/Xray-core version: edit the affected inbound → Security: REALITY → set Min Client Ver to a low value such as 1.0.0 (or 0, per other reports), then restart Xray. Full discussion and confirmation from other affected users is in #5922 — please continue there.

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

<!-- gh-comment-id:4956737848 --> @github-actions[bot] commented on GitHub (Jul 13, 2026): This looks like a duplicate of #5922, which already has a confirmed root cause. Same trigger (the 3.4.2 → 3.5.0 update) and the same signature symptom: mobile clients silently stop connecting while a desktop/laptop client keeps working. What I confirmed directly in this repo's source, independent of #5922: - The 3x-ui release archive bundles the Xray-core binary itself, pinned per-release in `.github/workflows/release.yml` and `DockerInit.sh`. The v3.4.2 release pinned Xray-core `v26.6.27`; v3.5.0 bumped that pin to `v26.7.11` (commit `814cda3f`, "update xray-core to v26.7.11 and adapt panel" — also reflected in this repo's `go.mod`, which pins `xtls/xray-core` at the same commit, `50231eaf`). - `install.sh`'s update path deletes the existing `x-ui` install directory and re-extracts the new release archive (`install.sh:1483-1527`), so switching the panel version also silently swaps the bundled Xray-core binary. This explains the "Xray-core version: 26.6.27" listed in this report: that's what is installed now, after reinstalling 3.4.2 — not what was actually running right after the 3.5.0 update, which would have been `26.7.11`. - The REALITY "Min Client Ver" field defaults to an empty string (`frontend/src/schemas/protocols/security/reality.ts:61`), and 3x-ui's backend passes `streamSettings` straight through to Xray's config unmodified for this field (`GenXrayInboundConfig`, `internal/database/model/model.go`) — so any existing REALITY inbound where it was left blank (the common case) is fully subject to whatever xray-core itself does with an empty value. Per the investigation in #5922 (citing a specific xray-core upstream commit and corroborated there by several other users), Xray-core `v26.7.11` changed an empty `minClientVer` on REALITY from "accept any client version" to a hardcoded floor of `26.3.27` — any client whose core reports an older version is silently diverted to the REALITY fallback site: TLS completes, but no proxy traffic and nothing in the Xray log. Mobile apps such as Hiddify and v2RayTun bundle their own core and are commonly behind on this, while desktop clients are more likely to already be above the floor, matching your laptop continuing to work. This explanation applies if the affected inbound(s) use REALITY security. If they don't, please reopen with the transport/security type in use and we'll dig further. Workaround without changing the panel/Xray-core version: edit the affected inbound → Security: REALITY → set **Min Client Ver** to a low value such as `1.0.0` (or `0`, per other reports), then restart Xray. Full discussion and confirmation from other affected users is in #5922 — please continue there. *This reply was generated automatically; a maintainer may follow up.*
Author
Owner

@costilman commented on GitHub (Aug 3, 2026):

same issue

<!-- gh-comment-id:5161629392 --> @costilman commented on GitHub (Aug 3, 2026): same issue
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#4114
No description provided.