[GH-ISSUE #6034] [Question]: REALITY authentication failed #4180

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

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

What are you trying to do?

Image

What have you already tried?

Image

3x-ui version

3.10

How did you install 3x-ui?

Manual build from source

Operating system

No response

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 @wangfade0726 on GitHub (Jul 18, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6034 ### What are you trying to do? <img width="1824" height="1316" alt="Image" src="https://github.com/user-attachments/assets/da273f5c-cfb1-4b2b-8162-ddca82039bcf" /> ### What have you already tried? <img width="1824" height="1316" alt="Image" src="https://github.com/user-attachments/assets/0c8686ef-9269-4140-bc7b-0558fd10cf1b" /> ### 3x-ui version 3.10 ### How did you install 3x-ui? Manual build from source ### Operating system _No response_ ### 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.
Author
Owner

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

Most likely cause, based on several identical reports filed this week (#5922, #5943, #5957, #6002): 3x-ui v3.5.0 (and the current main branch) bumped its bundled Xray-core to v26.7.11, which added a hardcoded default of minClientVer: 26.3.27 for REALITY inbounds whenever the "Min Client Ver" field is left blank — confirmed upstream in xray-core commit af7eb68, dated 2026-07-11. Before that commit, a blank field meant "accept any client core version"; now any client whose core reports a version below 26.3.27 fails REALITY handshake validation and is silently diverted to the fallback destination, which surfaces to the client as a generic "authentication failed" / "validation criteria not met" error. This breaks client cores that have not added version reporting yet — Clash Meta/Mihomo, Clash Verge, Shadowrocket older than 2.2.91, Husi, NekoBox — while Xray-core-based clients and v2rayN are unaffected because they report a current, compliant version.

Confirmed in this repo source that this is not a 3x-ui defect:

  • The panel own REALITY form defaults minClientVer to an empty string (frontend/src/schemas/protocols/security/reality.ts:61) and never sets or overrides it elsewhere.
  • Inbound.GenXrayInboundConfig (internal/database/model/model.go:276-311) writes the stored streamSettings/realitySettings straight into Xray config as raw JSON, with no interpretation of minClientVer.
  • go.mod:24 pins github.com/xtls/xray-core to a pseudo-version resolving to the v26.7.11 tag commit, so both v3.5.0 and a from-source build of current main bundle this behavior.

Fix, no core downgrade required: open the affected inbound → Security: REALITY → set Min Client Ver to 1.0.0 (or 0) → save → restart Xray. This restores the old "accept any version" behavior and has been confirmed working by multiple reporters in #5922. Alternatively, the panel Xray-core version switcher (dashboard → Xray-core version card, POST /installXray/:version in internal/web/controller/server.go:70) can pin back to v26.6.27, the last release before this default was introduced — the switcher only lists v26.6.27 and newer (internal/web/service/server.go:775-829), so that is the lowest it can go from the UI.

I was not able to open the two screenshots attached to this issue in this session, so I cannot confirm they show the same error string or config. To verify, or rule out, this is the same issue, could you provide:

  1. The client app and version you connect with (e.g. v2rayN, Clash Meta/Mihomo, Shadowrocket, NekoBox, Husi).
  2. The exact error text from the client, pasted as text rather than a screenshot.
  3. Your actual 3x-ui version/commit — 3.10 does not match any published release (latest is v3.5.0); since this is a source build, the output of git log -1 --format=%H in your checkout would confirm it, along with the Xray-core version shown on the panel dashboard.

If setting Min Client Ver as above resolves the error, that confirms this is the same cause as #5922 and no further panel-side change is needed.

@MHSanaei for visibility — this is a recurring upstream-caused error with several reports this week.

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

<!-- gh-comment-id:5011905040 --> @github-actions[bot] commented on GitHub (Jul 18, 2026): Most likely cause, based on several identical reports filed this week (#5922, #5943, #5957, #6002): 3x-ui `v3.5.0` (and the current `main` branch) bumped its bundled Xray-core to `v26.7.11`, which added a hardcoded default of `minClientVer: 26.3.27` for REALITY inbounds whenever the "Min Client Ver" field is left blank — confirmed upstream in xray-core commit [`af7eb68`](https://github.com/XTLS/Xray-core/commit/af7eb68028732a8ee3c0e5d6ab2b8a657bb2e770), dated 2026-07-11. Before that commit, a blank field meant "accept any client core version"; now any client whose core reports a version below `26.3.27` fails REALITY handshake validation and is silently diverted to the fallback destination, which surfaces to the client as a generic "authentication failed" / "validation criteria not met" error. This breaks client cores that have not added version reporting yet — Clash Meta/Mihomo, Clash Verge, Shadowrocket older than 2.2.91, Husi, NekoBox — while Xray-core-based clients and v2rayN are unaffected because they report a current, compliant version. Confirmed in this repo source that this is not a 3x-ui defect: - The panel own REALITY form defaults `minClientVer` to an empty string (`frontend/src/schemas/protocols/security/reality.ts:61`) and never sets or overrides it elsewhere. - `Inbound.GenXrayInboundConfig` (`internal/database/model/model.go:276-311`) writes the stored `streamSettings`/`realitySettings` straight into Xray config as raw JSON, with no interpretation of `minClientVer`. - `go.mod:24` pins `github.com/xtls/xray-core` to a pseudo-version resolving to the `v26.7.11` tag commit, so both `v3.5.0` and a from-source build of current `main` bundle this behavior. Fix, no core downgrade required: open the affected inbound → Security: REALITY → set Min Client Ver to `1.0.0` (or `0`) → save → restart Xray. This restores the old "accept any version" behavior and has been confirmed working by multiple reporters in #5922. Alternatively, the panel Xray-core version switcher (dashboard → Xray-core version card, `POST /installXray/:version` in `internal/web/controller/server.go:70`) can pin back to `v26.6.27`, the last release before this default was introduced — the switcher only lists `v26.6.27` and newer (`internal/web/service/server.go:775-829`), so that is the lowest it can go from the UI. I was not able to open the two screenshots attached to this issue in this session, so I cannot confirm they show the same error string or config. To verify, or rule out, this is the same issue, could you provide: 1. The client app and version you connect with (e.g. v2rayN, Clash Meta/Mihomo, Shadowrocket, NekoBox, Husi). 2. The exact error text from the client, pasted as text rather than a screenshot. 3. Your actual 3x-ui version/commit — `3.10` does not match any published release (latest is `v3.5.0`); since this is a source build, the output of `git log -1 --format=%H` in your checkout would confirm it, along with the Xray-core version shown on the panel dashboard. If setting Min Client Ver as above resolves the error, that confirms this is the same cause as #5922 and no further panel-side change is needed. @MHSanaei for visibility — this is a recurring upstream-caused error with several reports this week. *This reply was generated automatically; a maintainer may follow up.*
Author
Owner

@wangfade0726 commented on GitHub (Jul 19, 2026):

127.0.0.1:52707 --> translate.googleapis.com:443 error: connect failed: dial tcp [2404:6800:4012:7::200a]:443: i/o timeout connect failed: dial tcp 142.250.77.202:443: i/o timeout 这是报错

<!-- gh-comment-id:5014321690 --> @wangfade0726 commented on GitHub (Jul 19, 2026): 127.0.0.1:52707 --> translate.googleapis.com:443 error: connect failed: dial tcp [2404:6800:4012:7::200a]:443: i/o timeout connect failed: dial tcp 142.250.77.202:443: i/o timeout 这是报错
Author
Owner

@ipdog commented on GitHub (Jul 19, 2026):

Environment

  • OS: Ubuntu 24.04.4 LTS
  • 3x-ui: 3.4.0
  • Xray: 26.6.22

Configuration

  • WireGuard inbound only
  • No WireGuard outbound
  • Android WireGuard official app
  • Config generated by 3x-ui

Behavior

  • Handshake succeeds
  • VPN connects successfully
  • Internet access works normally
  • Traffic passes correctly

Logs
Repeated messages:
proxy/wireguard: connection reset by peer

Expected
VPN is working correctly, so I would like to know whether this log is
expected during normal client disconnects/reconnections or if it indicates
a bug.

၂၀၂၆ ဇူ ၁၈ စနေ ညနေ ၁၀:၅၇ တွင် github-actions[bot] @.***>
က ရေးခဲ့သည်−

github-actions[bot] left a comment (MHSanaei/3x-ui#6034)
https://github.com/MHSanaei/3x-ui/issues/6034#issuecomment-5011905040

Most likely cause, based on several identical reports filed this week (
#5922 https://github.com/MHSanaei/3x-ui/issues/5922, #5943
https://github.com/MHSanaei/3x-ui/issues/5943, #5957
https://github.com/MHSanaei/3x-ui/issues/5957, #6002
https://github.com/MHSanaei/3x-ui/issues/6002): 3x-ui v3.5.0 (and the
current main branch) bumped its bundled Xray-core to v26.7.11, which
added a hardcoded default of minClientVer: 26.3.27 for REALITY inbounds
whenever the "Min Client Ver" field is left blank — confirmed upstream in
xray-core commit af7eb68
https://github.com/XTLS/Xray-core/commit/af7eb68028732a8ee3c0e5d6ab2b8a657bb2e770,
dated 2026-07-11. Before that commit, a blank field meant "accept any
client core version"; now any client whose core reports a version below
26.3.27 fails REALITY handshake validation and is silently diverted to
the fallback destination, which surfaces to the client as a generic
"authentication failed" / "validation criteria not met" error. This breaks
client cores that have not added version reporting yet — Clash Meta/Mihomo,
Clash Verge, Shadowrocket older than 2.2.91, Husi, NekoBox — while
Xray-core-based clients and v2rayN are unaffected because they report a
current, compliant version.

Confirmed in this repo source that this is not a 3x-ui defect:

  • The panel own REALITY form defaults minClientVer to an empty string (
    frontend/src/schemas/protocols/security/reality.ts:61) and never sets
    or overrides it elsewhere.
  • Inbound.GenXrayInboundConfig (
    internal/database/model/model.go:276-311) writes the stored
    streamSettings/realitySettings straight into Xray config as raw JSON,
    with no interpretation of minClientVer.
  • go.mod:24 pins github.com/xtls/xray-core to a pseudo-version
    resolving to the v26.7.11 tag commit, so both v3.5.0 and a from-source
    build of current main bundle this behavior.

Fix, no core downgrade required: open the affected inbound → Security:
REALITY → set Min Client Ver to 1.0.0 (or 0) → save → restart Xray. This
restores the old "accept any version" behavior and has been confirmed
working by multiple reporters in #5922
https://github.com/MHSanaei/3x-ui/issues/5922. Alternatively, the panel
Xray-core version switcher (dashboard → Xray-core version card, POST
/installXray/:version in internal/web/controller/server.go:70) can pin
back to v26.6.27, the last release before this default was introduced —
the switcher only lists v26.6.27 and newer (
internal/web/service/server.go:775-829), so that is the lowest it can go
from the UI.

I was not able to open the two screenshots attached to this issue in this
session, so I cannot confirm they show the same error string or config. To
verify, or rule out, this is the same issue, could you provide:

  1. The client app and version you connect with (e.g. v2rayN, Clash
    Meta/Mihomo, Shadowrocket, NekoBox, Husi).
  2. The exact error text from the client, pasted as text rather than a
    screenshot.
  3. Your actual 3x-ui version/commit — 3.10 does not match any
    published release (latest is v3.5.0); since this is a source build,
    the output of git log -1 --format=%H in your checkout would confirm
    it, along with the Xray-core version shown on the panel dashboard.

If setting Min Client Ver as above resolves the error, that confirms this
is the same cause as #5922 https://github.com/MHSanaei/3x-ui/issues/5922
and no further panel-side change is needed.

@MHSanaei https://github.com/MHSanaei for visibility — this is a
recurring upstream-caused error with several reports this week.

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

—
Reply to this email directly, view it on GitHub
https://github.com/MHSanaei/3x-ui/issues/6034?email_source=notifications&email_token=BGMI7SS7MJAYFZKIJ22EQN35FOM5FA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBRGE4TANJQGQYKM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#issuecomment-5011905040,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGMI7SRPUDGZCWXA44ODI7T5FOM5FAVCNFSNUABFKJSXA33TNF2G64TZHM2TSOJXGM2TOMRQHNEXG43VMU5TIOJRHA4TIMBRGEZKC5QC
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

<!-- gh-comment-id:5014896509 --> @ipdog commented on GitHub (Jul 19, 2026): Environment - OS: Ubuntu 24.04.4 LTS - 3x-ui: 3.4.0 - Xray: 26.6.22 Configuration - WireGuard inbound only - No WireGuard outbound - Android WireGuard official app - Config generated by 3x-ui Behavior - Handshake succeeds - VPN connects successfully - Internet access works normally - Traffic passes correctly Logs Repeated messages: proxy/wireguard: connection reset by peer Expected VPN is working correctly, so I would like to know whether this log is expected during normal client disconnects/reconnections or if it indicates a bug. ၂၀၂၆ ဇူ ၁၈ စနေ ညနေ ၁၀:၅၇ တွင် github-actions[bot] ***@***.***> က ရေးခဲ့သည်− > *github-actions[bot]* left a comment (MHSanaei/3x-ui#6034) > <https://github.com/MHSanaei/3x-ui/issues/6034#issuecomment-5011905040> > > Most likely cause, based on several identical reports filed this week ( > #5922 <https://github.com/MHSanaei/3x-ui/issues/5922>, #5943 > <https://github.com/MHSanaei/3x-ui/issues/5943>, #5957 > <https://github.com/MHSanaei/3x-ui/issues/5957>, #6002 > <https://github.com/MHSanaei/3x-ui/issues/6002>): 3x-ui v3.5.0 (and the > current main branch) bumped its bundled Xray-core to v26.7.11, which > added a hardcoded default of minClientVer: 26.3.27 for REALITY inbounds > whenever the "Min Client Ver" field is left blank — confirmed upstream in > xray-core commit af7eb68 > <https://github.com/XTLS/Xray-core/commit/af7eb68028732a8ee3c0e5d6ab2b8a657bb2e770>, > dated 2026-07-11. Before that commit, a blank field meant "accept any > client core version"; now any client whose core reports a version below > 26.3.27 fails REALITY handshake validation and is silently diverted to > the fallback destination, which surfaces to the client as a generic > "authentication failed" / "validation criteria not met" error. This breaks > client cores that have not added version reporting yet — Clash Meta/Mihomo, > Clash Verge, Shadowrocket older than 2.2.91, Husi, NekoBox — while > Xray-core-based clients and v2rayN are unaffected because they report a > current, compliant version. > > Confirmed in this repo source that this is not a 3x-ui defect: > > - The panel own REALITY form defaults minClientVer to an empty string ( > frontend/src/schemas/protocols/security/reality.ts:61) and never sets > or overrides it elsewhere. > - Inbound.GenXrayInboundConfig ( > internal/database/model/model.go:276-311) writes the stored > streamSettings/realitySettings straight into Xray config as raw JSON, > with no interpretation of minClientVer. > - go.mod:24 pins github.com/xtls/xray-core to a pseudo-version > resolving to the v26.7.11 tag commit, so both v3.5.0 and a from-source > build of current main bundle this behavior. > > Fix, no core downgrade required: open the affected inbound → Security: > REALITY → set Min Client Ver to 1.0.0 (or 0) → save → restart Xray. This > restores the old "accept any version" behavior and has been confirmed > working by multiple reporters in #5922 > <https://github.com/MHSanaei/3x-ui/issues/5922>. Alternatively, the panel > Xray-core version switcher (dashboard → Xray-core version card, POST > /installXray/:version in internal/web/controller/server.go:70) can pin > back to v26.6.27, the last release before this default was introduced — > the switcher only lists v26.6.27 and newer ( > internal/web/service/server.go:775-829), so that is the lowest it can go > from the UI. > > I was not able to open the two screenshots attached to this issue in this > session, so I cannot confirm they show the same error string or config. To > verify, or rule out, this is the same issue, could you provide: > > 1. The client app and version you connect with (e.g. v2rayN, Clash > Meta/Mihomo, Shadowrocket, NekoBox, Husi). > 2. The exact error text from the client, pasted as text rather than a > screenshot. > 3. Your actual 3x-ui version/commit — 3.10 does not match any > published release (latest is v3.5.0); since this is a source build, > the output of git log -1 --format=%H in your checkout would confirm > it, along with the Xray-core version shown on the panel dashboard. > > If setting Min Client Ver as above resolves the error, that confirms this > is the same cause as #5922 <https://github.com/MHSanaei/3x-ui/issues/5922> > and no further panel-side change is needed. > > @MHSanaei <https://github.com/MHSanaei> for visibility — this is a > recurring upstream-caused error with several reports this week. > > *This reply was generated automatically; a maintainer may follow up.* > > — > Reply to this email directly, view it on GitHub > <https://github.com/MHSanaei/3x-ui/issues/6034?email_source=notifications&email_token=BGMI7SS7MJAYFZKIJ22EQN35FOM5FA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTKMBRGE4TANJQGQYKM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#issuecomment-5011905040>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/BGMI7SRPUDGZCWXA44ODI7T5FOM5FAVCNFSNUABFKJSXA33TNF2G64TZHM2TSOJXGM2TOMRQHNEXG43VMU5TIOJRHA4TIMBRGEZKC5QC> > . > You are receiving this because you are subscribed to this thread.Message > ID: ***@***.***> >
Author
Owner

@TheTitanius commented on GitHub (Jul 19, 2026):

I set Min Client Ver to 1.0.0 and this works for me

<!-- gh-comment-id:5016701508 --> @TheTitanius commented on GitHub (Jul 19, 2026): I set Min Client Ver to `1.0.0` and this works for me
Author
Owner

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

This is the recurring REALITY minClientVer issue reported several times recently (#5922, #5943, #5957, #6002). xray-core v26.7.11 (bundled by v3.5.0) added a hardcoded default of minClientVer: 26.3.27 for REALITY inbounds when the field is left blank. Previously blank meant "accept any client core version"; now any client reporting a core below 26.3.27 fails the handshake and is diverted to fallback, surfacing as a generic "authentication failed". This breaks clients that don't yet report a compliant version (Clash Meta/Mihomo, Clash Verge, older Shadowrocket, Husi, NekoBox); Xray-core-based clients and v2rayN are fine.

It's not a 3x-ui defect — the panel defaults minClientVer to empty and passes realitySettings through as raw JSON. Fix without downgrading the core: open the inbound → Security: REALITY → set Min Client Ver to 1.0.0 (or 0) → save → restart Xray. This restores the old accept-any behavior (confirmed in #5922).

One note: the version "3.10" you listed doesn't match any release (latest is v3.5.0). If setting Min Client Ver doesn't resolve it, please share the panel's exact build and the client app/version and error text, and we'll re-check. Closing as answered for now.

<!-- gh-comment-id:5059219632 --> @MHSanaei commented on GitHub (Jul 23, 2026): This is the recurring REALITY `minClientVer` issue reported several times recently (#5922, #5943, #5957, #6002). xray-core `v26.7.11` (bundled by v3.5.0) added a hardcoded default of `minClientVer: 26.3.27` for REALITY inbounds when the field is left blank. Previously blank meant "accept any client core version"; now any client reporting a core below 26.3.27 fails the handshake and is diverted to fallback, surfacing as a generic "authentication failed". This breaks clients that don't yet report a compliant version (Clash Meta/Mihomo, Clash Verge, older Shadowrocket, Husi, NekoBox); Xray-core-based clients and v2rayN are fine. It's not a 3x-ui defect — the panel defaults `minClientVer` to empty and passes `realitySettings` through as raw JSON. Fix without downgrading the core: open the inbound → Security: REALITY → set **Min Client Ver** to `1.0.0` (or `0`) → save → restart Xray. This restores the old accept-any behavior (confirmed in #5922). One note: the version "3.10" you listed doesn't match any release (latest is v3.5.0). If setting Min Client Ver doesn't resolve it, please share the panel's exact build and the client app/version and error text, and we'll re-check. Closing as answered for now.
Author
Owner

@Qisatra commented on GitHub (Oct 18, 2026):

Hi. MetaCubeX Mihomo 1.19.32 still have this bug [warning] TCP [TCP] dial 🌍All proxy (match Match/) 192.168.1.2:50500 --> 185.26.182.112:443 error: 89.00.XXXXX:443 connect error: REALITY authentication failed

And fix with set Min version in 3x-ui panel 0/1.0.0/1.8.2 didnt work on any version of Xray include latest 26.10.10-17. 26.6.27 works fine on any latest 3x-ui panel versions.

<!-- gh-comment-id:6255451844 --> @Qisatra commented on GitHub (Oct 18, 2026): Hi. MetaCubeX Mihomo 1.19.32 still have this bug [warning] TCP [TCP] dial 🌍All proxy (match Match/) 192.168.1.2:50500 --> 185.26.182.112:443 error: 89.00.XXXXX:443 connect error: REALITY authentication failed And fix with set Min version in 3x-ui panel 0/1.0.0/1.8.2 didnt work on any version of Xray include latest 26.10.10-17. 26.6.27 works fine on any latest 3x-ui panel versions.
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#4180
No description provided.