[GH-ISSUE #6563] [Bug]: VLESS+XHTTP+REALITY times out on Shadowrocket after updating to v3.8.0 (bundled Xray-core v26.9.9) #4399

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

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

  • 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 @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 ```shell ``` ### 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 - [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:24 +07:00
Author
Owner

@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 Ver cannot relax that gate, which is why your old 1.0 trick stopped helping: the thing that trick used to disable was removed in the very same core release.

What actually changed under you

3x-ui bundled Xray-core source
v3.5.0 v26.7.11 git show v3.5.0:.github/workflows/release.yml line 121
v3.7.0 v26.7.28 git show v3.7.0:.github/workflows/release.yml line 127
v3.8.0 and v3.8.5 v26.9.9 .github/workflows/release.yml:127 (Windows :312), DockerInit.sh:36

The 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.ts is empty, and the REALITY share-link fields (pbk / sid / sni / fp / spx) are untouched in frontend/src/lib/xray/inbound-link.ts:454-471 and in internal/util/link/. The vless:// link Shadowrocket imports has exactly the shape it had on v3.7.0.

Why Min Client Ver = 1.0 worked before and does nothing now

Two different gates, one replacing the other:

  1. Cores in the v26.7.11 … v26.9.7 range applied a built-in minimum of 26.3.27 when 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 explicit 1.0 overrode 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).

  2. v26.9.8 removed that floor. Commit 2ec6c736 ("feat(xray): update xray-core to v26.9.8 and adapt panel"):

    REALITY no longer applies a built-in minClientVer (26.3.27) when the field is empty.

    and the same core generation added the independent ML-KEM requirement (internal/sub/clash_service.go:1133-1138):

    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
    }
    

    The consequence for raw links is written down in docs/content/docs/en/config/reality.mdx:126-135:

    Raw vless:// links do not carry this Mihomo option, so clients importing them directly still need a persistent override. … Clearing the version limit alone does not fix the handshake.

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

  1. Confirm which core you are actually running — the panel Overview shows it, or on the server:

    /usr/local/x-ui/bin/xray-linux-amd64 -version
    

    (that is the binary and flag the panel itself uses — internal/xray/process.go:582, :26-37)

  2. 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, keep Min Client Ver = 1.0 — there it still does what it did for you before.

  3. If you stay on v26.9.9, clear Min Client Ver back 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".

  4. 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 carries support-x25519mlkem768: true. Carrying that hint in raw vless:// 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.0 and Shadowrocket still times out, please comment with the core version from step 1 and the x-ui log text 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.

Verdict:        Duplicate
Severity:       N/A — no 3x-ui defect; the gate lives in the bundled upstream core
Confidence:     Medium. The panel's non-involvement and the version timeline are source-confirmed (file:line below). The client-side mechanism — Shadowrocket not offering X25519MLKEM768 — is an inference: I cannot inspect Shadowrocket, and the xray-core source is not in this checkout, so the upstream requirement rests on this repo's own commit message, code comment and docs.
Root cause:     No panel-side root cause. v3.8.0 pins Xray-core v26.9.9 (.github/workflows/release.yml:127, :312; DockerInit.sh:36) where v3.7.0 pinned v26.7.28, and v26.9.8+ requires an X25519MLKEM768 key share in the REALITY handshake while simultaneously dropping the built-in empty-field minClientVer floor of 26.3.27 (commit 2ec6c736). Triggering condition: any REALITY inbound (transport-independent) reached by a client whose TLS stack does not offer ML-KEM. The panel stores and forwards realitySettings verbatim — frontend/src/schemas/protocols/security/reality.ts:61 `minClientVer: z.string().default('')`.
Already fixed:  Not applicable — nothing to fix in this repo, and v3.8.5 pins the same v26.9.9 (git show v3.8.5:.github/workflows/release.yml line 127), so upgrading the panel will not change this. The subscription-side accommodation already shipped in v3.8.0: 0a2cd789 ("fix(sub): enable ML-KEM for Mihomo REALITY subscriptions", #6451).
Duplicate of:   #6543 — same bundled-core bump to v26.9.9 breaking Shadowrocket REALITY, same inverted minClientVer theory; that reporter's core-only downgrade to v26.6.27 (panel left at v3.8.0) is the data point that isolates the core. Related: #5986 (the earlier, distinct v26.7.11 minClientVer floor), #6555 (open: carry support-x25519mlkem768 in vless:// links).
Evidence:       .github/workflows/release.yml:127 and :312 -> "Xray-core/releases/download/v26.9.9/"; git show v3.7.0:.github/workflows/release.yml:127 -> v26.7.28; git show v3.5.0:...:121 -> v26.7.11; DockerInit.sh:36. Commit 2ec6c736 message -> "REALITY no longer applies a built-in minClientVer (26.3.27) when the field is empty." internal/sub/clash_service.go:1134-1135 -> `// Xray 26.9.8+ rejects REALITY handshakes without an ML-KEM key share.` + `realityOpts["support-x25519mlkem768"] = true`; pinned by TestClashRealityMLKEMAcrossSources (internal/sub/clash_service_test.go:169-198). docs/content/docs/en/config/reality.mdx:121-135. internal/web/translation/en-US.json:634. internal/web/service/server.go:869 -> core-switcher floor `major > 26 || (major == 26 && minor > 6) || (major == 26 && minor == 6 && patch >= 27)`. install.sh:1601-1617 (bin/ replaced on update). No REALITY/XHTTP panel change in v3.8.0: empty diff over frontend/src/schemas/protocols/stream/xhttp.ts and .../security/reality.ts; inbound-link.ts:454-471 unchanged; d0edbcec (the v26.9.9 bump) touches only udpHop.
Not determined: Whether this reporter's server is in fact running v26.9.9 — the "Xray-core version" form field was left empty, and unlike #6543 there is no core-downgrade data point here. Step 1 above (the `-version` output) settles it; if it reports a core below v26.9.8, the ML-KEM gate is not what they are hitting.

This reply was generated automatically; a maintainer may follow up.

<!-- gh-comment-id:5691747711 --> @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 Ver` cannot relax that gate, which is why your old `1.0` trick stopped helping: the thing that trick used to disable was *removed* in the very same core release. ## What actually changed under you | 3x-ui | bundled Xray-core | source | | --- | --- | --- | | v3.5.0 | v26.7.11 | `git show v3.5.0:.github/workflows/release.yml` line 121 | | v3.7.0 | v26.7.28 | `git show v3.7.0:.github/workflows/release.yml` line 127 | | v3.8.0 and v3.8.5 | v26.9.9 | `.github/workflows/release.yml:127` (Windows `:312`), `DockerInit.sh:36` | The 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.ts` is empty, and the REALITY share-link fields (`pbk` / `sid` / `sni` / `fp` / `spx`) are untouched in `frontend/src/lib/xray/inbound-link.ts:454-471` and in `internal/util/link/`. The `vless://` link Shadowrocket imports has exactly the shape it had on v3.7.0. ## Why `Min Client Ver = 1.0` worked before and does nothing now Two *different* gates, one replacing the other: 1. Cores in the v26.7.11 … v26.9.7 range applied a **built-in** minimum of `26.3.27` when 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 explicit `1.0` overrode 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). 2. v26.9.8 **removed** that floor. Commit `2ec6c736` ("feat(xray): update xray-core to v26.9.8 and adapt panel"): > REALITY no longer applies a built-in minClientVer (26.3.27) when the field is empty. and the same core generation added the independent ML-KEM requirement (`internal/sub/clash_service.go:1133-1138`): ```go 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 } ``` The consequence for raw links is written down in `docs/content/docs/en/config/reality.mdx:126-135`: > Raw `vless://` links do not carry this Mihomo option, so clients importing them directly still need a persistent override. … Clearing the version limit alone does not fix the handshake. 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 1. Confirm which core you are actually running — the panel Overview shows it, or on the server: ```bash /usr/local/x-ui/bin/xray-linux-amd64 -version ``` (that is the binary and flag the panel itself uses — `internal/xray/process.go:582`, `:26-37`) 2. 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, keep `Min Client Ver = 1.0` — there it still does what it did for you before. 3. If you stay on v26.9.9, **clear `Min Client Ver` back 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". 4. 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 carries `support-x25519mlkem768: true`. Carrying that hint in raw `vless://` 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.0` and Shadowrocket *still* times out, please comment with the core version from step 1 and the `x-ui log` text 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`. ``` Verdict: Duplicate Severity: N/A — no 3x-ui defect; the gate lives in the bundled upstream core Confidence: Medium. The panel's non-involvement and the version timeline are source-confirmed (file:line below). The client-side mechanism — Shadowrocket not offering X25519MLKEM768 — is an inference: I cannot inspect Shadowrocket, and the xray-core source is not in this checkout, so the upstream requirement rests on this repo's own commit message, code comment and docs. Root cause: No panel-side root cause. v3.8.0 pins Xray-core v26.9.9 (.github/workflows/release.yml:127, :312; DockerInit.sh:36) where v3.7.0 pinned v26.7.28, and v26.9.8+ requires an X25519MLKEM768 key share in the REALITY handshake while simultaneously dropping the built-in empty-field minClientVer floor of 26.3.27 (commit 2ec6c736). Triggering condition: any REALITY inbound (transport-independent) reached by a client whose TLS stack does not offer ML-KEM. The panel stores and forwards realitySettings verbatim — frontend/src/schemas/protocols/security/reality.ts:61 `minClientVer: z.string().default('')`. Already fixed: Not applicable — nothing to fix in this repo, and v3.8.5 pins the same v26.9.9 (git show v3.8.5:.github/workflows/release.yml line 127), so upgrading the panel will not change this. The subscription-side accommodation already shipped in v3.8.0: 0a2cd789 ("fix(sub): enable ML-KEM for Mihomo REALITY subscriptions", #6451). Duplicate of: #6543 — same bundled-core bump to v26.9.9 breaking Shadowrocket REALITY, same inverted minClientVer theory; that reporter's core-only downgrade to v26.6.27 (panel left at v3.8.0) is the data point that isolates the core. Related: #5986 (the earlier, distinct v26.7.11 minClientVer floor), #6555 (open: carry support-x25519mlkem768 in vless:// links). Evidence: .github/workflows/release.yml:127 and :312 -> "Xray-core/releases/download/v26.9.9/"; git show v3.7.0:.github/workflows/release.yml:127 -> v26.7.28; git show v3.5.0:...:121 -> v26.7.11; DockerInit.sh:36. Commit 2ec6c736 message -> "REALITY no longer applies a built-in minClientVer (26.3.27) when the field is empty." internal/sub/clash_service.go:1134-1135 -> `// Xray 26.9.8+ rejects REALITY handshakes without an ML-KEM key share.` + `realityOpts["support-x25519mlkem768"] = true`; pinned by TestClashRealityMLKEMAcrossSources (internal/sub/clash_service_test.go:169-198). docs/content/docs/en/config/reality.mdx:121-135. internal/web/translation/en-US.json:634. internal/web/service/server.go:869 -> core-switcher floor `major > 26 || (major == 26 && minor > 6) || (major == 26 && minor == 6 && patch >= 27)`. install.sh:1601-1617 (bin/ replaced on update). No REALITY/XHTTP panel change in v3.8.0: empty diff over frontend/src/schemas/protocols/stream/xhttp.ts and .../security/reality.ts; inbound-link.ts:454-471 unchanged; d0edbcec (the v26.9.9 bump) touches only udpHop. Not determined: Whether this reporter's server is in fact running v26.9.9 — the "Xray-core version" form field was left empty, and unlike #6543 there is no core-downgrade data point here. Step 1 above (the `-version` output) settles it; if it reports a core below v26.9.8, the ML-KEM gate is not what they are hitting. ``` *This reply was generated automatically; a maintainer may follow up.* <!-- claude-issue:analyst -->
Author
Owner

@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

<!-- gh-comment-id:5695322257 --> @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
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#4399
No description provided.