mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #6563] [Bug]: VLESS+XHTTP+REALITY times out on Shadowrocket after updating to v3.8.0 (bundled Xray-core v26.9.9) #4399
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#4399
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 @aidenjac on GitHub (Sep 16, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6563
Describe the bug
The nodes in my v2rayN are functioning normally, but the Shadowrocket nodes on the mobile app keep timing out. This issue emerged after updating to version 3.8.0. Previously, I resolved the issue by modifying the minimum client version of reality to 1.0. Now, it's not working anymore. What should I do to fix it
How to reproduce the problem
vless+XHTTP+Reality
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.8.0
Xray-core version
No response
How did you install 3x-ui?
install.sh script
Operating system
Debian12
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 (Sep 16, 2026):
Short answer: this is the same problem as #6543, and it is not panel code — it is the Xray-core that v3.8.0 bundles. Updating the panel to v3.8.0 also replaced your core with v26.9.9, and from v26.9.8 a REALITY server requires the client's ClientHello to offer an
X25519MLKEM768(ML-KEM) key share.Min Client Vercannot relax that gate, which is why your old1.0trick stopped helping: the thing that trick used to disable was removed in the very same core release.What actually changed under you
git show v3.5.0:.github/workflows/release.ymlline 121git show v3.7.0:.github/workflows/release.ymlline 127.github/workflows/release.yml:127(Windows:312),DockerInit.sh:36The panel update carries the core with it — the updater wipes and re-extracts the whole
bin/directory (install.sh:1601-1617,:1649-1655).Panel-side, nothing about VLESS + XHTTP + REALITY changed in v3.8.0:
git diff v3.7.0..v3.8.0 -- frontend/src/schemas/protocols/stream/xhttp.ts frontend/src/schemas/protocols/security/reality.tsis empty, and the REALITY share-link fields (pbk/sid/sni/fp/spx) are untouched infrontend/src/lib/xray/inbound-link.ts:454-471and ininternal/util/link/. Thevless://link Shadowrocket imports has exactly the shape it had on v3.7.0.Why
Min Client Ver = 1.0worked before and does nothing nowTwo different gates, one replacing the other:
Cores in the v26.7.11 … v26.9.7 range applied a built-in minimum of
26.3.27when the field was left empty, rejecting third-party clients that report an older version even with correct keys (docs/content/docs/en/config/reality.mdx:121-125). An explicit1.0overrode that floor — that is the problem you solved earlier, and it is what #5986 was about (its title names v26.7.11, the core v3.5.0 shipped).v26.9.8 removed that floor. Commit
2ec6c736("feat(xray): update xray-core to v26.9.8 and adapt panel"):and the same core generation added the independent ML-KEM requirement (
internal/sub/clash_service.go:1133-1138):The consequence for raw links is written down in
docs/content/docs/en/config/reality.mdx:126-135:REALITY sits at the TLS layer, so this applies to XHTTP exactly as it does to RAW/TCP — your transport is not the variable that changed. It also matches your split: v2rayN ships a current Xray core (offers ML-KEM) and connects, while Shadowrocket's own TLS stack apparently does not, so the handshake never completes and you see a silent timeout.
What you can do
Confirm which core you are actually running — the panel Overview shows it, or on the server:
(that is the binary and flag the panel itself uses —
internal/xray/process.go:582,:26-37)If it is v26.9.9 and you need Shadowrocket working today, switch the core back from the panel: Overview → Xray Updates, pick v26.7.28 (the core v3.7.0 shipped). The switcher lists every release from v26.6.27 upward (
internal/web/service/server.go:869). On that core, keepMin Client Ver = 1.0— there it still does what it did for you before.If you stay on v26.9.9, clear
Min Client Verback to empty. It no longer loosens anything, and a low value only re-admits outdated fingerprints — see the field's own hint,internal/web/translation/en-US.json:634: "Empty means no minimum: Xray-core accepts every client version".The lasting fix has to come from the client side (a Shadowrocket build whose TLS stack offers
X25519MLKEM768). There is no server-side switch in the panel that relaxes it. For Clash/Mihomo clients, use the panel's Clash subscription URL rather than a hand-imported link — only the YAML carriessupport-x25519mlkem768: true. Carrying that hint in rawvless://links is tracked separately in #6555.Docs: https://docs.sanaei.dev/docs/config/reality (see "Common pitfalls").
Closing as a duplicate of #6543 — same trigger (v3.8.0's core bump to v26.9.9), same root cause, and the answer there is the answer here. If you move the core to v26.7.28 with
Min Client Ver = 1.0and Shadowrocket still times out, please comment with the core version from step 1 and thex-ui logtext around a connection attempt, and this can be looked at again.I retitled the issue so the cause is searchable for others; the old title was
[Bug]: Shadowrocket node timeout.This reply was generated automatically; a maintainer may follow up.
@aidenjac commented on GitHub (Sep 16, 2026):
I have resolved this issue based on the bot's response by rolling back the Xray-core version to v26.7.28. If anyone encounters this problem, they can give it a try