[GH-ISSUE #6607] [Bug]: VLESS + REALITY + xtls-rprx-vision inbounds reject all client connections — persists on 3x-ui v3.8.5 (Xray-core v26.9.9) #4420

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

Originally created by @mraliien on GitHub (Sep 19, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6607

Describe the bug

After upgrading 3X-UI to v3.8.0 (bundled Xray-core v26.9.9), all inbounds using security: reality with xtls-rprx-vision flow stopped accepting genuine client connections. Inbounds on the same server using security: tls (same flow) continue to work normally. Upgraded further to v3.8.5 to check for a fix — issue is still present, unchanged, since v3.8.5 still bundles the same Xray-core v26.9.9. No fatal errors or panics appear in logs; the service reports healthy and Xray is listening on all affected ports.

How to reproduce the problem

  1. Run 3X-UI with multiple VLESS inbounds — some on security: tls, some on security: reality (xtls-rprx-vision flow, various SNI/shortId/target configs)
  2. Upgrade to 3X-UI v3.8.0 (Xray-core v26.9.9)
  3. Restart Xray
  4. Connect using a real client (v2rayNG / NekoBox / sing-box) to any REALITY inbound
  5. Connection/ping fails; TLS inbounds on the same host remain functional
  6. Upgrade further to 3X-UI v3.8.5 — issue persists identically, since Xray-core version is unchanged

Expected behavior

REALITY inbounds should accept valid client connections, exactly as before the v3.8.0 upgrade.

Actual behavior

Client-side: connection/ping still fails on v3.8.5, identical symptom as v3.8.0.
Server-side: no fatal errors or panics; systemctl status shows active/running; ss -tlnp confirms all REALITY ports in LISTEN state; REALITY target domains (e.g. aws.amazon.com) are reachable directly from the server via curl.
Regenerating REALITY key pairs (private key + shortIds) does not resolve the issue.
Downgrading Xray-core to v26.6.27 resolves the issue immediately with the same config — this remains the only working workaround as of v3.8.5.

Relevant logs

WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports will increase the likelihood of your server's IP being blocked by the GFW
WARNING - XRAY: infra/conf: REALITY: Choosing "<target>" as the target will increase the likelihood of your server's IP being blocked by the GFW

Screenshots

Related to #5943, which reports the same symptom on an earlier Xray-core version. Confirmed the regression is still unresolved as of the latest 3X-UI release (v3.8.5) and latest bundled Xray-core (v26.9.9) — appears to be an upstream Xray-core REALITY handshake validation bug, not something 3X-UI can fix independently unless the bundled core version is pinned back.

3x-ui version

3.8.5 (also confirmed present on 3.8.0)

Xray-core version

26.9.9

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 24.04.4

Which parts of the panel are affected?

Other, Multi-node (sub-nodes)

Browser (only if it is a UI bug)

Inbounds (VLESS/REALITY)

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 @mraliien on GitHub (Sep 19, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6607 ### Describe the bug After upgrading 3X-UI to v3.8.0 (bundled Xray-core v26.9.9), all inbounds using security: reality with xtls-rprx-vision flow stopped accepting genuine client connections. Inbounds on the same server using security: tls (same flow) continue to work normally. Upgraded further to v3.8.5 to check for a fix — issue is still present, unchanged, since v3.8.5 still bundles the same Xray-core v26.9.9. No fatal errors or panics appear in logs; the service reports healthy and Xray is listening on all affected ports. ### How to reproduce the problem 1. Run 3X-UI with multiple VLESS inbounds — some on security: tls, some on security: reality (xtls-rprx-vision flow, various SNI/shortId/target configs) 2. Upgrade to 3X-UI v3.8.0 (Xray-core v26.9.9) 3. Restart Xray 4. Connect using a real client (v2rayNG / NekoBox / sing-box) to any REALITY inbound 5. Connection/ping fails; TLS inbounds on the same host remain functional 6. Upgrade further to 3X-UI v3.8.5 — issue persists identically, since Xray-core version is unchanged ### Expected behavior REALITY inbounds should accept valid client connections, exactly as before the v3.8.0 upgrade. ### Actual behavior Client-side: connection/ping still fails on v3.8.5, identical symptom as v3.8.0. Server-side: no fatal errors or panics; systemctl status shows active/running; ss -tlnp confirms all REALITY ports in LISTEN state; REALITY target domains (e.g. aws.amazon.com) are reachable directly from the server via curl. Regenerating REALITY key pairs (private key + shortIds) does not resolve the issue. Downgrading Xray-core to v26.6.27 resolves the issue immediately with the same config — this remains the only working workaround as of v3.8.5. ### Relevant logs ```shell WARNING - XRAY: infra/conf: REALITY: Listening on non-443 ports will increase the likelihood of your server's IP being blocked by the GFW WARNING - XRAY: infra/conf: REALITY: Choosing "<target>" as the target will increase the likelihood of your server's IP being blocked by the GFW ``` ### Screenshots Related to #5943, which reports the same symptom on an earlier Xray-core version. Confirmed the regression is still unresolved as of the latest 3X-UI release (v3.8.5) and latest bundled Xray-core (v26.9.9) — appears to be an upstream Xray-core REALITY handshake validation bug, not something 3X-UI can fix independently unless the bundled core version is pinned back. ### 3x-ui version 3.8.5 (also confirmed present on 3.8.0) ### Xray-core version 26.9.9 ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 24.04.4 ### Which parts of the panel are affected? Other, Multi-node (sub-nodes) ### Browser (only if it is a UI bug) Inbounds (VLESS/REALITY) ### 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:33 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@realcwj commented on GitHub (Sep 21, 2026):

After confirming that all configurations were valid in 3x-ui version 3.7.0, I updated to 3x-ui version 3.8.5. With the same configuration:
Xray-core 26.9.9 → FAIL
Xray-core 26.9.8 → FAIL
Xray-core 26.7.28 → PASS

🤔 So I think the issue likely comes down to:
Xray-core v26.9.8+ independently requires an X25519MLKEM768 key share before the optional X25519 share.

<!-- gh-comment-id:5754852845 --> @realcwj commented on GitHub (Sep 21, 2026): After confirming that all configurations were valid in 3x-ui version 3.7.0, I updated to 3x-ui version 3.8.5. With the same configuration: Xray-core 26.9.9 → FAIL Xray-core 26.9.8 → FAIL Xray-core 26.7.28 → PASS 🤔 So I think the issue likely comes down to: [Xray-core v26.9.8+ independently requires an X25519MLKEM768 key share before the optional X25519 share.](https://github.com/MHSanaei/3x-ui/blob/main/docs/content/docs/en/config/reality.mdx?utm_source=chatgpt.com#common-pitfalls)
Author
Owner

@hidjmax commented on GitHub (Sep 21, 2026):

I reproduced the bug on 5 nodes and 3 clients. Downgrading 3x-ui to version 3.7.0 fixed the issue.

<!-- gh-comment-id:5761442185 --> @hidjmax commented on GitHub (Sep 21, 2026): I reproduced the bug on 5 nodes and 3 clients. Downgrading 3x-ui to version 3.7.0 fixed the issue.
Author
Owner

@yogrr commented on GitHub (Sep 21, 2026):

I confirm that 3.7.0 version works well. Newer versions of x-ui are going to reject connection from clients

<!-- gh-comment-id:5765050258 --> @yogrr commented on GitHub (Sep 21, 2026): I confirm that 3.7.0 version works well. Newer versions of x-ui are going to reject connection from clients
Author
Owner

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

I found that even when using 3x-ui versions 3.8.5 and 3.8.0 with Xray-Core v26.7.28, there are still issues, such as:
REALITY: received real certificate (potential MITM or redirection)

In Xray-Core v26.9.9 (regardless of the 3x-ui version), it shows:
REALITY authentication failed

The solution is to back up and directly roll back to 3x-ui version 3.7.0.

<!-- gh-comment-id:5772606985 --> @xiaowuliao commented on GitHub (Sep 22, 2026): I found that even when using 3x-ui versions 3.8.5 and 3.8.0 with Xray-Core v26.7.28, there are still issues, such as: REALITY: received real certificate (potential MITM or redirection) In Xray-Core v26.9.9 (regardless of the 3x-ui version), it shows: REALITY authentication failed The solution is to back up and directly roll back to 3x-ui version 3.7.0.
Author
Owner

@vskllee commented on GitHub (Sep 22, 2026):

I’m never upgrading recklessly again — I’ve learned my lesson!

This was basically a widespread incident. I was pretty free at first, but after the upgrade caused problems, I ended up spending a ton of time troubleshooting and figuring out what went wrong. In the end, I had no choice but to roll back to the old version.

<!-- gh-comment-id:5776904762 --> @vskllee commented on GitHub (Sep 22, 2026): I’m never upgrading recklessly again — I’ve learned my lesson! This was basically a widespread incident. I was pretty free at first, but after the upgrade caused problems, I ended up spending a ton of time troubleshooting and figuring out what went wrong. In the end, I had no choice but to roll back to the old version.
Author
Owner

@TJT-JTJ commented on GitHub (Sep 25, 2026):

After several hours of troubleshooting, I can also begrudgingly confirm this bug.

<!-- gh-comment-id:5831473229 --> @TJT-JTJ commented on GitHub (Sep 25, 2026): After several hours of troubleshooting, I can also begrudgingly confirm this bug.
Author
Owner

@troykhoh commented on GitHub (Sep 26, 2026):

我也发现了这个问题。 3x-ui 3.8.5 使用默认的 xray 26.9.9 所有VLESS + REALITY + xtls-rprx-vision 都无法连通。直接将xray版本降到了 26.6.27,就恢复了。应该是,xray新版本,做了 [X25519 共享之前共享 X25519MLKEM768 密钥] 或许还有其它对客户端的新增要求

在确认所有配置在 3x-ui 版本 3.7.0 中均有效后,我升级到了 3x-ui 版本 3.8.5。使用相同的配置: Xray-core 26.9.9 → 失败; Xray-core 26.9.8 → 失败; Xray-core 26.7.28 → 通过

🤔 所以我认为问题可能在于: Xray-core v26.9.8+ 独立地要求在可选的 X25519 共享之前共享 X25519MLKEM768 密钥。

<!-- gh-comment-id:5842777387 --> @troykhoh commented on GitHub (Sep 26, 2026): 我也发现了这个问题。 3x-ui 3.8.5 使用默认的 xray 26.9.9 所有VLESS + REALITY + xtls-rprx-vision 都无法连通。直接将xray版本降到了 26.6.27,就恢复了。应该是,xray新版本,做了 [X25519 共享之前共享 X25519MLKEM768 密钥] 或许还有其它对客户端的新增要求 > 在确认所有配置在 3x-ui 版本 3.7.0 中均有效后,我升级到了 3x-ui 版本 3.8.5。使用相同的配置: Xray-core 26.9.9 → 失败; Xray-core 26.9.8 → 失败; Xray-core 26.7.28 → 通过 > > 🤔 所以我认为问题可能在于: [Xray-core v26.9.8+ 独立地要求在可选的 X25519 共享之前共享 X25519MLKEM768 密钥。](https://github.com/MHSanaei/3x-ui/blob/main/docs/content/docs/en/config/reality.mdx?utm_source=chatgpt.com#common-pitfalls)
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#4420
No description provided.