mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5943] [Bug]: REALITY + xtls-rprx-vision "authentication failed" on xray-core v26.7.11 (works on v26.6.27) #4117
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#4117
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 @mraliien on GitHub (Jul 13, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5943
Describe the bug
After upgrading 3x-ui to v3.5.0 (bundled xray-core v26.7.11), all VLESS + REALITY
inbounds using xtls-rprx-vision flow stopped accepting genuine client connections
across multiple servers (tested on AWS Lightsail, Ubuntu 24). Plain VLESS+TCP+TLS
inbounds (no REALITY) on the same panel continued to work normally.
Downgrading xray-core from v26.7.11 to v26.6.27 (via panel's Xray Core Management)
immediately fixed the issue with zero config changes — same inbound, same keys,
same client link.
This looks related to #4980 ("VLESS + Reality TCP handshake drops after xray
26.6.1 update"), though the failure mode differs slightly (explicit
"authentication failed" rejection here vs. silent TCP drop there). Possibly the
same underlying REALITY regression persisting/regressing again across xray-core
v26.6.x–v26.7.x versions.
How to reproduce the problem
capable client (Hiddify, v2rayNG, NekoBox)
"authentication failed or validation criteria not met"
immediately with the same client config
Expected behavior
REALITY + xtls-rprx-vision inbound should authenticate genuine clients normally,
as it did before the xray-core v26.7.11 upgrade.
Actual behavior
Genuine client connections are rejected. Confirmed this is NOT a config issue:
(pbk, sid, sni, fp, pqv all matched byte-for-byte)
on all three
privateKey (ruled out hot-reload not applying changes)
Relevant logs
Screenshots
No response
3x-ui version
v3.5.0
Xray-core version
Broken: v26.7.11 Works: v26.6.27
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 24 (AWS Lightsail)
Which parts of the panel are affected?
Xray config generation, Other
Browser (only if it is a UI bug)
No response
Is the panel behind a reverse proxy or CDN?
None
Before submitting
@github-actions[bot] commented on GitHub (Jul 13, 2026):
This is the same root cause as #5922: xray-core v26.7.11 added a hardcoded default
minClientVer: 26.3.27for REALITY whenever the field is left unset in the inbound config. Previously an unset field meant "accept any client core version"; now any client reporting a core version below26.3.27fails REALITY's handshake validation and is rejected.Independently confirmed from source, beyond what's already in #5922:
af7eb680("REALITY server: Set defaultminClientVer: 26.3.27"), landed 2026-07-11T14:30:54Z — one commit before thev26.7.11tag itself. This panel'sgo.modfor v3.5.0 pinsgithub.com/xtls/xray-coreat pseudo-version...-20260711155151-50231eaff98c, i.e. exactly thev26.7.11tag commit, so v3.5.0 does bundle this change.github.com/xtls/realitymodule, intls.go's handshake validation:hs.c.connis only marked authenticated if the auth-digest check andClientVer >= MinClientVerand the max-version/time-skew/short-ID checks all pass. If any one fails, the connection falls into the branch that produces exactly the message you posted:"REALITY: processed invalid connection from %s: authentication failed or validation criteria not met"— this is one shared message for the whole check, not a distinct "auth failed" error, so it does not point to your keys,mldsa65fields, or client config being wrong (consistent with your own testing).github.com/xtls/realitydependency version is byte-identical between v26.6.27 and v26.7.11 (same pinned commit in bothgo.mods) — the only relevant change is the new default itself, confirming the version bump is the sole cause and explaining why the same client links work again on v26.6.27 with zero config changes.26.3.27yet.Immediate fix, no core downgrade required: in the inbound's Security → REALITY settings, set Min Client Ver to a low value such as
1.0.0(or0), then restart Xray. This restores the old "accept any version" behavior and has been confirmed working by multiple reporters on #5922.Closing as a duplicate of #5922, where this is already tracked with the same fix. Please continue any further discussion there.
This reply was generated automatically; a maintainer may follow up.