mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #6543] [Bug]: VLESS-TCP-REALITY stops working on Shadowrocket after updating to v3.8.0 (bundled Xray-core v26.9.9); core v26.6.27 works #4392
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#4392
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 @OHLALAYANG on GitHub (Sep 15, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6543
Describe the bug
🇺🇸 English Version
I just updated my panel to the latest 3x-ui v3.8.0 (bundled with the latest Xray-core). After the update, my VLESS-TCP-REALITY inbound encountered a severe client compatibility deadlock.
minClientVerto1.0or1.0.0, Clash can successfully restore the connection after refreshing the profile.🇨🇳 中文对照版
我的面板刚刚更新到了最新版 3x-ui v3.8.0(绑定了最新版 Xray-core)。更新完后,我的 VLESS-TCP-REALITY 节点出现严重的客户端兼容性死锁。
最小客户端版本 (minClientVer)显式设置为1.0或1.0.0,刷新订阅后 Clash 可以恢复并正常连接。How to reproduce the problem
🇺🇸 English Version
minClientVerto1.0.0(or leave it blank/0).v26.6.27via panel immediately fixes the issue for Shadowrocket.🇨🇳 中文对照版
minClientVer设置为1.0.0(或者留空/填0)。v26.6.27,小火箭便能立刻原地复活。Expected behavior
🇺🇸 English Version
Please fix the strict version validation logic introduced in the latest v3.8.0 bundled core. Ensure that when
minClientVeris left blank or 0, it truly permits classic clients like Shadowrocket that do not carry version headers, instead of silently dropping their traffic.🇨🇳 中文对照版
希望开发者修复 v3.8.0 的版本校验逻辑。确保当
minClientVer留空或填 0 时,能够真正做到完全放行不携带版本标头的 Shadowrocket 等经典老客户端,而不是一刀切地强行阻断。Actual behavior
🇺🇸 English Version
minClientVerto1.0.0and refreshing the profile. However, it fails with a configuration error if0.0.0is filled.minClientVeris left blank, set to0, or set to1.0.0. It only works again after the server-side Xray-core is rolled back tov26.6.27.🇨🇳 中文对照版
1.0.0并刷新订阅后,可顺利恢复连接并稳定运行。但如果强行填入0.0.0,则会导致配置错误导致连接挂掉。minClientVer留空、填0还是填1.0.0,小火箭这边一律彻底超时(Timeout)。只有将服务器端的 Xray 内核降级回v26.6.27之后,小火箭才能恢复通网。Relevant logs
Screenshots
No response
3x-ui version
3.8.0
Xray-core version
v26.9.9 (Latest)
How did you install 3x-ui?
install.sh script
Operating system
Debian
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 15, 2026):
Short answer: this is not
minClientVer, and it is not panel code. v3.8.0 bundles Xray-core v26.9.9, which removed the built-inminClientVerfloor — on your panel an empty field really does mean "no minimum". What changed against Shadowrocket is a different upstream REALITY requirement that landed in core v26.9.8+: the client's TLS ClientHello must offer anX25519MLKEM768key share. Your own data point proves the panel is not involved — you kept 3x-ui at v3.8.0, changed only the core tov26.6.27, and it worked again. Separately, the Flow field is not hidden: it is a per-client field and lives in Panel → Clients, not in the inbound editor — that has been true since the React UI (v3.1.0), not a v3.8.0 change.1. What actually changed between v3.7.0 and v3.8.0
Only the bundled core:
git show v3.7.0:DockerInit.shline 35DockerInit.sh:36,.github/workflows/release.yml:127(Windows::312)The REALITY share-link output did not change:
git diff v3.7.0..v3.8.0 -- internal/util/link/ internal/sub/service.go frontend/src/lib/xray/inbound-link.tshas nopbk/sid/sni/fpchange on the REALITY path (the only addedsnilines are the new TUIC generator). Thevless://link Shadowrocket scans is byte-for-byte the same shape it was on v3.7.0.2. Why
minClientVeris the wrong leadThe panel never touches this field — it stores what you type and hands it to the core verbatim:
The built-in floor you are thinking of (
26.3.27when the field was empty) existed in core v26.7.11 … v26.9.7 and is what #5922 / #6501 were about. Commit2ec6c736("feat(xray): update xray-core to v26.9.8 and adapt panel") says it plainly:That is why the tooltip in your v3.8.0 panel now reads (
internal/web/translation/zh-CN.json:628):So on v3.8.0 you should clear
minClientVerback to empty. Leaving1.0.0there does nothing useful and only re-admits outdated TLS fingerprints.3. What actually fixed Clash Verge — and what breaks Shadowrocket
Not the version field. Refreshing the profile is what fixed Clash: v3.8.0 added ML-KEM support to the Clash/Mihomo YAML subscription (commit
0a2cd789, PR #6451 — in v3.8.0 only,git tag --contains 0a2cd789→dev-latest,v3.8.0):The repo's own REALITY docs spell out the consequence for the raw-link case, and explicitly that the version field is a red herring (
docs/content/docs/zh/config/reality.mdx:109):Shadowrocket imports a raw
vless://link (QR scan), so there is no such option to carry, and nothing the panel emits can turn it on. If its TLS stack does not offerX25519MLKEM768, the handshake never completes → exactly the silent timeout you see. That last step is an inference — I cannot inspect Shadowrocket — but it is the only mechanism consistent with "same link, same panel, works on core v26.6.27, fails on v26.9.9".4. What you can do now
internal/web/service/server.go:867→if major > 26 || (major == 26 && minor > 6) || (major == 26 && minor == 6 && patch >= 27). Cost: you lose every core fix after v26.6.27.minClientVerback to empty on every REALITY inbound. On v26.9.8+ an empty value is genuinely unrestricted, and1.0.0only weakens the fingerprint gate.vless://link — only the YAML carriessupport-x25519mlkem768: true.5. The "Flow field disappeared" part
Flow is per client, not per inbound, so it is in the Clients modal, not the inbound editor.
frontend/src/pages/inbounds/form/InboundFormModal.tsx:560-564states the split:The selector is at
frontend/src/pages/clients/ClientFormModal.tsx:1202-1207and appears whenever the chosen inbound is flow-capable — for VLESS + TCP + REALITY that istruebyinternal/web/service/inbound_protocol.go:46-48:git diff v3.7.0..v3.8.0 -- frontend/src/pages/clients/ClientFormModal.tsxhas no flow-related change, so nothing moved in v3.8.0. One thing that does hide it: the Disable XTLS flow switch on the inbound's Basic tab (InboundFormModal.tsx:703-714) — it forcestlsFlowCapableto false (internal/web/service/inbound.go:409). Check it is off.🇨🇳 中文摘要
结论:问题不在
minClientVer,也不在面板代码。 v3.8.0 捆绑的是 Xray-core v26.9.9,这一代内核已经取消了「留空 = 26.3.27 内置下限」的行为(提交2ec6c736),所以你面板上留空就是真的不限制。真正挡住小火箭的是 v26.9.8+ 另一条独立要求:客户端 ClientHello 必须提供X25519MLKEM768key share(internal/sub/clash_service.go:1134的注释与docs/content/docs/zh/config/reality.mdx:109都写明了)。你自己的数据就能证明与面板无关:面板一直是 v3.8.0,只把内核换成
v26.6.27就恢复了。1.0.0,而是因为你刷新了订阅 —— v3.8.0 的 Clash YAML 订阅新增了reality-opts.support-x25519mlkem768: true和client-fingerprint(提交0a2cd789/ PR #6451,仅存在于 v3.8.0)。文档原文:「仅清空版本限制无法解决握手问题。」1.0.0只会额外放行过时指纹。vless://链接,不携带 Mihomo 那个开关,面板端无法开启;只能靠客户端升级到支持 ML-KEM 的版本,或继续用面板的内核切换器停在 v26.6.27(切换器下限就是它:internal/web/service/server.go:867)。ClientFormModal.tsx:1202-1207),不在入站编辑弹窗里;git diff v3.7.0..v3.8.0显示该弹窗的 flow 相关代码在 3.8.0 没有任何改动。如果客户端弹窗里也看不到,请检查入站「基础」页的 禁用 XTLS flow 开关是否被打开(InboundFormModal.tsx:703-714)。参考文档:https://docs.sanaei.dev/zh/docs/config/reality (「常见陷阱」一节)
我把标题改成了更贴合实际原因的表述,方便后来搜到同样问题的人(原标题:
[Bug]: VLESS-REALITY broken on Shadowrocket after updating to v3.8.0 / minClientVer issue / Flow hidden)。既然根因在上游内核、你手上也已经有可用解法,这里先关闭;如果按上面第 2 点清空minClientVer后情况与本文描述不符,欢迎回来评论。This reply was generated automatically; a maintainer may follow up. 此回复由自动化流程生成,维护者可能会跟进。
@lemonz666 commented on GitHub (Sep 16, 2026):
I can confirm the same behavior, with one additional data point:
I kept the same 3x-ui version and the same REALITY inbound configuration. I only changed the Xray-core version.
So users do not necessarily need to roll back as far as v26.6.27 — v26.7.28 also works with Shadowrocket in my test.
This further suggests the compatibility break is in the newer REALITY changes introduced after v26.7.28, rather than in 3x-ui configuration itself.
@wc7086 commented on GitHub (Sep 16, 2026):
Client-side follow-up with additional diagnostic evidence: https://github.com/Shadowrocket/config/issues/4
The report covers iOS 27 / Shadowrocket 2.2.92 (3445) against Xray 26.9.9. A captured failing ClientHello contained X25519 but no X25519MLKEM768 key share. Controlled Xray-client tests against the same inbound failed with Chrome100/120 and Safari16, while Chrome131 returned HTTP 204.
The Shadowrocket report asks for a verified compatible build/profile and clarification of effective profile selection. It explicitly notes that Chrome140 was not strictly correlated with a fresh capture, and that the Chrome120 label correction and later profile-selection changelog do not establish that an upgrade fixes this case.
Linking the reports here so affected users can follow the client-side investigation and its evidence limits.