mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #6016] [Bug]: v3.5.0 is failing to establish a connection for new installs #4166
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#4166
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 @Gotoro on GitHub (Jul 17, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6016
Describe the bug
When I installed v3.5.0 today and applied the general VLESS XRAY REALITY config none of my clients would connect.
How to reproduce the problem
Try to configure a VLESS XRAY REALITY.
Expected behavior
I want for VPN to work. Downgrading to v3.4.2 solves the issue with the same configs.
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.5.0
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?
Backend (API endpoints, login, settings)
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 17, 2026):
This is the same root cause already confirmed and tracked in #5922 (and duplicated in #5936, #6011): a v3.4.2 → v3.5.0 update that breaks REALITY connections while a downgrade fixes it.
Confirmed independently in this repo:
v26.7.11— stated in the v3.5.0 release notes ("The bundled core was bumped to xray-core v26.7.11") and in commit814cda3f("update xray-core to v26.7.11 and adapt panel");go.modhere pinsgithub.com/xtls/xray-coreto the matchingv1.260327.1-0.20260711155151-50231eaff98cpseudo-version.frontend/src/schemas/protocols/security/reality.ts), and nothing in the Go backend reads or sets it —Inbound.GenXrayInboundConfig()(internal/database/model/model.go:276) writes the storedstreamSettings/realitySettingsstraight into Xray's config; the only transform applied isStripInboundXhttpClientFields, which only strips XHTTP client-dialer fields, not REALITY settings (a repo-wide grep forminClientVer/MinClientVerin*.goreturns nothing).Per the investigation in #5922, upstream Xray-core
v26.7.11added a hardcoded default (minClientVer: 26.3.27) whenever this field is left blank — previously blank meant "accept any client version." Clients whose bundled core reports an older version now complete the REALITY handshake but get silently diverted to the fallback destination instead of the proxy: TLS succeeds, no proxy traffic, and nothing inaccess.log/error.log, matching "no errors in the logs" in this report exactly. This explains "new installs" too — it applies to any REALITY inbound with the field left at its default, not just upgraded ones.Fix without downgrading the panel: in the affected inbound → Security: REALITY, set Min Client Ver to a low value such as
1.0.0(or0), save, and let the panel restart Xray. This restores the pre-v26.7.11"accept any client version" behavior and is confirmed working by multiple reporters in #5922. Alternatively, keep the panel onv3.5.0and pin Xray-core itself back tov26.6.27from the dashboard's Xray-core version selector, instead of downgrading the whole panel.Closing as a duplicate of #5922, where the root cause, upstream references, and workaround are tracked — please continue any further discussion there.
This reply was generated automatically; a maintainer may follow up.