Xray-core icon indicating copy to clipboard operation
Xray-core copied to clipboard

XHTTP + REALITY stops working after upgrading v26.6.27 → v26.7.11

Open alikoleini opened this issue 4 months ago • 27 comments

VLESS + XHTTP + REALITY inbound works fine on v26.6.27. After upgrading to v26.7.11 with the exact same config, clients can no longer connect. Downgrading back to v26.6.27 immediately fixes it.

alikoleini avatar Jul 12 '26 14:07 alikoleini

https://github.com/XTLS/Xray-core/commit/af7eb68028732a8ee3c0e5d6ab2b8a657bb2e770 happy days 不过限制到三点几有点太狠了 上次utls出漏洞的版本几来着?

Fangliding avatar Jul 12 '26 14:07 Fangliding

same issue here.

naico-wang avatar Jul 13 '26 02:07 naico-wang

@Fangliding 这个能告知一下是哪里配置的问题么?就是连不上,感谢

naico-wang avatar Jul 13 '26 04:07 naico-wang

https://xtls.github.io/config/transports/reality.html minClientVer 改成1.0.0啥的

Fangliding avatar Jul 13 '26 04:07 Fangliding

same problem.

EuraGoods avatar Jul 13 '26 08:07 EuraGoods

https://xtls.github.io/config/transports/reality.html minClientVer 改成1.0.0啥的

解决了,还得是你啊,优秀

naico-wang avatar Jul 13 '26 08:07 naico-wang

https://xtls.github.io/config/transports/reality.html minClientVer 改成1.0.0啥的

解决了,还得是你啊,优秀

  "privateKey": "脱敏处理",
  "minClientVer": "1.0.0",  //这里这样改?
  "maxClientVer": "",
  "maxTimediff": 0,
  "shortIds": [
    "脱敏处理"

EuraGoods avatar Jul 13 '26 10:07 EuraGoods

https://xtls.github.io/config/transports/reality.html minClientVer 改成1.0.0啥的

解决了,还得是你啊,优秀

Not solved problem for me.

papka1974 avatar Jul 13 '26 13:07 papka1974

@UbiVPN Set the min client version to 1.0.0

Raymond520888 avatar Jul 14 '26 09:07 Raymond520888

Additional confirmation from Shadowrocket clients:

  • Reproduced on three independent VPS instances in different regions/providers after upgrading to 3x-ui 3.5.0 / Xray-core 26.7.11.
  • Existing inbounds use VLESS + REALITY + xtls-rprx-vision; the tested transports include TCP and XHTTP.
  • Shadowrocket 2.2.90 on iOS and macOS could still sometimes show a latency value, but real proxy traffic failed. The client log showed: backend vless <redacted>: read error => -4
  • The exact same unchanged nodes continued to work with v2rayN on Windows and macOS.
  • UUID, REALITY keys, short ID, SNI, ports, subscription links, panel database, and generated config were not changed.
  • Keeping 3x-ui 3.5.0 and replacing only the server-side Xray binary with official 26.6.27 immediately restored Shadowrocket on all three servers.

This confirms that the 26.7.11 behavior also affects Shadowrocket and is not limited to one VPS, provider, platform, or XHTTP-only setups.

Please consider either preserving the previous behavior when minClientVer is unset, or prominently documenting this as a breaking compatibility change. A silent fallback/timeout makes it look like a network, REALITY key, or client configuration failure.

z1911399337-collab avatar Jul 14 '26 15:07 z1911399337-collab

@z1911399337-collab

Raymond520888 avatar Jul 14 '26 15:07 Raymond520888

Image

lipenghui avatar Jul 14 '26 16:07 lipenghui

Edit inbound, find security-reality, and set the min client version to 1.0.0 ---- Replied Message ---- @.>Date07/15/2026 03:50 @.> @.>, @.>SubjectRe: [XTLS/Xray-core] XHTTP + REALITY stops working after upgrading v26.6.27 → v26.7.11 (Issue #6482) SeFeRus left a comment (XTLS/Xray-core#6482) Same VPS, same client v2raytun, same VLESS REALITY TCP config. Xray 26.6.27 works. Xray 26.7.11 fails. New clean REALITY inbound also fails. TCP handshake reaches server — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today! You are receiving this because you commented.Message ID: @.***>

Raymond520888 avatar Jul 15 '26 03:07 Raymond520888

Additional confirmation from another 3x-ui / Shadowrocket setup:

Environment:

  • 3x-ui: v3.5.0
  • Bundled Xray-core after upgrade: v26.7.11
  • Server OS: Debian 12, amd64
  • Inbound: VLESS + TCP + REALITY
  • Flow: xtls-rprx-vision for all clients
  • REALITY minClientVer/maxClientVer: unset / empty
  • Clients affected: Shadowrocket on iOS and macOS
  • Android clients continued to work with the same node/subscription

Observed behavior:

  • The node started normally and listened on the expected port.
  • 3x-ui and Xray logs did not show an obvious startup/config error.
  • Shadowrocket could connect or appear partially connected, but real traffic failed or became unusable after the upgrade.
  • Google/X traffic failed from Shadowrocket after the upgrade.
  • The same server-side config worked when tested with Xray locally, so the failure looked like a compatibility regression with Shadowrocket clients rather than a basic network/firewall problem.

Workaround that immediately restored service:

  • Keep 3x-ui at v3.5.0.
  • Replace only the server-side Xray binary from v26.7.11 back to official v26.5.9.
  • Keep the same database, inbound, UUIDs, REALITY keys, shortIds, SNI, port, and subscription URL.

After downgrading only Xray-core to v26.5.9, Shadowrocket on iOS/macOS worked again.

This seems consistent with the reports above: v26.7.11 introduces a behavior change that can break Shadowrocket + VLESS REALITY clients when REALITY minClientVer is unset/empty. It would be helpful if this breaking behavior could either be made backward compatible, or documented very prominently so panel projects such as 3x-ui can warn users before shipping v26.7.11 as the bundled core.

aardenye avatar Jul 16 '26 01:07 aardenye

https://github.com/XTLS/Xray-core/pull/6507#issuecomment-4995449807

RPRX avatar Jul 16 '26 18:07 RPRX

af7eb68 happy days 不过限制到三点几有点太狠了 上次utls出漏洞的版本几来着?

~~我都没看,纯粹是因为 v26.3.27 不小心 latest 了那么久,绝大多数人早就升级了,版本基数最大~~

~~并且它的 Firefox 和 Safari 指纹刚好也抗量子了,虽然 FF 的可能有问题 https://github.com/refraction-networking/utls/pull/391 ,需要测一下第一个连接有没有 35 45~~

RPRX avatar Jul 16 '26 19:07 RPRX

I'm also affected by this issue, but with slightly different versions.

Environment:

  • Panel: 3x-ui v3.4.2 (not v3.5.0)
  • Xray-core: v26.6.27 (I never upgraded to v26.7.11)
  • Inbound: VLESS + TCP + REALITY with xtls-rprx-vision
  • REALITY minClientVer / maxClientVer: unset / empty
  • Clients affected: Shadowrocket 2.2.90 on both iOS and macOS
  • Clients not affected: Shadowrocket 2.2.88 on macOS; V2BOX on iOS works perfectly with the exact same server config
  • Server OS: Ubuntu, amd64

Observed behavior:

  • After updating Shadowrocket from 2.2.88 to 2.2.90, connections became unstable.
  • VPN connection often fails on the first attempt, requiring multiple retries.
  • Subscription updates frequently fail with a TLS handshake error (especially on Tele2 mobile network in Russia).
  • Sometimes the client shows latency (ping) but real traffic does not pass through.
  • The exact same server config works fine with Shadowrocket 2.2.88 on another Mac, and with V2BOX on iOS.

Additional context:

  • I also confirmed this with a friend who has the same setup (Shadowrocket 2.2.90 on Mac and iPhone) — he experiences identical issues.
  • This strongly suggests that the compatibility regression is not limited to Xray-core 26.7.11. It appears that Shadowrocket 2.2.90 introduced changes (especially to TLS ClientHello fingerprinting) that break compatibility even with Xray-core 26.6.27 when using VLESS + REALITY.
  • The patch notes for Shadowrocket 2.2.90 mention "TLS ClientHello fingerprinting support and profile selection UI", which likely changed how the client presents its TLS fingerprint, making it more detectable by DPI systems or introducing a mismatch with the server-side Reality implementation.

Workaround that works for me:

  • Downgrade Shadowrocket to 2.2.88 on macOS, and use V2BOX on iOS as a temporary replacement.

Please consider investigating whether the changes in Shadowrocket 2.2.90 (TLS fingerprinting) could be causing this incompatibility with VLESS + REALITY, even on Xray-core 26.6.27. This appears to be a client-side regression, not just a server-side one.

Let me know if you need any logs, packet captures, or additional details.

Lukavskiy avatar Jul 23 '26 16:07 Lukavskiy

You can use happ or incy client alternatives ---- 回复的原邮件 ---- @.>发送日期2026年07月24日 00:09 @.> @.>, @.>主题Re: [XTLS/Xray-core] XHTTP + REALITY stops working after upgrading v26.6.27 → v26.7.11 (Issue #6482) Lukavskiy left a comment (XTLS/Xray-core#6482) I'm also affected by this issue, but with slightly different versions. Environment: Panel: 3x-ui v3.4.2 (not v3.5.0) Xray-core: v26.6.27 (I never upgraded to v26.7.11) Inbound: VLESS + TCP + REALITY with xtls-rprx-vision REALITY minClientVer / maxClientVer: unset / empty Clients affected: Shadowrocket 2.2.90 on both iOS and macOS Clients not affected: Shadowrocket 2.2.88 on macOS; V2BOX on iOS works perfectly with the exact same server config Server OS: Ubuntu, amd64 Observed behavior: After updating Shadowrocket from 2.2.88 to 2.2.90, connections became unstable. VPN connection often fails on the first attempt, requiring multiple retries. Subscription updates frequently fail with a TLS handshake error (especially on Tele2 mobile network in Russia). Sometimes the client shows latency (ping) but real traffic does not pass through. The exact same server config works fine with Shadowrocket 2.2.88 on another Mac, and with V2BOX on iOS. Additional context: I also confirmed this with a friend who has the same setup (Shadowrocket 2.2.90 on Mac and iPhone) — he experiences identical issues. This strongly suggests that the compatibility regression is not limited to Xray-core 26.7.11. It appears that Shadowrocket 2.2.90 introduced changes (especially to TLS ClientHello fingerprinting) that break compatibility even with Xray-core 26.6.27 when using VLESS + REALITY. The patch notes for Shadowrocket 2.2.90 mention "TLS ClientHello fingerprinting support and profile selection UI", which likely changed how the client presents its TLS fingerprint, making it more detectable by DPI systems or introducing a mismatch with the server-side Reality implementation. Workaround that works for me: Downgrade Shadowrocket to 2.2.88 on macOS, and use V2BOX on iOS as a temporary replacement. Please consider investigating whether the changes in Shadowrocket 2.2.90 (TLS fingerprinting) could be causing this incompatibility with VLESS + REALITY, even on Xray-core 26.6.27. This appears to be a client-side regression, not just a server-side one. Let me know if you need any logs, packet captures, or additional details. — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today! You are receiving this because you commented.Message ID: @.***>

Raymond520888 avatar Jul 23 '26 16:07 Raymond520888

There are also ios and mac ends ---- 回复的原邮件 ---- @.>发送日期2026年07月24日 00:09 @.> @.>, @.>主题Re: [XTLS/Xray-core] XHTTP + REALITY stops working after upgrading v26.6.27 → v26.7.11 (Issue #6482) Lukavskiy left a comment (XTLS/Xray-core#6482) I'm also affected by this issue, but with slightly different versions. Environment: Panel: 3x-ui v3.4.2 (not v3.5.0) Xray-core: v26.6.27 (I never upgraded to v26.7.11) Inbound: VLESS + TCP + REALITY with xtls-rprx-vision REALITY minClientVer / maxClientVer: unset / empty Clients affected: Shadowrocket 2.2.90 on both iOS and macOS Clients not affected: Shadowrocket 2.2.88 on macOS; V2BOX on iOS works perfectly with the exact same server config Server OS: Ubuntu, amd64 Observed behavior: After updating Shadowrocket from 2.2.88 to 2.2.90, connections became unstable. VPN connection often fails on the first attempt, requiring multiple retries. Subscription updates frequently fail with a TLS handshake error (especially on Tele2 mobile network in Russia). Sometimes the client shows latency (ping) but real traffic does not pass through. The exact same server config works fine with Shadowrocket 2.2.88 on another Mac, and with V2BOX on iOS. Additional context: I also confirmed this with a friend who has the same setup (Shadowrocket 2.2.90 on Mac and iPhone) — he experiences identical issues. This strongly suggests that the compatibility regression is not limited to Xray-core 26.7.11. It appears that Shadowrocket 2.2.90 introduced changes (especially to TLS ClientHello fingerprinting) that break compatibility even with Xray-core 26.6.27 when using VLESS + REALITY. The patch notes for Shadowrocket 2.2.90 mention "TLS ClientHello fingerprinting support and profile selection UI", which likely changed how the client presents its TLS fingerprint, making it more detectable by DPI systems or introducing a mismatch with the server-side Reality implementation. Workaround that works for me: Downgrade Shadowrocket to 2.2.88 on macOS, and use V2BOX on iOS as a temporary replacement. Please consider investigating whether the changes in Shadowrocket 2.2.90 (TLS fingerprinting) could be causing this incompatibility with VLESS + REALITY, even on Xray-core 26.6.27. This appears to be a client-side regression, not just a server-side one. Let me know if you need any logs, packet captures, or additional details. — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today! You are receiving this because you commented.Message ID: @.***>

Raymond520888 avatar Jul 23 '26 16:07 Raymond520888

Yes, I've already tried INCY. But the problem is that it doesn't work on MacOS at the moment. If I could roll back the app version on my second Mac, I would do so. We're waiting for a fix from 3x-ui or shadowrocket. PS I've updated the panel to 3.5.0, but it hasn't resolved the TLS issue.

Lukavskiy avatar Jul 23 '26 16:07 Lukavskiy