mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5884] [Bug]: LTE RUSSIA XRAY ISNT WORKING #4080
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#4080
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?
Originally created by @cidjay-max on GitHub (Jul 9, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5884
Describe the bug
In the new Reality settings, the min and max version is set to 25.9.11. All clients already have the latest version installed, but Reality encryption still doesn't work over the mobile network — it only works if the client is downloaded with Xray version 25.9.11 specifically.
How to reproduce the problem
I don't know
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.4.2
Xray-core version
26.3.**
How did you install 3x-ui?
install.sh script
Operating system
22
Which parts of the panel are affected?
No response
Browser (only if it is a UI bug)
No response
Is the panel behind a reverse proxy or CDN?
None
Before submitting
@github-actions[bot] commented on GitHub (Jul 9, 2026):
Most likely cause: the REALITY Min Client Ver / Max Client Ver fields on this inbound, not a 3x-ui code defect. Details below, plus what would confirm it.
How these fields work.
minClientVer/maxClientVer(frontend/src/schemas/protocols/security/reality.ts:61-62; UI fields "Min Client Ver" / "Max Client Ver" infrontend/src/pages/inbounds/form/security/reality.tsx:127-138) are passed through as-is to Xray-core. In Xray-core's owninfra/conf/transport_security.go, each non-empty value is parsed from a dotted string like25.9.11into a 3-byte version; thextls/realitylibrary then enforces it during the REALITY TLS handshake (tls.go): a connection is only authenticated if the client's self-reported Xray-core build version is>= minClientVerand<= maxClientVer. On failure, REALITY returns no error to the client by design (anti-probing) — the session simply doesn't behave like the proxy, which looks exactly like "it doesn't work."If both fields are literally set to
25.9.11, that range collapses to one exact version. Every other client build — including "the latest" (you reported Xray-core26.3.**) — is silently rejected. That matches the symptom described: it only works with that one exact client version.Caveat: the real default for both fields is blank (confirmed in the schema above and in the frontend's golden test fixtures); the panel only shows
25.9.11as grey placeholder/example text in the empty inputs (reality.tsx:131and:137), not a live value. I can't inspect the attached screenshot directly, so this explanation only holds if the values you're seeing are actually typed in, not placeholder text.To fix, if they are set:
If both are already blank, or clearing them doesn't help, please reply with:
Min Client Ver/Max Client Veractually contained beforehand.REALITY remoteAddr: ...line from that connection attempt.For @MHSanaei: both Min/Max Client Ver inputs share the identical placeholder
25.9.11(reality.tsx:131,137), which plausibly nudges users into typing the same value into both and unintentionally locking to one exact version instead of a range. Might be worth a small UX guard (differentiated placeholders, or a warning when min == max) if this pattern recurs in other reports.This reply was generated automatically; a maintainer may follow up.
@MHSanaei commented on GitHub (Jul 9, 2026):
It's just a placeholder, i didn't set anything for it
@cidjay-max commented on GitHub (Jul 10, 2026):
Hey, I think the real issue is in the panel settings, not something wrong with your server or your configs.
Here's what's likely happening: in the REALITY settings for your inbound, there are two fields called "Min Client Ver" and "Max Client Ver." These control which Xray client versions are allowed to connect. If both are set to the same value (25.9.11), then only clients running exactly that version can connect — everything else gets silently blocked, with no error message. That's why it looks broken instead of showing a clear error.
This explains what you're seeing:
Trojan TCP TLS works fine — because Trojan doesn't use these REALITY version-check fields at all, so it's unaffected.
Some iOS users connect fine — possibly because their client app happens to report version 25.9.11, or their build matches the allowed range.
Android devices don't work unless forced to 25.9.11 — because most Android client apps are running a different (usually newer) Xray-core version, so they get rejected by this version lock.
How to check/fix it:
Go to your inbound → REALITY settings.
Look at "Min Client Ver" and "Max Client Ver" — see if they're actually filled in with 25.9.11, or if that's just placeholder text (grey, not a real value).
If they're actually set, clear both fields completely. Leave them blank unless you specifically want to restrict versions.
Save — Xray will restart automatically.
Test again from an Android device with its normal (non-downgraded) client.
@cidjay-max commented on GitHub (Jul 12, 2026):
ДЯДЯ ИДИ ИСПРАВЛЯЙ, У ТЕБЯ РИАЛИТИ МАКСМУМ В КЛИЕНТЕ 25.9.11 и никак выше ниже не поставить, иди работай
@cidjay-max commented on GitHub (Jul 12, 2026):
В ПАНЕЛИ РИАЛИТИ ТОЛЬКО чЕРЕЗ домашний интернет РАБОТАЕТ, на 3.4.1 такой проблемы НЕТ!!!
@newbielabinsk commented on GitHub (Jul 12, 2026):
Дык откатитесь до 3.4.1
@cidjay-max commented on GitHub (Jul 12, 2026):
пусть челик работает, сделал ошибку , пусть исправляет