[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

Closed
opened 2026-10-31 20:39:20 +07:00 by bsakaguchi · 3 comments
Owner

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.

  • On Clash Verge Rev (v2.5.2), by explicitly setting the minClientVer to 1.0 or 1.0.0, Clash can successfully restore the connection after refreshing the profile.
  • However, on iOS Shadowrocket (v2.2.92), it is completely broken with zero traffic throughput, even though it worked perfectly fine on the previous v3.7.0.

🇨🇳 中文对照版

我的面板刚刚更新到了最新版 3x-ui v3.8.0(绑定了最新版 Xray-core)。更新完后,我的 VLESS-TCP-REALITY 节点出现严重的客户端兼容性死锁。

  • 在 Clash Verge Rev (v2.5.2) 上,通过将网页端 Reality 配置中的 最小客户端版本 (minClientVer) 显式设置为 1.0 或 1.0.0,刷新订阅后 Clash 可以恢复并正常连接。
  • 但是在 iOS Shadowrocket (小火箭 v2.2.92) 上,无论如何重新扫码或重连,都死活无法建立连接,完全没有流量(即使此前在 v3.7.0 版本中该设置完全正常)。

How to reproduce the problem

🇺🇸 English Version

  1. Update 3x-ui panel to the latest v3.8.0.
  2. Edit a VLESS-TCP-REALITY inbound. Notice that the "Flow / 流控" field is completely missing/hidden in the Web UI.
  3. Set minClientVer to 1.0.0 (or leave it blank/0).
  4. Connect using Clash Verge (Mihomo core) -> Works perfectly.
  5. Connect using iOS Shadowrocket -> Fails completely (Timeout / Handshake dropped by the new core).
  6. Downgrading the core to v26.6.27 via panel immediately fixes the issue for Shadowrocket.

🇨🇳 中文对照版

  1. 将 3x-ui 面板升级到最新的 v3.8.0。
  2. 编辑一个 VLESS-TCP-REALITY 入站,会发现网页端前端的“流控/Flow”输入框已经彻底消失不见。
  3. 将 minClientVer 设置为 1.0.0(或者留空/填0)。
  4. 使用 Clash Verge 连接 -> 完美可用。
  5. 使用 iOS Shadowrocket 连接 -> 彻底失败(超时/被新内核直接拒绝并强行丢包)。
  6. 如果在面板中将内核一键降级到 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 minClientVer is 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

  • Clash Verge Rev (Mihomo core): Restores connection and runs smoothly after explicitly setting minClientVer to 1.0.0 and refreshing the profile. However, it fails with a configuration error if 0.0.0 is filled.
  • iOS Shadowrocket: Permanently blocked with zero traffic. It completely times out (Timeout) no matter if minClientVer is left blank, set to 0, or set to 1.0.0. It only works again after the server-side Xray-core is rolled back to v26.6.27.

🇨🇳 中文对照版

  • Clash Verge Rev (Mihomo 内核): 网页端显式设置为 1.0.0 并刷新订阅后,可顺利恢复连接并稳定运行。但如果强行填入 0.0.0,则会导致配置错误导致连接挂掉。
  • iOS Shadowrocket(小火箭): 处于被永久拦截的状态,完全没有流量通过。无论 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

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
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. * On **Clash Verge Rev (v2.5.2)**, by explicitly setting the `minClientVer` to `1.0` or `1.0.0`, Clash can successfully restore the connection after refreshing the profile. * However, on iOS **Shadowrocket (v2.2.92)**, it is completely broken with zero traffic throughput, even though it worked perfectly fine on the previous v3.7.0. ### 🇨🇳 中文对照版 我的面板刚刚更新到了最新版 3x-ui v3.8.0(绑定了最新版 Xray-core)。更新完后,我的 VLESS-TCP-REALITY 节点出现严重的客户端兼容性死锁。 * 在 **Clash Verge Rev (v2.5.2)** 上,通过将网页端 Reality 配置中的 `最小客户端版本 (minClientVer)` 显式设置为 `1.0` 或 `1.0.0`,刷新订阅后 Clash 可以恢复并正常连接。 * 但是在 iOS **Shadowrocket (小火箭 v2.2.92)** 上,无论如何重新扫码或重连,都死活无法建立连接,完全没有流量(即使此前在 v3.7.0 版本中该设置完全正常)。 ### How to reproduce the problem ### 🇺🇸 English Version 1. Update 3x-ui panel to the latest v3.8.0. 2. Edit a VLESS-TCP-REALITY inbound. Notice that the "Flow / 流控" field is completely missing/hidden in the Web UI. 3. Set `minClientVer` to `1.0.0` (or leave it blank/0). 4. Connect using Clash Verge (Mihomo core) -> Works perfectly. 5. Connect using iOS Shadowrocket -> Fails completely (Timeout / Handshake dropped by the new core). 6. Downgrading the core to `v26.6.27` via panel immediately fixes the issue for Shadowrocket. ### 🇨🇳 中文对照版 1. 将 3x-ui 面板升级到最新的 v3.8.0。 2. 编辑一个 VLESS-TCP-REALITY 入站,会发现网页端前端的“流控/Flow”输入框已经彻底消失不见。 3. 将 `minClientVer` 设置为 `1.0.0`(或者留空/填0)。 4. 使用 Clash Verge 连接 -> 完美可用。 5. 使用 iOS Shadowrocket 连接 -> 彻底失败(超时/被新内核直接拒绝并强行丢包)。 6. 如果在面板中将内核一键降级到 `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 `minClientVer` is 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 - **Clash Verge Rev (Mihomo core):** Restores connection and runs smoothly after explicitly setting `minClientVer` to `1.0.0` and refreshing the profile. However, it fails with a configuration error if `0.0.0` is filled. - **iOS Shadowrocket:** Permanently blocked with zero traffic. It completely times out (Timeout) no matter if `minClientVer` is left blank, set to `0`, or set to `1.0.0`. It only works again after the server-side Xray-core is rolled back to `v26.6.27`. ### 🇨🇳 中文对照版 - **Clash Verge Rev (Mihomo 内核):** 网页端显式设置为 `1.0.0` 并刷新订阅后,可顺利恢复连接并稳定运行。但如果强行填入 `0.0.0`,则会导致配置错误导致连接挂掉。 - **iOS Shadowrocket(小火箭):** 处于被永久拦截的状态,完全没有流量通过。无论 `minClientVer` 留空、填 `0` 还是填 `1.0.0`,小火箭这边一律彻底超时(Timeout)。只有将服务器端的 Xray 内核降级回 `v26.6.27` 之后,小火箭才能恢复通网。 ### Relevant logs ```shell ``` ### 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 - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
bsakaguchi 2026-10-31 20:39:20 +07:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@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-in minClientVer floor — 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 an X25519MLKEM768 key share. Your own data point proves the panel is not involved — you kept 3x-ui at v3.8.0, changed only the core to v26.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:

3x-ui bundled Xray-core source
v3.7.0 v26.7.28 git show v3.7.0:DockerInit.sh line 35
v3.8.0 v26.9.9 DockerInit.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.ts has no pbk / sid / sni / fp change on the REALITY path (the only added sni lines are the new TUIC generator). The vless:// link Shadowrocket scans is byte-for-byte the same shape it was on v3.7.0.

2. Why minClientVer is the wrong lead

The panel never touches this field — it stores what you type and hands it to the core verbatim:

frontend/src/schemas/protocols/security/reality.ts:61
    minClientVer: z.string().default(''),

The built-in floor you are thinking of (26.3.27 when the field was empty) existed in core v26.7.11 … v26.9.7 and is what #5922 / #6501 were about. Commit 2ec6c736 ("feat(xray): update xray-core to v26.9.8 and adapt panel") says it plainly:

REALITY no longer applies a built-in minClientVer (26.3.27) when the field is empty. The form placeholder and the min/max hints in all 13 locales now say that empty means no minimum.

That is why the tooltip in your v3.8.0 panel now reads (internal/web/translation/zh-CN.json:628):

留空表示不设下限:Xray-core 接受任何客户端版本,包括 Mihomo、sing-box 等第三方内核。

So on v3.8.0 you should clear minClientVer back to empty. Leaving 1.0.0 there 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):

// internal/sub/clash_service.go:1133-1141
if len(realityOpts) > 0 {
    // Xray 26.9.8+ rejects REALITY handshakes without an ML-KEM key share.
    realityOpts["support-x25519mlkem768"] = true
    proxy["reality-opts"] = realityOpts
}
proxy["client-fingerprint"] = "chrome"

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):

Mihomo 与 ML-KEM。 Xray-core v26.9.8+ 还独立要求 X25519MLKEM768 key share 位于可选的 X25519 之前。……原始 vless:// 链接不携带这个 Mihomo 配置项,直接导入时仍需持久覆写。 ……仅清空版本限制无法解决握手问题。

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 offer X25519MLKEM768, 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

  1. Keep the core at v26.6.27 (what you already did). The panel's core switcher supports it — its floor is exactly that version: 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.
  2. Clear minClientVer back to empty on every REALITY inbound. On v26.9.8+ an empty value is genuinely unrestricted, and 1.0.0 only weakens the fingerprint gate.
  3. For Clash/Mihomo, use the panel's Clash subscription URL, not a hand-imported vless:// link — only the YAML carries support-x25519mlkem768: true.
  4. For Shadowrocket, the fix has to come from the client side (a build whose uTLS offers ML-KEM). There is no server-side switch in 3x-ui to relax this; the requirement lives in the core.

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-564 states the split:

getValues() returns the entire form store, including settings.clients … which have no bound field (clients are managed via the standalone Client modal, not this inbound modal).

The selector is at frontend/src/pages/clients/ClientFormModal.tsx:1202-1207 and appears whenever the chosen inbound is flow-capable — for VLESS + TCP + REALITY that is true by internal/web/service/inbound_protocol.go:46-48:

case "tcp":
    return stream.Security == "tls" || stream.Security == "reality"

git diff v3.7.0..v3.8.0 -- frontend/src/pages/clients/ClientFormModal.tsx has 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 forces tlsFlowCapable to false (internal/web/service/inbound.go:409). Check it is off.


Verdict:        Not a bug (expected behaviour)
Severity:       N/A — no 3x-ui defect; the change is in the bundled upstream core
Confidence:     Medium. The panel's non-involvement is source-confirmed and the reporter's own core-only downgrade proves it; the specific client-side mechanism (Shadowrocket not offering X25519MLKEM768) rests on the repo's docs/commit for the upstream requirement, not on code I read.
Root cause:     No panel-side root cause. The gate is upstream Xray-core v26.9.8+, which requires an X25519MLKEM768 key share ahead of the optional X25519 share in the REALITY handshake; 3x-ui v3.8.0 merely pins that core (DockerInit.sh:36 -> v26.9.9). The panel passes realitySettings through untouched (frontend/src/schemas/protocols/security/reality.ts:61 defaults minClientVer to ""). The reporter's minClientVer theory is inverted: the built-in 26.3.27 floor was REMOVED in v26.9.8 per commit 2ec6c736, so it cannot be active on v3.8.0.
Already fixed:  Not applicable — nothing to fix in this repo. The v3.8.0-side accommodation already shipped: 0a2cd789 ("fix(sub): enable ML-KEM for Mihomo REALITY subscriptions", #6451) sets reality-opts.support-x25519mlkem768 and client-fingerprint on the Clash subscription; git tag --contains 0a2cd789 -> dev-latest, v3.8.0.
Duplicate of:   None. Related: #6501 and #5922 — same symptom shape, DIFFERENT root cause (the v26.7.11 minClientVer floor, gone as of v26.9.8), so not closed as a duplicate.
Evidence:       DockerInit.sh:36 and .github/workflows/release.yml:127,:312 -> "Xray-core/releases/download/v26.9.9/"; git show v3.7.0:DockerInit.sh:35 -> "v26.7.28". internal/sub/clash_service.go:1133-1141 -> `// Xray 26.9.8+ rejects REALITY handshakes without an ML-KEM key share.` + `realityOpts["support-x25519mlkem768"] = true` + `proxy["client-fingerprint"] = "chrome"`. docs/content/docs/en/config/reality.mdx:126-135 -> "Xray-core v26.9.8+ independently requires an `X25519MLKEM768` key share before the optional `X25519` share … Raw `vless://` links do not carry this Mihomo option … Clearing the version limit alone does not fix the handshake." Commit 2ec6c736 message -> "REALITY no longer applies a built-in minClientVer (26.3.27) when the field is empty." frontend/src/schemas/protocols/security/reality.ts:61 -> `minClientVer: z.string().default('')`. internal/web/translation/en-US.json:622 -> "Empty means no minimum: Xray-core accepts every client version…". internal/web/service/server.go:867 -> core-switcher floor at 26.6.27. Flow: InboundFormModal.tsx:560-564 comment, ClientFormModal.tsx:1202-1207, internal/web/service/inbound_protocol.go:46-48, inbound.go:409 (`TlsFlowCapable: !r.DisableFlow && inboundCanEnableTlsFlow(...)`); git log --diff-filter=A on ClientFormModal.tsx -> edf0f369 (React rewrite, first tag v3.1.0). No REALITY link change: git diff v3.7.0..v3.8.0 over internal/util/link/, internal/sub/service.go, frontend/src/lib/xray/inbound-link.ts.
Not determined: (a) Whether Shadowrocket v2.2.92 offers X25519MLKEM768 — I cannot inspect it, and I could not read the xray-core source either (its module cache sits outside this checkout), so the upstream requirement rests on this repo's docs and on commit 0a2cd789's own statement. (b) Why `minClientVer = 0.0.0` produced "a configuration error" for you — the panel accepts it (frontend/src/lib/xray/stream-wire-normalize.ts:113-127 allows 1-3 dot-separated parts, each 0-255), so anything that went wrong happened in the core. If you want that part settled, paste the text of `x-ui log` from right after saving `0.0.0` and restarting Xray (I cannot read screenshots).

🇨🇳 中文摘要

结论:问题不在 minClientVer,也不在面板代码。 v3.8.0 捆绑的是 Xray-core v26.9.9,这一代内核已经取消了「留空 = 26.3.27 内置下限」的行为(提交 2ec6c736),所以你面板上留空就是真的不限制。真正挡住小火箭的是 v26.9.8+ 另一条独立要求:客户端 ClientHello 必须提供 X25519MLKEM768 key share(internal/sub/clash_service.go:1134 的注释与 docs/content/docs/zh/config/reality.mdx:109 都写明了)。

你自己的数据就能证明与面板无关:面板一直是 v3.8.0,只把内核换成 v26.6.27 就恢复了。

  • Clash Verge 恢复不是因为填了 1.0.0,而是因为你刷新了订阅 —— v3.8.0 的 Clash YAML 订阅新增了 reality-opts.support-x25519mlkem768: true 和 client-fingerprint(提交 0a2cd789 / PR #6451,仅存在于 v3.8.0)。文档原文:「仅清空版本限制无法解决握手问题。」
  • 建议把每条 REALITY 入站的最小客户端版本清回空。在 v26.9.8+ 上留空才是真正不限制,填 1.0.0 只会额外放行过时指纹。
  • 小火箭扫的是原始 vless:// 链接,不携带 Mihomo 那个开关,面板端无法开启;只能靠客户端升级到支持 ML-KEM 的版本,或继续用面板的内核切换器停在 v26.6.27(切换器下限就是它:internal/web/service/server.go:867)。
  • 「流控 / Flow 输入框不见了」不是 bug:Flow 是按客户端的字段,在 面板 → 客户端 的编辑弹窗里(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. 此回复由自动化流程生成,维护者可能会跟进。

<!-- gh-comment-id:5676931272 --> @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-in `minClientVer` floor — 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 an `X25519MLKEM768` key share. Your own data point proves the panel is not involved — you kept 3x-ui at v3.8.0, changed only the core to `v26.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: | 3x-ui | bundled Xray-core | source | | --- | --- | --- | | v3.7.0 | v26.7.28 | `git show v3.7.0:DockerInit.sh` line 35 | | v3.8.0 | v26.9.9 | `DockerInit.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.ts` has no `pbk` / `sid` / `sni` / `fp` change on the REALITY path (the only added `sni` lines are the new TUIC generator). The `vless://` link Shadowrocket scans is byte-for-byte the same shape it was on v3.7.0. ## 2. Why `minClientVer` is the wrong lead The panel never touches this field — it stores what you type and hands it to the core verbatim: ``` frontend/src/schemas/protocols/security/reality.ts:61 minClientVer: z.string().default(''), ``` The built-in floor you are thinking of (`26.3.27` when the field was empty) existed in core **v26.7.11 … v26.9.7** and is what #5922 / #6501 were about. Commit `2ec6c736` ("feat(xray): update xray-core to v26.9.8 and adapt panel") says it plainly: > REALITY no longer applies a built-in minClientVer (26.3.27) when the field is empty. The form placeholder and the min/max hints in all 13 locales now say that empty means no minimum. That is why the tooltip in your v3.8.0 panel now reads (`internal/web/translation/zh-CN.json:628`): > 留空表示不设下限:Xray-core 接受任何客户端版本,包括 Mihomo、sing-box 等第三方内核。 So on v3.8.0 you should **clear** `minClientVer` back to empty. Leaving `1.0.0` there 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`): ```go // internal/sub/clash_service.go:1133-1141 if len(realityOpts) > 0 { // Xray 26.9.8+ rejects REALITY handshakes without an ML-KEM key share. realityOpts["support-x25519mlkem768"] = true proxy["reality-opts"] = realityOpts } proxy["client-fingerprint"] = "chrome" ``` 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`): > **Mihomo 与 ML-KEM。** Xray-core v26.9.8+ 还独立要求 `X25519MLKEM768` key share 位于可选的 `X25519` 之前。……**原始 `vless://` 链接不携带这个 Mihomo 配置项,直接导入时仍需持久覆写。** ……**仅清空版本限制无法解决握手问题。** 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 offer `X25519MLKEM768`, 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 1. **Keep the core at v26.6.27** (what you already did). The panel's core switcher supports it — its floor is exactly that version: `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. 2. **Clear `minClientVer` back to empty** on every REALITY inbound. On v26.9.8+ an empty value is genuinely unrestricted, and `1.0.0` only weakens the fingerprint gate. 3. **For Clash/Mihomo, use the panel's Clash subscription URL**, not a hand-imported `vless://` link — only the YAML carries `support-x25519mlkem768: true`. 4. **For Shadowrocket**, the fix has to come from the client side (a build whose uTLS offers ML-KEM). There is no server-side switch in 3x-ui to relax this; the requirement lives in the core. ## 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-564` states the split: > `getValues()` returns the entire form store, including settings.clients … which have no bound field (clients are managed via the standalone Client modal, not this inbound modal). The selector is at `frontend/src/pages/clients/ClientFormModal.tsx:1202-1207` and appears whenever the chosen inbound is flow-capable — for VLESS + TCP + REALITY that is `true` by `internal/web/service/inbound_protocol.go:46-48`: ```go case "tcp": return stream.Security == "tls" || stream.Security == "reality" ``` `git diff v3.7.0..v3.8.0 -- frontend/src/pages/clients/ClientFormModal.tsx` has **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 forces `tlsFlowCapable` to false (`internal/web/service/inbound.go:409`). Check it is off. --- ``` Verdict: Not a bug (expected behaviour) Severity: N/A — no 3x-ui defect; the change is in the bundled upstream core Confidence: Medium. The panel's non-involvement is source-confirmed and the reporter's own core-only downgrade proves it; the specific client-side mechanism (Shadowrocket not offering X25519MLKEM768) rests on the repo's docs/commit for the upstream requirement, not on code I read. Root cause: No panel-side root cause. The gate is upstream Xray-core v26.9.8+, which requires an X25519MLKEM768 key share ahead of the optional X25519 share in the REALITY handshake; 3x-ui v3.8.0 merely pins that core (DockerInit.sh:36 -> v26.9.9). The panel passes realitySettings through untouched (frontend/src/schemas/protocols/security/reality.ts:61 defaults minClientVer to ""). The reporter's minClientVer theory is inverted: the built-in 26.3.27 floor was REMOVED in v26.9.8 per commit 2ec6c736, so it cannot be active on v3.8.0. Already fixed: Not applicable — nothing to fix in this repo. The v3.8.0-side accommodation already shipped: 0a2cd789 ("fix(sub): enable ML-KEM for Mihomo REALITY subscriptions", #6451) sets reality-opts.support-x25519mlkem768 and client-fingerprint on the Clash subscription; git tag --contains 0a2cd789 -> dev-latest, v3.8.0. Duplicate of: None. Related: #6501 and #5922 — same symptom shape, DIFFERENT root cause (the v26.7.11 minClientVer floor, gone as of v26.9.8), so not closed as a duplicate. Evidence: DockerInit.sh:36 and .github/workflows/release.yml:127,:312 -> "Xray-core/releases/download/v26.9.9/"; git show v3.7.0:DockerInit.sh:35 -> "v26.7.28". internal/sub/clash_service.go:1133-1141 -> `// Xray 26.9.8+ rejects REALITY handshakes without an ML-KEM key share.` + `realityOpts["support-x25519mlkem768"] = true` + `proxy["client-fingerprint"] = "chrome"`. docs/content/docs/en/config/reality.mdx:126-135 -> "Xray-core v26.9.8+ independently requires an `X25519MLKEM768` key share before the optional `X25519` share … Raw `vless://` links do not carry this Mihomo option … Clearing the version limit alone does not fix the handshake." Commit 2ec6c736 message -> "REALITY no longer applies a built-in minClientVer (26.3.27) when the field is empty." frontend/src/schemas/protocols/security/reality.ts:61 -> `minClientVer: z.string().default('')`. internal/web/translation/en-US.json:622 -> "Empty means no minimum: Xray-core accepts every client version…". internal/web/service/server.go:867 -> core-switcher floor at 26.6.27. Flow: InboundFormModal.tsx:560-564 comment, ClientFormModal.tsx:1202-1207, internal/web/service/inbound_protocol.go:46-48, inbound.go:409 (`TlsFlowCapable: !r.DisableFlow && inboundCanEnableTlsFlow(...)`); git log --diff-filter=A on ClientFormModal.tsx -> edf0f369 (React rewrite, first tag v3.1.0). No REALITY link change: git diff v3.7.0..v3.8.0 over internal/util/link/, internal/sub/service.go, frontend/src/lib/xray/inbound-link.ts. Not determined: (a) Whether Shadowrocket v2.2.92 offers X25519MLKEM768 — I cannot inspect it, and I could not read the xray-core source either (its module cache sits outside this checkout), so the upstream requirement rests on this repo's docs and on commit 0a2cd789's own statement. (b) Why `minClientVer = 0.0.0` produced "a configuration error" for you — the panel accepts it (frontend/src/lib/xray/stream-wire-normalize.ts:113-127 allows 1-3 dot-separated parts, each 0-255), so anything that went wrong happened in the core. If you want that part settled, paste the text of `x-ui log` from right after saving `0.0.0` and restarting Xray (I cannot read screenshots). ``` --- ### 🇨🇳 中文摘要 **结论:问题不在 `minClientVer`,也不在面板代码。** v3.8.0 捆绑的是 Xray-core **v26.9.9**,这一代内核已经**取消**了「留空 = 26.3.27 内置下限」的行为(提交 `2ec6c736`),所以你面板上留空就是真的不限制。真正挡住小火箭的是 v26.9.8+ 另一条独立要求:客户端 ClientHello 必须提供 `X25519MLKEM768` key share(`internal/sub/clash_service.go:1134` 的注释与 `docs/content/docs/zh/config/reality.mdx:109` 都写明了)。 你自己的数据就能证明与面板无关:面板一直是 v3.8.0,只把内核换成 `v26.6.27` 就恢复了。 - **Clash Verge 恢复不是因为填了 `1.0.0`**,而是因为你刷新了订阅 —— v3.8.0 的 Clash YAML 订阅新增了 `reality-opts.support-x25519mlkem768: true` 和 `client-fingerprint`(提交 `0a2cd789` / PR #6451,仅存在于 v3.8.0)。文档原文:**「仅清空版本限制无法解决握手问题。」** - **建议把每条 REALITY 入站的最小客户端版本清回空**。在 v26.9.8+ 上留空才是真正不限制,填 `1.0.0` 只会额外放行过时指纹。 - **小火箭**扫的是原始 `vless://` 链接,不携带 Mihomo 那个开关,面板端无法开启;只能靠客户端升级到支持 ML-KEM 的版本,或继续用面板的内核切换器停在 **v26.6.27**(切换器下限就是它:`internal/web/service/server.go:867`)。 - **「流控 / Flow 输入框不见了」不是 bug**:Flow 是**按客户端**的字段,在 **面板 → 客户端** 的编辑弹窗里(`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. 此回复由自动化流程生成,维护者可能会跟进。* <!-- claude-issue:analyst -->
Author
Owner

@lemonz666 commented on GitHub (Sep 16, 2026):

I can confirm the same behavior, with one additional data point:

  • Xray-core v26.9.9: Shadowrocket times out.
  • Xray-core v26.7.28: Shadowrocket works normally again.

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.

<!-- gh-comment-id:5691816561 --> @lemonz666 commented on GitHub (Sep 16, 2026): I can confirm the same behavior, with one additional data point: * **Xray-core v26.9.9**: Shadowrocket times out. * **Xray-core v26.7.28**: Shadowrocket works normally again. 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.
Author
Owner

@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.

<!-- gh-comment-id:5698179607 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#4392
No description provided.