mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5936] [Bug]: Unable to connect mobile client to vpn after update to 3.5.0 #4114
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#4114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
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
@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:
.github/workflows/release.ymlandDockerInit.sh. The v3.4.2 release pinned Xray-corev26.6.27; v3.5.0 bumped that pin tov26.7.11(commit814cda3f, "update xray-core to v26.7.11 and adapt panel" — also reflected in this repo'sgo.mod, which pinsxtls/xray-coreat the same commit,50231eaf).install.sh's update path deletes the existingx-uiinstall 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 been26.7.11.frontend/src/schemas/protocols/security/reality.ts:61), and 3x-ui's backend passesstreamSettingsstraight 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.11changed an emptyminClientVeron REALITY from "accept any client version" to a hardcoded floor of26.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(or0, 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.
@costilman commented on GitHub (Aug 3, 2026):
same issue