mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #6872] [Bug]: REALITY + Hiddify 4.1.1 (sing-box) fails on Xray-core ≥ v26.7.11, even with Min Client Ver = 1.0.0 (works on v26.6.27) #4564
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#4564
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 @CloudWaddie on GitHub (Oct 19, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6872
Describe the bug
After upgrading 3x-ui and its Xray-core, Hiddify 4.1.1 can no longer connect to my VLESS + REALITY inbound. Rolling only the Xray core back to v26.6.27 (panel's Xray Core Management) fixes it immediately with no other changes.
This looks similar to #5943 and the Hiddify discussion (hiddify/hiddify-app#2309), where setting Min Client Ver to
1.0.0was the reported fix. In my case it does not help.How to reproduce the problem
chromeon the client.1.0.0, restart Xray: still fails.1.0.0.Expected behavior
Hiddify connects as it did on v26.6.27, or the panel makes it clear what needs changing.
Actual behavior
The client connection fails.
Relevant logs
Screenshots
No response
3x-ui version
3.10.2
Xray-core version
v26.6.27 works; v26.7.11 fails; v26.10.17 fails
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu
Which parts of the panel are affected?
No response
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 (Oct 19, 2026):
The panel isn't causing this. 3x-ui sends your Min Client Ver to Xray-core exactly as you type it. Your matrix matches two separate REALITY checks inside Xray-core, and
1.0.0only gets past one of them, on one range of cores:26.3.27. Another user reported in #5922 that Hiddify 4.1.1 specifically needed0, not1.0.0, to connect on these cores. That matches your step 5.X25519MLKEM768key share. Changing Min Client Ver can't help with that, so steps 6 and 7 fail whatever value you set.What to try
chrome. If it doesn't, nothing on the server can fix it: Hiddify needs a newer core, or the server has to stay on an older Xray.0.0.0instead of1.0.0, save, and restart Xray. The panel accepts it (frontend/src/lib/xray/stream-wire-normalize.ts:113-127allows 1–3 numeric parts, each 0–255). Please report whether Hiddify connects on v26.7.28 with0.0.0. That one test confirms or rules out the first explanation for your setup.internal/web/service/server.go:929), so your current workaround is supported."No visible errors" is expected. The REALITY rejection forwards the connection to your
targetsite, so the client just times out. Raising the Xray log level toinfo/debugshould show a line likeREALITY: processed invalid connection ... authentication failed or validation criteria not met(that wording is quoted from #5943, not from source I read). If you paste that line from v26.10.17, it would confirm which check is rejecting you.I've removed the
buglabel, marked this as a question and left it open for your test results. This verdict rests on the panel source plus the repo's own docs and earlier reports. I could not read Xray-core's or Hiddify's source from here, so the client-side details are inferences.This reply was generated automatically; a maintainer may follow up.
@CloudWaddie commented on GitHub (Oct 19, 2026):
I reproduced this locally with the cores, not Hiddify's GUI.
Setup
0a02b77(5 March 2026), the one pinned by the released Hiddify v4.1.2 app's core.5e94a4e(18 October 2026), the newer one in the current core repo.chromefingerprint, TCP, TLS 1.3 fallback on localhost.hs.c.conn == conn: true) or rejection (forwarded SNI).Results (REALITY auth, tested on
5e94a4e)The v4.1.2 core (
0a02b77) has the same ML-KEM filter incommon/tls/reality_client.go, so the v26.10.17 result applies to the released app's source as well. I didn't run the0a02b77build through the table.What the failures come from
minClientVeris empty, v26.7.11 applies a built-in 26.3.27 minimum (infra/conf/transport_security.go, theelsebranch), so the handshake is rejected. Setting1.0.0passes the check in this test.0x11EC) key share. I checked this by parsing the captured ClientHello: the stock core advertises only0x1Dand GREASE. Removing the core's filter that stripsX25519MLKEM768from the key share, and nothing else, makes auth succeed on v26.10.17. So the server rejects clients without an ML-KEM key share in this configuration. I didn't find the exact check in the Xray source.Caveats
1.0.0result doesn't match the report. IfMin Client Ver = 1.0.0was saved and Xray restarted, the server-side config is the next thing to check (minClientVerin the inbound'srealitySettings).Possible fix on the Hiddify side: keep X25519MLKEM768 in the REALITY ClientHello. On the 3x-ui side, the hint could say Xray v26.10.x requires an ML-KEM-capable client.
@github-actions[bot] commented on GitHub (Oct 19, 2026):
Thanks for the reproduction. It settles this: the failure is on the Hiddify side, not in 3x-ui. On Xray-core v26.10.x the Hiddify core's ClientHello leaves out the
X25519MLKEM768key share, and REALITY rejects it. Nothing the panel can set changes that.Your results also correct one point from my earlier reply. I suggested
0.0.0for v26.7.x, based on #5922. Your test shows the Hiddify core reports1.8.1, so1.0.0is enough there. Your matrix fits both checks described before:26.3.27minimum.1.0.0lets the Hiddify core through, as your table shows.0x1Dplus GREASE, and your patched build that keepsX25519MLKEM768authenticates. So the fix belongs in Hiddify'scommon/tls/reality_client.gofilter. Please report it to the Hiddify core project.Until Hiddify ships that fix, you have two options:
1.0.0. If that still fails on your real server while it passed locally, comparerealitySettings.minClientVerin the running Xray config with what you saved, as you noted.The panel already gives the ML-KEM hint in two places. Share links carry
support-x25519mlkem768=true, and the Clash YAML enablessupport-x25519mlkem768. The Hiddify core evidently ignores both. The docs already explain the ML-KEM requirement. The Min Client Ver tooltip, though, covers only the version rules, which is the gap you pointed out. That is a small wording improvement, not a defect.I've removed
clarification neededand am closing this as not planned, since the fix has to come from the Hiddify core. If you think the Min Client Ver tooltip should also mention the ML-KEM requirement, the maintainer can reopen this or track it separately.This reply was generated automatically; a maintainer may follow up.