mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #6034] [Question]: REALITY authentication failed #4180
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#4180
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 @wangfade0726 on GitHub (Jul 18, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6034
What are you trying to do?
What have you already tried?
3x-ui version
3.10
How did you install 3x-ui?
Manual build from source
Operating system
No response
Screenshots or config snippets
No response
Before submitting
@github-actions[bot] commented on GitHub (Jul 18, 2026):
Most likely cause, based on several identical reports filed this week (#5922, #5943, #5957, #6002): 3x-ui
v3.5.0(and the currentmainbranch) bumped its bundled Xray-core tov26.7.11, which added a hardcoded default ofminClientVer: 26.3.27for REALITY inbounds whenever the "Min Client Ver" field is left blank — confirmed upstream in xray-core commitaf7eb68, dated 2026-07-11. Before that commit, a blank field meant "accept any client core version"; now any client whose core reports a version below26.3.27fails REALITY handshake validation and is silently diverted to the fallback destination, which surfaces to the client as a generic "authentication failed" / "validation criteria not met" error. This breaks client cores that have not added version reporting yet — Clash Meta/Mihomo, Clash Verge, Shadowrocket older than 2.2.91, Husi, NekoBox — while Xray-core-based clients and v2rayN are unaffected because they report a current, compliant version.Confirmed in this repo source that this is not a 3x-ui defect:
minClientVerto an empty string (frontend/src/schemas/protocols/security/reality.ts:61) and never sets or overrides it elsewhere.Inbound.GenXrayInboundConfig(internal/database/model/model.go:276-311) writes the storedstreamSettings/realitySettingsstraight into Xray config as raw JSON, with no interpretation ofminClientVer.go.mod:24pinsgithub.com/xtls/xray-coreto a pseudo-version resolving to thev26.7.11tag commit, so bothv3.5.0and a from-source build of currentmainbundle this behavior.Fix, no core downgrade required: open the affected inbound → Security: REALITY → set Min Client Ver to
1.0.0(or0) → save → restart Xray. This restores the old "accept any version" behavior and has been confirmed working by multiple reporters in #5922. Alternatively, the panel Xray-core version switcher (dashboard → Xray-core version card,POST /installXray/:versionininternal/web/controller/server.go:70) can pin back tov26.6.27, the last release before this default was introduced — the switcher only listsv26.6.27and newer (internal/web/service/server.go:775-829), so that is the lowest it can go from the UI.I was not able to open the two screenshots attached to this issue in this session, so I cannot confirm they show the same error string or config. To verify, or rule out, this is the same issue, could you provide:
3.10does not match any published release (latest isv3.5.0); since this is a source build, the output ofgit log -1 --format=%Hin your checkout would confirm it, along with the Xray-core version shown on the panel dashboard.If setting Min Client Ver as above resolves the error, that confirms this is the same cause as #5922 and no further panel-side change is needed.
@MHSanaei for visibility — this is a recurring upstream-caused error with several reports this week.
This reply was generated automatically; a maintainer may follow up.
@wangfade0726 commented on GitHub (Jul 19, 2026):
127.0.0.1:52707 --> translate.googleapis.com:443 error: connect failed: dial tcp [2404:6800:4012:7::200a]:443: i/o timeout connect failed: dial tcp 142.250.77.202:443: i/o timeout 这是报错
@ipdog commented on GitHub (Jul 19, 2026):
Environment
Configuration
Behavior
Logs
Repeated messages:
proxy/wireguard: connection reset by peer
Expected
VPN is working correctly, so I would like to know whether this log is
expected during normal client disconnects/reconnections or if it indicates
a bug.
၂၀၂၆ ဇူ ၁၈ စနေ ညနေ ၁၀:၅၇ တွင် github-actions[bot] @.***>
က ရေးခဲ့သည်−
@TheTitanius commented on GitHub (Jul 19, 2026):
I set Min Client Ver to
1.0.0and this works for me@MHSanaei commented on GitHub (Jul 23, 2026):
This is the recurring REALITY
minClientVerissue reported several times recently (#5922, #5943, #5957, #6002). xray-corev26.7.11(bundled by v3.5.0) added a hardcoded default ofminClientVer: 26.3.27for REALITY inbounds when the field is left blank. Previously blank meant "accept any client core version"; now any client reporting a core below 26.3.27 fails the handshake and is diverted to fallback, surfacing as a generic "authentication failed". This breaks clients that don't yet report a compliant version (Clash Meta/Mihomo, Clash Verge, older Shadowrocket, Husi, NekoBox); Xray-core-based clients and v2rayN are fine.It's not a 3x-ui defect — the panel defaults
minClientVerto empty and passesrealitySettingsthrough as raw JSON. Fix without downgrading the core: open the inbound → Security: REALITY → set Min Client Ver to1.0.0(or0) → save → restart Xray. This restores the old accept-any behavior (confirmed in #5922).One note: the version "3.10" you listed doesn't match any release (latest is v3.5.0). If setting Min Client Ver doesn't resolve it, please share the panel's exact build and the client app/version and error text, and we'll re-check. Closing as answered for now.
@Qisatra commented on GitHub (Oct 18, 2026):
Hi. MetaCubeX Mihomo 1.19.32 still have this bug [warning] TCP [TCP] dial 🌍All proxy (match Match/) 192.168.1.2:50500 --> 185.26.182.112:443 error: 89.00.XXXXX:443 connect error: REALITY authentication failed
And fix with set Min version in 3x-ui panel 0/1.0.0/1.8.2 didnt work on any version of Xray include latest 26.10.10-17. 26.6.27 works fine on any latest 3x-ui panel versions.