[GH-ISSUE #6016] [Bug]: v3.5.0 is failing to establish a connection for new installs #4166

Closed
opened 2026-10-31 20:37:39 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Gotoro on GitHub (Jul 17, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6016

Describe the bug

When I installed v3.5.0 today and applied the general VLESS XRAY REALITY config none of my clients would connect.

How to reproduce the problem

Try to configure a VLESS XRAY REALITY.

Expected behavior

I want for VPN to work. Downgrading to v3.4.2 solves the issue with the same configs.

Actual behavior

No response

Relevant logs

The logs do not produce any errors, either access.log or error.log

Screenshots

No response

3x-ui version

3.5.0

Xray-core version

No response

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 24.04

Which parts of the panel are affected?

Backend (API endpoints, login, settings)

Browser (only if it is a UI bug)

No response

Is the panel behind a reverse proxy or CDN?

No — direct access

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 @Gotoro on GitHub (Jul 17, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6016 ### Describe the bug When I installed v3.5.0 today and applied the general VLESS XRAY REALITY config none of my clients would connect. ### How to reproduce the problem Try to configure a VLESS XRAY REALITY. ### Expected behavior I want for VPN to work. Downgrading to v3.4.2 solves the issue with the same configs. ### Actual behavior _No response_ ### Relevant logs ```shell The logs do not produce any errors, either access.log or error.log ``` ### Screenshots _No response_ ### 3x-ui version 3.5.0 ### Xray-core version _No response_ ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 24.04 ### Which parts of the panel are affected? Backend (API endpoints, login, settings) ### Browser (only if it is a UI bug) _No response_ ### Is the panel behind a reverse proxy or CDN? No — direct access ### 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:37:39 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Jul 17, 2026):

This is the same root cause already confirmed and tracked in #5922 (and duplicated in #5936, #6011): a v3.4.2 → v3.5.0 update that breaks REALITY connections while a downgrade fixes it.

Confirmed independently in this repo:

  • v3.5.0 bumped the bundled Xray-core to v26.7.11 — stated in the v3.5.0 release notes ("The bundled core was bumped to xray-core v26.7.11") and in commit 814cda3f ("update xray-core to v26.7.11 and adapt panel"); go.mod here pins github.com/xtls/xray-core to the matching v1.260327.1-0.20260711155151-50231eaff98c pseudo-version.
  • The REALITY Min Client Ver field defaults to an empty string (frontend/src/schemas/protocols/security/reality.ts), and nothing in the Go backend reads or sets it — Inbound.GenXrayInboundConfig() (internal/database/model/model.go:276) writes the stored streamSettings/realitySettings straight into Xray's config; the only transform applied is StripInboundXhttpClientFields, which only strips XHTTP client-dialer fields, not REALITY settings (a repo-wide grep for minClientVer/MinClientVer in *.go returns nothing).

Per the investigation in #5922, upstream Xray-core v26.7.11 added a hardcoded default (minClientVer: 26.3.27) whenever this field is left blank — previously blank meant "accept any client version." Clients whose bundled core reports an older version now complete the REALITY handshake but get silently diverted to the fallback destination instead of the proxy: TLS succeeds, no proxy traffic, and nothing in access.log/error.log, matching "no errors in the logs" in this report exactly. This explains "new installs" too — it applies to any REALITY inbound with the field left at its default, not just upgraded ones.

Fix without downgrading the panel: in the affected inbound → Security: REALITY, set Min Client Ver to a low value such as 1.0.0 (or 0), save, and let the panel restart Xray. This restores the pre-v26.7.11 "accept any client version" behavior and is confirmed working by multiple reporters in #5922. Alternatively, keep the panel on v3.5.0 and pin Xray-core itself back to v26.6.27 from the dashboard's Xray-core version selector, instead of downgrading the whole panel.

Closing as a duplicate of #5922, where the root cause, upstream references, and workaround are tracked — please continue any further discussion there.

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

<!-- gh-comment-id:5004025747 --> @github-actions[bot] commented on GitHub (Jul 17, 2026): This is the same root cause already confirmed and tracked in #5922 (and duplicated in #5936, #6011): a v3.4.2 → v3.5.0 update that breaks REALITY connections while a downgrade fixes it. **Confirmed independently in this repo:** - v3.5.0 bumped the bundled Xray-core to `v26.7.11` — stated in the [v3.5.0 release notes](https://github.com/MHSanaei/3x-ui/releases/tag/v3.5.0) ("The bundled core was bumped to xray-core v26.7.11") and in commit `814cda3f` ("update xray-core to v26.7.11 and adapt panel"); `go.mod` here pins `github.com/xtls/xray-core` to the matching `v1.260327.1-0.20260711155151-50231eaff98c` pseudo-version. - The REALITY **Min Client Ver** field defaults to an empty string (`frontend/src/schemas/protocols/security/reality.ts`), and nothing in the Go backend reads or sets it — `Inbound.GenXrayInboundConfig()` (`internal/database/model/model.go:276`) writes the stored `streamSettings`/`realitySettings` straight into Xray's config; the only transform applied is `StripInboundXhttpClientFields`, which only strips XHTTP client-dialer fields, not REALITY settings (a repo-wide grep for `minClientVer`/`MinClientVer` in `*.go` returns nothing). Per the investigation in #5922, upstream Xray-core `v26.7.11` added a hardcoded default (`minClientVer: 26.3.27`) whenever this field is left blank — previously blank meant "accept any client version." Clients whose bundled core reports an older version now complete the REALITY handshake but get silently diverted to the fallback destination instead of the proxy: TLS succeeds, no proxy traffic, and nothing in `access.log`/`error.log`, matching "no errors in the logs" in this report exactly. This explains "new installs" too — it applies to any REALITY inbound with the field left at its default, not just upgraded ones. **Fix without downgrading the panel:** in the affected inbound → Security: REALITY, set **Min Client Ver** to a low value such as `1.0.0` (or `0`), save, and let the panel restart Xray. This restores the pre-`v26.7.11` "accept any client version" behavior and is confirmed working by multiple reporters in #5922. Alternatively, keep the panel on `v3.5.0` and pin Xray-core itself back to `v26.6.27` from the dashboard's Xray-core version selector, instead of downgrading the whole panel. Closing as a duplicate of #5922, where the root cause, upstream references, and workaround are tracked — please continue any further discussion there. *This reply was generated automatically; a maintainer may follow up.*
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#4166
No description provided.