[GH-ISSUE #6727] [Bug]: Reality inbound fails on Ubuntu 24 but works on Debian 12 (3x-ui 3.9.0, Min Client Ver 1.0.0) #4485

Open
opened 2026-10-31 20:39:58 +07:00 by bsakaguchi · 9 comments
Owner

Originally created by @shanghainese on GitHub (Oct 4, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6727

On Ubuntu 24, 3x-ui 3.9.0 fails to operate correctly with Reality nodes—despite the minimum version requirement being set to 1.0.0—whereas it works fine on Debian 12.

Describe the solution you'd like

please update,thanks

Alternatives you've considered

No response

Concrete use case

No response

Mockups, screenshots, or examples

No response

Which parts of the panel would this affect?

No response

Are you willing to help?

  • I'd like to implement this feature myself and open a PR.
  • I can help test once a PR is open.

Before submitting

  • I searched existing issues and this feature has not been requested.
  • This feature request is written in English.
Originally created by @shanghainese on GitHub (Oct 4, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6727 ### Is your feature request related to a problem? On Ubuntu 24, 3x-ui 3.9.0 fails to operate correctly with Reality nodes—despite the minimum version requirement being set to 1.0.0—whereas it works fine on Debian 12. ### Describe the solution you'd like please update,thanks ### Alternatives you've considered _No response_ ### Concrete use case _No response_ ### Mockups, screenshots, or examples _No response_ ### Which parts of the panel would this affect? _No response_ ### Are you willing to help? - [ ] I'd like to implement this feature myself and open a PR. - [ ] I can help test once a PR is open. ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this feature has not been requested. - [x] This feature request is written in English.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 4, 2026):

I can't say yet whether this is a bug. The report doesn't name the client app, the error, or the Xray-core version on either server. Also, nothing in the panel's REALITY path depends on the OS, so Ubuntu 24 versus Debian 12 by itself shouldn't change the result. I've relabelled this as a bug report waiting for details. I also changed the title from [Feature]:3x-ui 3.9.0 fails to operate correctly with Reality nodes(1.0.0) so it describes the problem more clearly.

What the code shows

  • Min Client Ver = 1.0.0 is passed to Xray-core as realitySettings.minClientVer. The panel only checks the format (frontend/src/lib/xray/stream-wire-normalize.ts:135, validateRealityClientVer). The panel's own help text (internal/web/translation/en-US.json:635) says 1.0.0 is only needed on cores v26.7.11 to v26.9.7: "On Xray-core v26.9.8+ empty means no minimum … Cores v26.7.11 to v26.9.7 instead enforce a built-in 26.3.27 minimum when empty; set 1.0.0 there to accept those clients."
  • The most likely cause is the Xray-core version, not the OS. Xray-core v26.9.8+ also requires an X25519MLKEM768 key share in the REALITY handshake. Clients that don't send one fail with REALITY authentication failed, whatever Min Client Ver is set to. This mostly affects Mihomo/Clash. It's documented in docs/content/docs/en/config/reality.mdx:126-136. The Clash subscription now sets the option for REALITY nodes (internal/sub/clash_service.go:1186-1187):
    // Xray 26.9.8+ rejects REALITY handshakes without an ML-KEM key share.
    realityOpts["support-x25519mlkem768"] = true
    
    If your two servers run different Xray-core versions, or your clients imported their profiles before this option existed, that would explain why one server works and the other doesn't.

Please reply with:

  1. The Xray-core version on each server (Ubuntu 24 and Debian 12). It's shown on the panel dashboard. This is the most important detail.
  2. The client app and its version (for example v2rayN, Mihomo/Clash Verge, sing-box, Shadowrocket), and whether it's the same client for both servers.
  3. What "fails to operate correctly" means: the exact error text from the client, and any matching lines from the server's Xray log (via the x-ui menu on the server). Please paste them as text.
  4. The REALITY inbound's streamSettings JSON from the Ubuntu server, with privateKey removed, and the client's fingerprint setting.
  5. For Clash/Mihomo clients: does the node's YAML contain reality-opts: support-x25519mlkem768: true after you refresh the subscription?

Verdict: Insufficient information

Related: #6568 (Mihomo/Clash REALITY failures on Xray-core 26.9.x caused by the ML-KEM requirement and the empty-minClientVer gate). This isn't marked as a duplicate because it's not yet clear which client and core version you're using.

This reply was generated automatically. A maintainer may follow up.

<!-- gh-comment-id:5974917780 --> @github-actions[bot] commented on GitHub (Oct 4, 2026): I can't say yet whether this is a bug. The report doesn't name the client app, the error, or the Xray-core version on either server. Also, nothing in the panel's REALITY path depends on the OS, so Ubuntu 24 versus Debian 12 by itself shouldn't change the result. I've relabelled this as a bug report waiting for details. I also changed the title from `[Feature]:3x-ui 3.9.0 fails to operate correctly with Reality nodes(1.0.0)` so it describes the problem more clearly. **What the code shows** - **Min Client Ver = `1.0.0`** is passed to Xray-core as `realitySettings.minClientVer`. The panel only checks the format (`frontend/src/lib/xray/stream-wire-normalize.ts:135`, `validateRealityClientVer`). The panel's own help text (`internal/web/translation/en-US.json:635`) says `1.0.0` is only needed on cores v26.7.11 to v26.9.7: *"On Xray-core v26.9.8+ empty means no minimum … Cores v26.7.11 to v26.9.7 instead enforce a built-in 26.3.27 minimum when empty; set 1.0.0 there to accept those clients."* - **The most likely cause is the Xray-core version, not the OS.** Xray-core v26.9.8+ also requires an `X25519MLKEM768` key share in the REALITY handshake. Clients that don't send one fail with `REALITY authentication failed`, whatever Min Client Ver is set to. This mostly affects Mihomo/Clash. It's documented in `docs/content/docs/en/config/reality.mdx:126-136`. The Clash subscription now sets the option for REALITY nodes (`internal/sub/clash_service.go:1186-1187`): ```go // Xray 26.9.8+ rejects REALITY handshakes without an ML-KEM key share. realityOpts["support-x25519mlkem768"] = true ``` If your two servers run different Xray-core versions, or your clients imported their profiles before this option existed, that would explain why one server works and the other doesn't. **Please reply with:** 1. The **Xray-core version** on each server (Ubuntu 24 and Debian 12). It's shown on the panel dashboard. This is the most important detail. 2. The **client app and its version** (for example v2rayN, Mihomo/Clash Verge, sing-box, Shadowrocket), and whether it's the same client for both servers. 3. What "fails to operate correctly" means: the **exact error text** from the client, and any matching lines from the server's Xray log (via the `x-ui` menu on the server). Please paste them as text. 4. The REALITY inbound's `streamSettings` JSON from the Ubuntu server, with `privateKey` removed, and the client's `fingerprint` setting. 5. For Clash/Mihomo clients: does the node's YAML contain `reality-opts: support-x25519mlkem768: true` after you refresh the subscription? Verdict: Insufficient information Related: #6568 (Mihomo/Clash REALITY failures on Xray-core 26.9.x caused by the ML-KEM requirement and the empty-minClientVer gate). This isn't marked as a duplicate because it's not yet clear which client and core version you're using. *This reply was generated automatically. A maintainer may follow up.* <!-- claude-issue:analyst -->
Author
Owner

@shanghainese commented on GitHub (Oct 4, 2026):

I tested 3.9.0 again. Reality can be used normally with v2rayNG (26.6.27). The latest versions of stash and clash on iOS cannot be used, but shadowrocket can. Openclash (0.47.071) in immortalwrt 24.10.6 cannot be used either.

<!-- gh-comment-id:5975084787 --> @shanghainese commented on GitHub (Oct 4, 2026): I tested 3.9.0 again. Reality can be used normally with v2rayNG (26.6.27). The latest versions of stash and clash on iOS cannot be used, but shadowrocket can. Openclash (0.47.071) in immortalwrt 24.10.6 cannot be used either.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 4, 2026):

Thanks for testing. Your results point to a client compatibility limit, not a 3x-ui bug. The clients that fail (Clash for iOS, Stash, OpenClash) are all Mihomo/Clash-family clients. The ones that work (v2rayNG, Shadowrocket) are not. That matches the REALITY handshake requirement in Xray-core v26.9.8+, and 3x-ui 3.9.0 ships with Xray-core v26.9.30.

Why these clients fail

  • 3x-ui v3.9.0 downloads Xray-core v26.9.30 (.github/workflows/release.yml:118, DockerInit.sh:36).
  • Starting with v26.9.8, Xray-core rejects any REALITY handshake that doesn't include an X25519MLKEM768 key share. This applies whatever Min Client Ver is set to, so setting 1.0.0 can't fix it. The panel docs cover this in docs/content/docs/en/config/reality.mdx:126-136: "Xray-core v26.9.8+ independently requires an X25519MLKEM768 key share … Clearing the version limit alone does not fix the handshake."
  • v2rayNG is built on Xray-core and Shadowrocket uses its own TLS stack, so both already send that key share. Older Mihomo/Clash builds, and clients that don't support the option, do not.

What to try

  1. OpenClash / Clash (Mihomo core): import the node from the panel's Clash subscription again, or refresh it. Then check that the node's YAML contains:
    reality-opts:
      support-x25519mlkem768: true
    client-fingerprint: chrome
    
    The panel adds this option for every REALITY node (internal/sub/clash_service.go:1186-1187), and VLESS links carry the same hint as support-x25519mlkem768=true (internal/sub/service.go:1243). The option only has an effect if the Mihomo core inside OpenClash is new enough to support it. If it isn't, update the core from OpenClash's core update page. If you set a fingerprint by hand, use one that offers ML-KEM, such as chrome.
  2. Stash / Clash for iOS: these are closed-source, so I can't check from this repository whether they can send an ML-KEM key share. If they can't, the app vendor needs to add support.
  3. Debian 12 server: if REALITY works there with the same Clash clients, that server is most likely running an Xray-core older than v26.9.8. You can check the version on the panel dashboard. The OS makes no difference: nothing in the panel's REALITY path depends on the distribution.

Verdict: Not a bug (expected behaviour). The handshake requirement comes from upstream Xray-core v26.9.8+, and 3x-ui already turns on the client-side option in its Clash subscription and its links.
Severity: N/A
Confidence: Medium
Root cause: No 3x-ui defect. Xray-core ≥ v26.9.8 requires an X25519MLKEM768 key share in the REALITY ClientHello, and the failing Mihomo/Clash-family clients don't send one. 3x-ui 3.9.0 bundles v26.9.30.
Already fixed: Not applicable. The panel-side mitigations are already in v3.9.0: 0a2cd789 fix(sub): enable ML-KEM for Mihomo REALITY subscriptions (#6451) and ce221c33 fix(sub): carry REALITY ML-KEM hint in VLESS links (#6712).
Duplicate of: Related: #6568 (same Mihomo/Clash failure on Xray-core 26.9.x caused by the ML-KEM requirement).
Evidence: DockerInit.sh:36 and release.yml:118 pin Xray-core/releases/download/v26.9.30. internal/sub/clash_service.go:1186-1187: // Xray 26.9.8+ rejects REALITY handshakes without an ML-KEM key share. / realityOpts["support-x25519mlkem768"] = true. docs/content/docs/en/config/reality.mdx:126-136. Reporter's matrix: the Xray-based (v2rayNG) and independent (Shadowrocket) clients work, and every Mihomo/Clash-family client fails.
Not determined: The Xray-core version on the Debian 12 server, and the Mihomo core version inside OpenClash. Checking whether the OpenClash node YAML has support-x25519mlkem768: true after a subscription refresh would settle whether this is the old-core case.

This reply was generated automatically. A maintainer may follow up.

<!-- gh-comment-id:5975094035 --> @github-actions[bot] commented on GitHub (Oct 4, 2026): Thanks for testing. Your results point to a client compatibility limit, not a 3x-ui bug. The clients that fail (Clash for iOS, Stash, OpenClash) are all Mihomo/Clash-family clients. The ones that work (v2rayNG, Shadowrocket) are not. That matches the REALITY handshake requirement in Xray-core v26.9.8+, and 3x-ui 3.9.0 ships with Xray-core v26.9.30. **Why these clients fail** - 3x-ui v3.9.0 downloads Xray-core **v26.9.30** (`.github/workflows/release.yml:118`, `DockerInit.sh:36`). - Starting with v26.9.8, Xray-core rejects any REALITY handshake that doesn't include an `X25519MLKEM768` key share. This applies **whatever Min Client Ver is set to**, so setting `1.0.0` can't fix it. The panel docs cover this in `docs/content/docs/en/config/reality.mdx:126-136`: *"Xray-core v26.9.8+ independently requires an `X25519MLKEM768` key share … Clearing the version limit alone does not fix the handshake."* - v2rayNG is built on Xray-core and Shadowrocket uses its own TLS stack, so both already send that key share. Older Mihomo/Clash builds, and clients that don't support the option, do not. **What to try** 1. **OpenClash / Clash (Mihomo core):** import the node from the panel's **Clash subscription** again, or refresh it. Then check that the node's YAML contains: ```yaml reality-opts: support-x25519mlkem768: true client-fingerprint: chrome ``` The panel adds this option for every REALITY node (`internal/sub/clash_service.go:1186-1187`), and VLESS links carry the same hint as `support-x25519mlkem768=true` (`internal/sub/service.go:1243`). The option only has an effect if the **Mihomo core** inside OpenClash is new enough to support it. If it isn't, update the core from OpenClash's core update page. If you set a fingerprint by hand, use one that offers ML-KEM, such as `chrome`. 2. **Stash / Clash for iOS:** these are closed-source, so I can't check from this repository whether they can send an ML-KEM key share. If they can't, the app vendor needs to add support. 3. **Debian 12 server:** if REALITY works there with the same Clash clients, that server is most likely running an Xray-core **older than v26.9.8**. You can check the version on the panel dashboard. The OS makes no difference: nothing in the panel's REALITY path depends on the distribution. Verdict: Not a bug (expected behaviour). The handshake requirement comes from upstream Xray-core v26.9.8+, and 3x-ui already turns on the client-side option in its Clash subscription and its links. Severity: N/A Confidence: Medium Root cause: No 3x-ui defect. Xray-core ≥ v26.9.8 requires an `X25519MLKEM768` key share in the REALITY ClientHello, and the failing Mihomo/Clash-family clients don't send one. 3x-ui 3.9.0 bundles v26.9.30. Already fixed: Not applicable. The panel-side mitigations are already in v3.9.0: 0a2cd789 `fix(sub): enable ML-KEM for Mihomo REALITY subscriptions (#6451)` and ce221c33 `fix(sub): carry REALITY ML-KEM hint in VLESS links (#6712)`. Duplicate of: Related: #6568 (same Mihomo/Clash failure on Xray-core 26.9.x caused by the ML-KEM requirement). Evidence: `DockerInit.sh:36` and `release.yml:118` pin `Xray-core/releases/download/v26.9.30`. `internal/sub/clash_service.go:1186-1187`: `// Xray 26.9.8+ rejects REALITY handshakes without an ML-KEM key share.` / `realityOpts["support-x25519mlkem768"] = true`. `docs/content/docs/en/config/reality.mdx:126-136`. Reporter's matrix: the Xray-based (v2rayNG) and independent (Shadowrocket) clients work, and every Mihomo/Clash-family client fails. Not determined: The Xray-core version on the Debian 12 server, and the Mihomo core version inside OpenClash. Checking whether the OpenClash node YAML has `support-x25519mlkem768: true` after a subscription refresh would settle whether this is the old-core case. *This reply was generated automatically. A maintainer may follow up.* <!-- claude-issue:analyst -->
Author
Owner

@shanghainese commented on GitHub (Oct 4, 2026):

I tested 3.9.0 again. Reality can be used normally with v2rayNG (26.6.27).
The latest versions of stash and clash on iOS cannot be used, but
shadowrocket can. Openclash (0.47.071) in immortalwrt 24.10.6 cannot be
used either.

On Sun, 4 Oct 2026 at 08:17, github-actions[bot] @.***>
wrote:

github-actions[bot] left a comment (MHSanaei/3x-ui#6727)
https://github.com/MHSanaei/3x-ui/issues/6727#issuecomment-5974917780

I can't say yet whether this is a bug. The report doesn't name the client
app, the error, or the Xray-core version on either server. Also, nothing in
the panel's REALITY path depends on the OS, so Ubuntu 24 versus Debian 12
by itself shouldn't change the result. I've relabelled this as a bug report
waiting for details. I also changed the title from [Feature]:3x-ui 3.9.0
fails to operate correctly with Reality nodes(1.0.0) so it describes the
problem more clearly.

What the code shows

  • Min Client Ver = 1.0.0 is passed to Xray-core as
    realitySettings.minClientVer. The panel only checks the format (
    frontend/src/lib/xray/stream-wire-normalize.ts:135,
    validateRealityClientVer). The panel's own help text (
    internal/web/translation/en-US.json:635) says 1.0.0 is only needed on
    cores v26.7.11 to v26.9.7: "On Xray-core v26.9.8+ empty means no
    minimum … Cores v26.7.11 to v26.9.7 instead enforce a built-in 26.3.27
    minimum when empty; set 1.0.0 there to accept those clients."
  • The most likely cause is the Xray-core version, not the OS.
    Xray-core v26.9.8+ also requires an X25519MLKEM768 key share in the
    REALITY handshake. Clients that don't send one fail with REALITY
    authentication failed, whatever Min Client Ver is set to. This mostly
    affects Mihomo/Clash. It's documented in
    docs/content/docs/en/config/reality.mdx:126-136. The Clash
    subscription now sets the option for REALITY nodes (
    internal/sub/clash_service.go:1186-1187):

// Xray 26.9.8+ rejects REALITY handshakes without an ML-KEM key share.realityOpts["support-x25519mlkem768"] = true

If your two servers run different Xray-core versions, or your clients
imported their profiles before this option existed, that would explain why
one server works and the other doesn't.

Please reply with:

  1. The Xray-core version on each server (Ubuntu 24 and Debian 12).
    It's shown on the panel dashboard. This is the most important detail.
  2. The client app and its version (for example v2rayN, Mihomo/Clash
    Verge, sing-box, Shadowrocket), and whether it's the same client for both
    servers.
  3. What "fails to operate correctly" means: the exact error text
    from the client, and any matching lines from the server's Xray log (via the
    x-ui menu on the server). Please paste them as text.
  4. The REALITY inbound's streamSettings JSON from the Ubuntu server,
    with privateKey removed, and the client's fingerprint setting.
  5. For Clash/Mihomo clients: does the node's YAML contain reality-opts:
    support-x25519mlkem768: true after you refresh the subscription?

Verdict: Insufficient information

Related: #6568 https://github.com/MHSanaei/3x-ui/issues/6568
(Mihomo/Clash REALITY failures on Xray-core 26.9.x caused by the ML-KEM
requirement and the empty-minClientVer gate). This isn't marked as a
duplicate because it's not yet clear which client and core version you're
using.

This reply was generated automatically. A maintainer may follow up.

—
Reply to this email directly, view it on GitHub
https://github.com/MHSanaei/3x-ui/issues/6727?email_source=notifications&email_token=AJKLZB5E7QEVRKZZNAT7FOT5SGJJFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJXGQ4TCNZXHAYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5974917780,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJKLZB5AZM7KGPAM3FHTU735SGJJFAVCNFSNUABFKJSXA33TNF2G64TZHM2TSOJXGM2TOMRQHNEXG43VMU5TKNRZGQ4DEMBXGYZKC5QC
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
https://github.com/notifications/mobile/ios/AJKLZB7MUTP5YBPZZYWIR6D5SGJJFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJXGQ4TCNZXHAYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG
and Android
https://github.com/notifications/mobile/android/AJKLZB4X55F56AOFSGCYH6D5SGJJFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJXGQ4TCNZXHAYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA.
Download it today!
You are receiving this because you authored the thread.Message ID:
@.***>

<!-- gh-comment-id:5975096731 --> @shanghainese commented on GitHub (Oct 4, 2026): I tested 3.9.0 again. Reality can be used normally with v2rayNG (26.6.27). The latest versions of stash and clash on iOS cannot be used, but shadowrocket can. Openclash (0.47.071) in immortalwrt 24.10.6 cannot be used either. On Sun, 4 Oct 2026 at 08:17, github-actions[bot] ***@***.***> wrote: > *github-actions[bot]* left a comment (MHSanaei/3x-ui#6727) > <https://github.com/MHSanaei/3x-ui/issues/6727#issuecomment-5974917780> > > I can't say yet whether this is a bug. The report doesn't name the client > app, the error, or the Xray-core version on either server. Also, nothing in > the panel's REALITY path depends on the OS, so Ubuntu 24 versus Debian 12 > by itself shouldn't change the result. I've relabelled this as a bug report > waiting for details. I also changed the title from [Feature]:3x-ui 3.9.0 > fails to operate correctly with Reality nodes(1.0.0) so it describes the > problem more clearly. > > *What the code shows* > > - *Min Client Ver = 1.0.0* is passed to Xray-core as > realitySettings.minClientVer. The panel only checks the format ( > frontend/src/lib/xray/stream-wire-normalize.ts:135, > validateRealityClientVer). The panel's own help text ( > internal/web/translation/en-US.json:635) says 1.0.0 is only needed on > cores v26.7.11 to v26.9.7: *"On Xray-core v26.9.8+ empty means no > minimum … Cores v26.7.11 to v26.9.7 instead enforce a built-in 26.3.27 > minimum when empty; set 1.0.0 there to accept those clients."* > - *The most likely cause is the Xray-core version, not the OS.* > Xray-core v26.9.8+ also requires an X25519MLKEM768 key share in the > REALITY handshake. Clients that don't send one fail with REALITY > authentication failed, whatever Min Client Ver is set to. This mostly > affects Mihomo/Clash. It's documented in > docs/content/docs/en/config/reality.mdx:126-136. The Clash > subscription now sets the option for REALITY nodes ( > internal/sub/clash_service.go:1186-1187): > > // Xray 26.9.8+ rejects REALITY handshakes without an ML-KEM key share.realityOpts["support-x25519mlkem768"] = true > > If your two servers run different Xray-core versions, or your clients > imported their profiles before this option existed, that would explain why > one server works and the other doesn't. > > *Please reply with:* > > 1. The *Xray-core version* on each server (Ubuntu 24 and Debian 12). > It's shown on the panel dashboard. This is the most important detail. > 2. The *client app and its version* (for example v2rayN, Mihomo/Clash > Verge, sing-box, Shadowrocket), and whether it's the same client for both > servers. > 3. What "fails to operate correctly" means: the *exact error text* > from the client, and any matching lines from the server's Xray log (via the > x-ui menu on the server). Please paste them as text. > 4. The REALITY inbound's streamSettings JSON from the Ubuntu server, > with privateKey removed, and the client's fingerprint setting. > 5. For Clash/Mihomo clients: does the node's YAML contain reality-opts: > support-x25519mlkem768: true after you refresh the subscription? > > Verdict: Insufficient information > > Related: #6568 <https://github.com/MHSanaei/3x-ui/issues/6568> > (Mihomo/Clash REALITY failures on Xray-core 26.9.x caused by the ML-KEM > requirement and the empty-minClientVer gate). This isn't marked as a > duplicate because it's not yet clear which client and core version you're > using. > > *This reply was generated automatically. A maintainer may follow up.* > > — > Reply to this email directly, view it on GitHub > <https://github.com/MHSanaei/3x-ui/issues/6727?email_source=notifications&email_token=AJKLZB5E7QEVRKZZNAT7FOT5SGJJFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJXGQ4TCNZXHAYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5974917780>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AJKLZB5AZM7KGPAM3FHTU735SGJJFAVCNFSNUABFKJSXA33TNF2G64TZHM2TSOJXGM2TOMRQHNEXG43VMU5TKNRZGQ4DEMBXGYZKC5QC> > . > Triage notifications, keep track of coding agent tasks and review pull > requests on the go with GitHub Mobile for iOS > <https://github.com/notifications/mobile/ios/AJKLZB7MUTP5YBPZZYWIR6D5SGJJFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJXGQ4TCNZXHAYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG> > and Android > <https://github.com/notifications/mobile/android/AJKLZB4X55F56AOFSGCYH6D5SGJJFA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJXGQ4TCNZXHAYKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>. > Download it today! > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@shanghainese commented on GitHub (Oct 4, 2026):

I conducted further tests using three VPS instances—two running Ubuntu 24 and one running Debian 12—all upgraded to version 3.9.0. While the three Reality nodes generated by 3x-ui worked perfectly in Clash on iOS, I encountered compatibility issues with OpenClash on ImmortalWrt; despite using the latest version, none of the three nodes would work within the soft router's OpenClash setup.

<!-- gh-comment-id:5976951077 --> @shanghainese commented on GitHub (Oct 4, 2026): I conducted further tests using three VPS instances—two running Ubuntu 24 and one running Debian 12—all upgraded to version 3.9.0. While the three Reality nodes generated by 3x-ui worked perfectly in Clash on iOS, I encountered compatibility issues with OpenClash on ImmortalWrt; despite using the latest version, none of the three nodes would work within the soft router's OpenClash setup.
Author
Owner

@shanghainese commented on GitHub (Oct 4, 2026):

I conducted further tests using three VPS instances—two running Ubuntu 24
and one running Debian 12—all upgraded to version 3.9.0. While the three
Reality nodes generated by 3x-ui worked perfectly in Clash on iOS, I
encountered compatibility issues with OpenClash on ImmortalWrt; despite
using the latest version, none of the three nodes would work within the
soft router's OpenClash setup.

On Sun, 4 Oct 2026 at 08:44, github-actions[bot] @.***>
wrote:

github-actions[bot] left a comment (MHSanaei/3x-ui#6727)
https://github.com/MHSanaei/3x-ui/issues/6727#issuecomment-5975094035

Thanks for testing. Your results point to a client compatibility limit,
not a 3x-ui bug. The clients that fail (Clash for iOS, Stash, OpenClash)
are all Mihomo/Clash-family clients. The ones that work (v2rayNG,
Shadowrocket) are not. That matches the REALITY handshake requirement in
Xray-core v26.9.8+, and 3x-ui 3.9.0 ships with Xray-core v26.9.30.

Why these clients fail

  • 3x-ui v3.9.0 downloads Xray-core v26.9.30 (
    .github/workflows/release.yml:118, DockerInit.sh:36).
  • Starting with v26.9.8, Xray-core rejects any REALITY handshake that
    doesn't include an X25519MLKEM768 key share. This applies whatever
    Min Client Ver is set to
    , so setting 1.0.0 can't fix it. The panel
    docs cover this in docs/content/docs/en/config/reality.mdx:126-136: "Xray-core
    v26.9.8+ independently requires an X25519MLKEM768 key share … Clearing the
    version limit alone does not fix the handshake."
  • v2rayNG is built on Xray-core and Shadowrocket uses its own TLS
    stack, so both already send that key share. Older Mihomo/Clash builds, and
    clients that don't support the option, do not.

What to try

  1. OpenClash / Clash (Mihomo core): import the node from the panel's Clash
    subscription
    again, or refresh it. Then check that the node's YAML
    contains:

reality-opts:
support-x25519mlkem768: trueclient-fingerprint: chrome

The panel adds this option for every REALITY node (
internal/sub/clash_service.go:1186-1187), and VLESS links carry the
same hint as support-x25519mlkem768=true (internal/sub/service.go:1243).
The option only has an effect if the Mihomo core inside OpenClash is
new enough to support it. If it isn't, update the core from OpenClash's
core update page. If you set a fingerprint by hand, use one that offers
ML-KEM, such as chrome.
2. Stash / Clash for iOS: these are closed-source, so I can't check
from this repository whether they can send an ML-KEM key share. If they
can't, the app vendor needs to add support.
3. Debian 12 server: if REALITY works there with the same Clash
clients, that server is most likely running an Xray-core older than
v26.9.8
. You can check the version on the panel dashboard. The OS
makes no difference: nothing in the panel's REALITY path depends on the
distribution.

Verdict: Not a bug (expected behaviour). The handshake requirement comes
from upstream Xray-core v26.9.8+, and 3x-ui already turns on the
client-side option in its Clash subscription and its links.
Severity: N/A
Confidence: Medium
Root cause: No 3x-ui defect. Xray-core ≥ v26.9.8 requires an
X25519MLKEM768 key share in the REALITY ClientHello, and the failing
Mihomo/Clash-family clients don't send one. 3x-ui 3.9.0 bundles v26.9.30.
Already fixed: Not applicable. The panel-side mitigations are already in
v3.9.0: 0a2cd78
https://github.com/MHSanaei/3x-ui/commit/0a2cd789ba11a617a910f7c4d1bdbf30883aef39 fix(sub):
enable ML-KEM for Mihomo REALITY subscriptions (#6451) and ce221c3
https://github.com/MHSanaei/3x-ui/commit/ce221c33d038a7c6c0d06c5ba013c7694d7a10a3 fix(sub):
carry REALITY ML-KEM hint in VLESS links (#6712).
Duplicate of: Related: #6568
https://github.com/MHSanaei/3x-ui/issues/6568 (same Mihomo/Clash
failure on Xray-core 26.9.x caused by the ML-KEM requirement).
Evidence: DockerInit.sh:36 and release.yml:118 pin
Xray-core/releases/download/v26.9.30.
internal/sub/clash_service.go:1186-1187: // Xray 26.9.8+ rejects REALITY
handshakes without an ML-KEM key share. / realityOpts["support-x25519mlkem768"]
= true. docs/content/docs/en/config/reality.mdx:126-136. Reporter's
matrix: the Xray-based (v2rayNG) and independent (Shadowrocket) clients
work, and every Mihomo/Clash-family client fails.
Not determined: The Xray-core version on the Debian 12 server, and the
Mihomo core version inside OpenClash. Checking whether the OpenClash node
YAML has support-x25519mlkem768: true after a subscription refresh would
settle whether this is the old-core case.

This reply was generated automatically. A maintainer may follow up.

—
Reply to this email directly, view it on GitHub
https://github.com/MHSanaei/3x-ui/issues/6727?email_source=notifications&email_token=AJKLZB3QTLUXAJWI3QHQOKD5SGMNZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJXGUYDSNBQGM22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5975094035,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJKLZB56AFBSYHQUPEQCP5T5SGMNZAVCNFSNUABFKJSXA33TNF2G64TZHM2TSOJXGM2TOMRQHNEXG43VMU5TKNRZGQ4DEMBXGYZKC5QC
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
https://github.com/notifications/mobile/ios/AJKLZBZXWR7EO3JXSNWRJ435SGMNZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJXGUYDSNBQGM22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG
and Android
https://github.com/notifications/mobile/android/AJKLZB3CYZACUG6THWQ527T5SGMNZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJXGUYDSNBQGM22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA.
Download it today!
You are receiving this because you authored the thread.Message ID:
@.***>

<!-- gh-comment-id:5976959682 --> @shanghainese commented on GitHub (Oct 4, 2026): I conducted further tests using three VPS instances—two running Ubuntu 24 and one running Debian 12—all upgraded to version 3.9.0. While the three Reality nodes generated by 3x-ui worked perfectly in Clash on iOS, I encountered compatibility issues with OpenClash on ImmortalWrt; despite using the latest version, none of the three nodes would work within the soft router's OpenClash setup. On Sun, 4 Oct 2026 at 08:44, github-actions[bot] ***@***.***> wrote: > *github-actions[bot]* left a comment (MHSanaei/3x-ui#6727) > <https://github.com/MHSanaei/3x-ui/issues/6727#issuecomment-5975094035> > > Thanks for testing. Your results point to a client compatibility limit, > not a 3x-ui bug. The clients that fail (Clash for iOS, Stash, OpenClash) > are all Mihomo/Clash-family clients. The ones that work (v2rayNG, > Shadowrocket) are not. That matches the REALITY handshake requirement in > Xray-core v26.9.8+, and 3x-ui 3.9.0 ships with Xray-core v26.9.30. > > *Why these clients fail* > > - 3x-ui v3.9.0 downloads Xray-core *v26.9.30* ( > .github/workflows/release.yml:118, DockerInit.sh:36). > - Starting with v26.9.8, Xray-core rejects any REALITY handshake that > doesn't include an X25519MLKEM768 key share. This applies *whatever > Min Client Ver is set to*, so setting 1.0.0 can't fix it. The panel > docs cover this in docs/content/docs/en/config/reality.mdx:126-136: *"Xray-core > v26.9.8+ independently requires an X25519MLKEM768 key share … Clearing the > version limit alone does not fix the handshake."* > - v2rayNG is built on Xray-core and Shadowrocket uses its own TLS > stack, so both already send that key share. Older Mihomo/Clash builds, and > clients that don't support the option, do not. > > *What to try* > > 1. *OpenClash / Clash (Mihomo core):* import the node from the panel's *Clash > subscription* again, or refresh it. Then check that the node's YAML > contains: > > reality-opts: > support-x25519mlkem768: trueclient-fingerprint: chrome > > The panel adds this option for every REALITY node ( > internal/sub/clash_service.go:1186-1187), and VLESS links carry the > same hint as support-x25519mlkem768=true (internal/sub/service.go:1243). > The option only has an effect if the *Mihomo core* inside OpenClash is > new enough to support it. If it isn't, update the core from OpenClash's > core update page. If you set a fingerprint by hand, use one that offers > ML-KEM, such as chrome. > 2. *Stash / Clash for iOS:* these are closed-source, so I can't check > from this repository whether they can send an ML-KEM key share. If they > can't, the app vendor needs to add support. > 3. *Debian 12 server:* if REALITY works there with the same Clash > clients, that server is most likely running an Xray-core *older than > v26.9.8*. You can check the version on the panel dashboard. The OS > makes no difference: nothing in the panel's REALITY path depends on the > distribution. > > Verdict: Not a bug (expected behaviour). The handshake requirement comes > from upstream Xray-core v26.9.8+, and 3x-ui already turns on the > client-side option in its Clash subscription and its links. > Severity: N/A > Confidence: Medium > Root cause: No 3x-ui defect. Xray-core ≥ v26.9.8 requires an > X25519MLKEM768 key share in the REALITY ClientHello, and the failing > Mihomo/Clash-family clients don't send one. 3x-ui 3.9.0 bundles v26.9.30. > Already fixed: Not applicable. The panel-side mitigations are already in > v3.9.0: 0a2cd78 > <https://github.com/MHSanaei/3x-ui/commit/0a2cd789ba11a617a910f7c4d1bdbf30883aef39> fix(sub): > enable ML-KEM for Mihomo REALITY subscriptions (#6451) and ce221c3 > <https://github.com/MHSanaei/3x-ui/commit/ce221c33d038a7c6c0d06c5ba013c7694d7a10a3> fix(sub): > carry REALITY ML-KEM hint in VLESS links (#6712). > Duplicate of: Related: #6568 > <https://github.com/MHSanaei/3x-ui/issues/6568> (same Mihomo/Clash > failure on Xray-core 26.9.x caused by the ML-KEM requirement). > Evidence: DockerInit.sh:36 and release.yml:118 pin > Xray-core/releases/download/v26.9.30. > internal/sub/clash_service.go:1186-1187: // Xray 26.9.8+ rejects REALITY > handshakes without an ML-KEM key share. / realityOpts["support-x25519mlkem768"] > = true. docs/content/docs/en/config/reality.mdx:126-136. Reporter's > matrix: the Xray-based (v2rayNG) and independent (Shadowrocket) clients > work, and every Mihomo/Clash-family client fails. > Not determined: The Xray-core version on the Debian 12 server, and the > Mihomo core version inside OpenClash. Checking whether the OpenClash node > YAML has support-x25519mlkem768: true after a subscription refresh would > settle whether this is the old-core case. > > *This reply was generated automatically. A maintainer may follow up.* > > — > Reply to this email directly, view it on GitHub > <https://github.com/MHSanaei/3x-ui/issues/6727?email_source=notifications&email_token=AJKLZB3QTLUXAJWI3QHQOKD5SGMNZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJXGUYDSNBQGM22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-5975094035>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AJKLZB56AFBSYHQUPEQCP5T5SGMNZAVCNFSNUABFKJSXA33TNF2G64TZHM2TSOJXGM2TOMRQHNEXG43VMU5TKNRZGQ4DEMBXGYZKC5QC> > . > Triage notifications, keep track of coding agent tasks and review pull > requests on the go with GitHub Mobile for iOS > <https://github.com/notifications/mobile/ios/AJKLZBZXWR7EO3JXSNWRJ435SGMNZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJXGUYDSNBQGM22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG> > and Android > <https://github.com/notifications/mobile/android/AJKLZB3CYZACUG6THWQ527T5SGMNZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKOJXGUYDSNBQGM22M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA>. > Download it today! > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@bemyak commented on GitHub (Oct 5, 2026):

I also experience a similar issue on NixOS host. When using XRay v26.9.9, the panel shows TCP connection count constantly at 200, even though there are no clients connected. Connection fails (e.g. via Hiddify) with Time Out even from unrestricted regions. Rolling XRay back to 26.6.27 fixed the issue.

<!-- gh-comment-id:5988837488 --> @bemyak commented on GitHub (Oct 5, 2026): I also experience a similar issue on NixOS host. When using XRay v26.9.9, the panel shows TCP connection count constantly at 200, even though there are no clients connected. Connection fails (e.g. via Hiddify) with Time Out even from unrestricted regions. Rolling XRay back to 26.6.27 fixed the issue.
Author
Owner

@shanghainese commented on GitHub (Oct 9, 2026):

After testing, I discovered that the issue arises only after the nodes undergo subscription conversion; if the node links generated by 3x-ui are imported directly into OpenClash, they work fine. They also work in Clash, v2rayNG, Shadowrocket, and v2box Pro. Thank you very much for your hard work on 3x-ui.

<!-- gh-comment-id:6078868475 --> @shanghainese commented on GitHub (Oct 9, 2026): After testing, I discovered that the issue arises only after the nodes undergo subscription conversion; if the node links generated by 3x-ui are imported directly into OpenClash, they work fine. They also work in Clash, v2rayNG, Shadowrocket, and v2box Pro. Thank you very much for your hard work on 3x-ui.
Author
Owner

@xiaowuliao commented on GitHub (Oct 22, 2026):

Was it fixed in the 3x-ui version 3.10.2 and Xray-core v26.10.10?

<!-- gh-comment-id:6340414859 --> @xiaowuliao commented on GitHub (Oct 22, 2026): Was it fixed in the 3x-ui version 3.10.2 and Xray-core v26.10.10?
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#4485
No description provided.