[GH-ISSUE #6024] [Question]: #4173

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

Originally created by @wx339038-lang on GitHub (Jul 18, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6024

What are you trying to do?

I updated my 3X-UI panel from version 3.31 to 3.5 just now. My pre-configured proxy nodes stopped working on Shadowrocket, yet they function normally on V2rayN. The node adopts the configuration of VLESS + TCP + Reality + xtls-rprx-vision, with an outbound proxy IP added.

What have you already tried?

I tried resetting the outbound rules and retested the outbound latency, all of which were normal. Then I reimported the nodes into Shadowrocket, yet they still failed to work. I downgraded 3xui back to version 3.3.1, after which all nodes functioned properly without any other adjustments made.

3x-ui version

3.5

How did you install 3x-ui?

Docker / Docker Compose

Operating system

Ubuntu 26.04 x86_64

Screenshots or config snippets

No response

Before submitting

  • I read the Wiki and searched existing issues.
  • This is a usage question, not a bug report.
  • This question is written in English.
Originally created by @wx339038-lang on GitHub (Jul 18, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6024 ### What are you trying to do? I updated my 3X-UI panel from version 3.31 to 3.5 just now. My pre-configured proxy nodes stopped working on Shadowrocket, yet they function normally on V2rayN. The node adopts the configuration of VLESS + TCP + Reality + xtls-rprx-vision, with an outbound proxy IP added. ### What have you already tried? I tried resetting the outbound rules and retested the outbound latency, all of which were normal. Then I reimported the nodes into Shadowrocket, yet they still failed to work. I downgraded 3xui back to version 3.3.1, after which all nodes functioned properly without any other adjustments made. ### 3x-ui version 3.5 ### How did you install 3x-ui? Docker / Docker Compose ### Operating system Ubuntu 26.04 x86_64 ### Screenshots or config snippets _No response_ ### Before submitting - [x] I read the [Wiki](https://github.com/MHSanaei/3x-ui/wiki) and searched [existing issues](../issues?q=is%3Aissue). - [x] This is a usage question, not a bug report. - [x] This question is written in English.
bsakaguchi 2026-10-31 20:37:43 +07:00
Author
Owner

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

Same root cause as #5922 (closed as an upstream Xray-core behavior change, not a 3x-ui defect) and already reported separately in #5986 and #6011. Closing as a duplicate so discussion stays in one place — please add any new findings there.

Root cause, confirmed against the source:

  • go.mod:24 pins the bundled Xray-core for v3.5.0 at pseudo-version v1.260327.1-0.20260711155151-50231eaff98c (dated 2026-07-11 — the v26.7.11 tag). v3.3.1's go.mod pins v1.260327.1-0.20260601021109-94ffd50060f1 (dated 2026-06-01) — well before the change below, which is why downgrading to 3.3.1 fixed it for you.
  • Upstream commit af7eb68028, shipped in v26.7.11, made REALITY apply a hardcoded minClientVer: 26.3.27 floor whenever that field is left blank. Previously, blank meant "accept any client core version."
  • 3x-ui never sets or defaults minClientVer itself. It's only the "Min Client Ver" field in the REALITY form (frontend/src/pages/inbounds/form/security/reality.tsx:127-130), which defaults to an empty string (frontend/src/schemas/protocols/security/reality.ts:61), and Inbound.GenXrayInboundConfig() (internal/database/model/model.go:275-309) writes streamSettings straight into Xray's config unchanged — nothing there touches minClientVer. This is a REALITY-layer check, so it applies to any transport (raw TCP included, not just XHTTP).
  • Net effect: every pre-existing REALITY inbound with the field left blank is now subject to that floor. A client core reporting a version below 26.3.27 still completes the REALITY handshake (hence your outbound/latency test looking normal) but is then silently diverted to the fallback destination instead of your VLESS layer. This matches "works on V2rayN, fails on Shadowrocket" — client cores below the floor get quietly dropped, cores at or above it don't.

Fix, without reverting the panel:

  1. Open the affected inbound → Security: REALITY → set Min Client Ver to 0 (or 1.0.0) → Save, and let the panel restart Xray. This restores "accept any client version" and is confirmed working by multiple reporters in #5922.
  2. Or leave the field as-is and pin Xray-core back to v26.6.27 from Dashboard → Xray-core version selector (POST /panel/api/server/installXray/:version, internal/web/controller/server.go:70) — the picker lists any version >= v26.6.27 (internal/web/service/server.go:829), so no manual binary replacement is needed.

Please continue any further discussion in #5922.

This reply was generated automatically by an AI agent. A maintainer may follow up.

<!-- gh-comment-id:5009653562 --> @github-actions[bot] commented on GitHub (Jul 18, 2026): Same root cause as #5922 (closed as an upstream Xray-core behavior change, not a 3x-ui defect) and already reported separately in #5986 and #6011. Closing as a duplicate so discussion stays in one place — please add any new findings there. **Root cause, confirmed against the source:** - `go.mod:24` pins the bundled Xray-core for `v3.5.0` at pseudo-version `v1.260327.1-0.20260711155151-50231eaff98c` (dated 2026-07-11 — the `v26.7.11` tag). `v3.3.1`'s `go.mod` pins `v1.260327.1-0.20260601021109-94ffd50060f1` (dated 2026-06-01) — well before the change below, which is why downgrading to `3.3.1` fixed it for you. - Upstream commit [`af7eb68028`](https://github.com/XTLS/Xray-core/commit/af7eb68028732a8ee3c0e5d6ab2b8a657bb2e770), shipped in `v26.7.11`, made REALITY apply a hardcoded `minClientVer: 26.3.27` floor whenever that field is left blank. Previously, blank meant "accept any client core version." - 3x-ui never sets or defaults `minClientVer` itself. It's only the "Min Client Ver" field in the REALITY form (`frontend/src/pages/inbounds/form/security/reality.tsx:127-130`), which defaults to an empty string (`frontend/src/schemas/protocols/security/reality.ts:61`), and `Inbound.GenXrayInboundConfig()` (`internal/database/model/model.go:275-309`) writes `streamSettings` straight into Xray's config unchanged — nothing there touches `minClientVer`. This is a REALITY-layer check, so it applies to any transport (raw TCP included, not just XHTTP). - Net effect: every pre-existing REALITY inbound with the field left blank is now subject to that floor. A client core reporting a version below `26.3.27` still completes the REALITY handshake (hence your outbound/latency test looking normal) but is then silently diverted to the fallback destination instead of your VLESS layer. This matches "works on V2rayN, fails on Shadowrocket" — client cores below the floor get quietly dropped, cores at or above it don't. **Fix, without reverting the panel:** 1. Open the affected inbound → Security: REALITY → set **Min Client Ver** to `0` (or `1.0.0`) → Save, and let the panel restart Xray. This restores "accept any client version" and is confirmed working by multiple reporters in #5922. 2. Or leave the field as-is and pin Xray-core back to `v26.6.27` from Dashboard → Xray-core version selector (`POST /panel/api/server/installXray/:version`, `internal/web/controller/server.go:70`) — the picker lists any version `>= v26.6.27` (`internal/web/service/server.go:829`), so no manual binary replacement is needed. Please continue any further discussion in #5922. *This reply was generated automatically by an AI agent. 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#4173
No description provided.