[GH-ISSUE #5884] [Bug]: LTE RUSSIA XRAY ISNT WORKING #4080

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

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.

Image

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

  • 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 @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. <img width="2200" height="6505" alt="Image" src="https://github.com/user-attachments/assets/cc674c27-57fe-4a4e-b8c3-10db9c4cbebf" /> ### How to reproduce the problem I don't know ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### 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 - [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:01 +07:00
Author
Owner

@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" in frontend/src/pages/inbounds/form/security/reality.tsx:127-138) are passed through as-is to Xray-core. In Xray-core's own infra/conf/transport_security.go, each non-empty value is parsed from a dotted string like 25.9.11 into a 3-byte version; the xtls/reality library 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 >= minClientVer and <= 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-core 26.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.11 as grey placeholder/example text in the empty inputs (reality.tsx:131 and :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:

  1. Open the inbound → REALITY settings.
  2. Clear Min Client Ver and Max Client Ver (leave both blank) unless you deliberately want to gate on a version range — in which case they must not be set equal.
  3. Save (Xray restarts automatically) and retest from the LTE client.

If both are already blank, or clearing them doesn't help, please reply with:

  1. What Min Client Ver / Max Client Ver actually contained beforehand.
  2. Server-side evidence: enable Show on this inbound's REALITY settings, reconnect from the affected client, then check Dashboard → Xray status card → Access Logs for any REALITY remoteAddr: ... line from that connection attempt.
  3. Whether the same client profile connects successfully over a non-LTE network. If it fails only on this carrier with the version fields confirmed blank, that points to mobile-network-level interference rather than anything in the panel or Xray-core config.

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.

<!-- gh-comment-id:4928315627 --> @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" in `frontend/src/pages/inbounds/form/security/reality.tsx:127-138`) are passed through as-is to Xray-core. In Xray-core's own `infra/conf/transport_security.go`, each non-empty value is parsed from a dotted string like `25.9.11` into a 3-byte version; the `xtls/reality` library 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 `>= minClientVer` **and** `<= 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-core `26.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.11` as grey placeholder/example text in the empty inputs (`reality.tsx:131` and `: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:** 1. Open the inbound → REALITY settings. 2. Clear **Min Client Ver** and **Max Client Ver** (leave both blank) unless you deliberately want to gate on a version range — in which case they must not be set equal. 3. Save (Xray restarts automatically) and retest from the LTE client. **If both are already blank, or clearing them doesn't help**, please reply with: 1. What `Min Client Ver` / `Max Client Ver` actually contained beforehand. 2. Server-side evidence: enable **Show** on this inbound's REALITY settings, reconnect from the affected client, then check Dashboard → Xray status card → **Access Logs** for any `REALITY remoteAddr: ...` line from that connection attempt. 3. Whether the same client profile connects successfully over a non-LTE network. If it fails only on this carrier with the version fields confirmed blank, that points to mobile-network-level interference rather than anything in the panel or Xray-core config. 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.*
Author
Owner

@MHSanaei commented on GitHub (Jul 9, 2026):

It's just a placeholder, i didn't set anything for it

<!-- gh-comment-id:4928405753 --> @MHSanaei commented on GitHub (Jul 9, 2026): It's just a placeholder, i didn't set anything for it
Author
Owner

@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.

<!-- gh-comment-id:4935399107 --> @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.
Author
Owner

@cidjay-max commented on GitHub (Jul 12, 2026):

ДЯДЯ ИДИ ИСПРАВЛЯЙ, У ТЕБЯ РИАЛИТИ МАКСМУМ В КЛИЕНТЕ 25.9.11 и никак выше ниже не поставить, иди работай

<!-- gh-comment-id:4951732053 --> @cidjay-max commented on GitHub (Jul 12, 2026): ДЯДЯ ИДИ ИСПРАВЛЯЙ, У ТЕБЯ РИАЛИТИ МАКСМУМ В КЛИЕНТЕ 25.9.11 и никак выше ниже не поставить, иди работай
Author
Owner

@cidjay-max commented on GitHub (Jul 12, 2026):

В ПАНЕЛИ РИАЛИТИ ТОЛЬКО чЕРЕЗ домашний интернет РАБОТАЕТ, на 3.4.1 такой проблемы НЕТ!!!

<!-- gh-comment-id:4951733692 --> @cidjay-max commented on GitHub (Jul 12, 2026): В ПАНЕЛИ РИАЛИТИ ТОЛЬКО чЕРЕЗ домашний интернет РАБОТАЕТ, на 3.4.1 такой проблемы НЕТ!!!
Author
Owner

@newbielabinsk commented on GitHub (Jul 12, 2026):

В ПАНЕЛИ РИАЛИТИ ТОЛЬКО чЕРЕЗ домашний интернет РАБОТАЕТ, на 3.4.1 такой проблемы НЕТ!!!

Дык откатитесь до 3.4.1

<!-- gh-comment-id:4952353210 --> @newbielabinsk commented on GitHub (Jul 12, 2026): > В ПАНЕЛИ РИАЛИТИ ТОЛЬКО чЕРЕЗ домашний интернет РАБОТАЕТ, на 3.4.1 такой проблемы НЕТ!!! Дык откатитесь до 3.4.1
Author
Owner

@cidjay-max commented on GitHub (Jul 12, 2026):

В ПАНЕЛИ РИАЛИТИ ТОЛЬКО чЕРЕЗ домашний интернет РАБОТАЕТ, на 3.4.1 такой проблемы НЕТ!!!

Дык откатитесь до 3.4.1

пусть челик работает, сделал ошибку , пусть исправляет

<!-- gh-comment-id:4952421803 --> @cidjay-max commented on GitHub (Jul 12, 2026): > > В ПАНЕЛИ РИАЛИТИ ТОЛЬКО чЕРЕЗ домашний интернет РАБОТАЕТ, на 3.4.1 такой проблемы НЕТ!!! > > Дык откатитесь до 3.4.1 пусть челик работает, сделал ошибку , пусть исправляет
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#4080
No description provided.