mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5330] [Question]: TCP + REALITY not working? #3735
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#3735
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 @MaDSailoOR on GitHub (Jun 14, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5330
What are you trying to do?
The simplest and most basic configuration of VLESS + TCP + REALITY completely stops working on all versions of 3X-ui newer than 2.9.4 and Xray-core versions newer than 26.4.25. When the panel and core are updated to any newer builds (e.g., 3.x.x versions), the exact same TLS + REALITY configuration drops connections during the handshake phase, and clients can no longer connect. Downgrading the panel back to 2.9.4 and switching Xray-core to 26.4.25 instantly fixes the issue without changing any server settings or client configurations.
I noticed that a very similar issue with TLS / REALITY connections failing or dropping traffic after updates was previously brought up in discussions regarding version 3.2.8. Was there any permanent solution or specific workaround found for this problem? It seems that newer builds consistently break the transport handshake for basic VLESS setups
What have you already tried?
Installed various combinations of newer panel versions.
Upgraded and downgraded Xray-core to multiple intermediate versions between 26.4.25 and the latest release.
Performed clean installations of the panel on fresh OS instances.Absolutely none of these combinations worked. The connection only establishes when strictly using the combination of 3X-ui 2.9.4 and Xray-core 26.4.25
3x-ui version
3.3.1
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 26.04
Screenshots or config snippets
No response
Before submitting
@github-actions[bot] commented on GitHub (Jun 14, 2026):
The symptom you describe -- VLESS+TCP+REALITY handshake failure on all 3.x panel releases, working on 2.9.4 + xray 26.4.25 -- has been reported by several other users in #4980 and #5041. Based on investigation of both those threads and the current source, here is what is confirmed and what is still unknown.
What changed between 2.9.4 and 3.x
Every release from v3.2.5 onwards bundles xray-core v26.6.1 (hardcoded in
.github/workflows/release.yml, line 115). Version 2.9.4 shipped xray 26.4.25. The panel's own REALITY config generation logic has not changed in a way that would corrupt the inbound JSON -- the panel stores and passes through inbound settings as raw JSON and does not rewrite the REALITY key material or shortId list.Workaround reported by other affected users
In both #4980 and #5041, changing the inbound uTLS fingerprint from chrome to firefox (Inbounds -> edit inbound -> Security tab -> uTLS field) resolved the handshake failure for a subset of users. This is the lowest-effort thing to test first; save the change and restart Xray from the panel.
What still needs to be established
The root cause has not been conclusively isolated across all affected users. Some users in #4980 attributed it to ISP-level DPI that interacts poorly with xray 26.6.1's updated Chrome TLS fingerprint pool; others in #5041 found the problem persisted across fingerprints and versions and only resolved on 2.9.4. It is not yet confirmed whether this is an xray-core v26.6.1 regression in REALITY, ISP/DPI interference newly triggered by the Chrome fingerprint changes in xray 26.6.1, or a panel config-generation difference between 2.9.4 and 3.x that only manifests with newer xray builds.
To help narrow this down, please provide:
"loglevel": "debug"inside the"log"object, save and restart Xray), attempt a connection, then runjournalctl -u x-ui --no-pager -p debug --lines=100. Redact your real domain, IP addresses, keys, and UUIDs before posting.The specific combination you reported (panel 2.9.4 + xray 26.4.25 works; any newer combination fails) is consistent with xray-core v26.6.1 being the primary variable, but a debug log from a failing attempt is needed to confirm whether the handshake reaches xray or is blocked before it does.
This reply was generated automatically; a maintainer may follow up.
@MHSanaei commented on GitHub (Jun 14, 2026):
Idk why you guys open issues without logs and configs