mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #6125] [MERGED] fix(ui): explain the REALITY client version gate and drop the impossible placeholder #6086
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#6086
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/6125
Author: @PathGao
Created: 7/28/2026
Status: ✅ Merged
Merged: 7/28/2026
Merged by: @MHSanaei
Base:
main← Head:docs-reality-min-client-ver📝 Commits (3)
2508431fix(ui): explain the REALITY client version gate and drop the impossible placeholder9765951docs(reality): warn that an empty min client version rejects old cores01cc6d6fix(ui): word the version hints against the effective minimum📊 Changes
18 files changed (+52 additions, -1 deletions)
View changed files
📝
docs/content/docs/en/config/reality.mdx(+7 -0)📝
docs/content/docs/fa/config/reality.mdx(+7 -0)📝
docs/content/docs/ru/config/reality.mdx(+8 -0)📝
docs/content/docs/zh/config/reality.mdx(+1 -0)📝
frontend/src/pages/inbounds/form/security/reality.tsx(+3 -1)📝
internal/web/translation/ar-EG.json(+2 -0)📝
internal/web/translation/en-US.json(+2 -0)📝
internal/web/translation/es-ES.json(+2 -0)📝
internal/web/translation/fa-IR.json(+2 -0)📝
internal/web/translation/id-ID.json(+2 -0)📝
internal/web/translation/ja-JP.json(+2 -0)📝
internal/web/translation/pt-BR.json(+2 -0)📝
internal/web/translation/ru-RU.json(+2 -0)📝
internal/web/translation/tr-TR.json(+2 -0)📝
internal/web/translation/uk-UA.json(+2 -0)📝
internal/web/translation/vi-VN.json(+2 -0)📝
internal/web/translation/zh-CN.json(+2 -0)📝
internal/web/translation/zh-TW.json(+2 -0)📄 Description
Summary
Surface the hidden REALITY client-version gate in the panel: add tooltips to Min Client Ver / Max Client Ver explaining that an empty minimum is not "no limit", remove the impossible
25.9.11placeholder from Max Client Ver, and add the pitfall to the REALITY docs in all four languages.Why
When
minClientVeris left empty, 3x-ui passes it through untouched — and Xray-core then falls back to a hardcoded built-in minimum (infra/conf/transport_security.go, currently26.3.27):Third-party cores such as Mihomo and sing-box report versions far below that, so they fail REALITY verification even with a perfectly correct config. The user-visible symptom is timeouts in those apps while Xray-core based clients connect fine — and nothing in the panel or docs points at this field. (Real case: Hiddify/sing-box and Clash/mihomo both timing out against a fresh REALITY inbound; setting Min Client Ver to
1.0.0immediately fixed both.) Upstream considers the gate intentional TLS-fingerprint-freshness protection (XTLS/Xray-core#6477 was closed as not planned), so this PR deliberately does not change any default behavior — it only makes the gate visible and explains the trade-off of lowering it.Separately, the Max Client Ver placeholder was
25.9.11, which is below the built-in minimum26.3.27shown next to it. A user who fills in both placeholders as written gets a version range that rejects every client. It looks like a stale example from before the 26.x gate was introduced. Since an empty max genuinely means "no upper limit", the placeholder is removed rather than replaced.Type of change
Areas affected
How was this tested?
go run .+ built frontend): opened Add Inbound → Security → Reality, hovered both tooltip icons — the hint text renders correctly, the Min Client Ver placeholder still shows26.3.27, and the Max Client Ver placeholder is gone (verified via DOM:input.placeholder === "").minClientVerHint/maxClientVerHintkeys were added to all 13 locale files; a script asserted key presence and JSON validity across every file.make verifypasses locally (gen diff clean, golangci-lint, Go tests, frontend lint/typecheck/tests/build, storybook build).frontend/src/generatedandopenapi.jsonare untouched.Screenshots / recordings
The only visible changes are a question-circle tooltip icon next to both version fields (hover shows the explanation) and the removed Max Client Ver placeholder. Happy to attach a screenshot on request.
Breaking changes
None.
Behavior notes for reviewers:
26.3.27) because that is what users need to recognize the symptom; both are worded with "currently / at the time of writing" so they age gracefully if the core bumps the gate. The value matches the existing Min Client Ver placeholder, which already tracked it.Checklist
go build ./...and the test suite pass locally.npm run lint,npm run typecheck, andnpm run buildpass.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.