mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5964] [Bug]: Install Latest 3x-ui, Add new inbound and client, use VLESS+RAW+REALITY, shadowrocket cannot connect to server. #4137
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#4137
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 @bujishao on GitHub (Jul 15, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5964
Describe the bug
I set up a new VPS and installed the latest version of 3x-ui (v3.5.0). I followed the usual steps to create an inbound and then added a new client to it, but I was unable to connect to the Xray server.
When configuring the client in Shadowrocket, the TCP connection shows a ping value, but once connected, there is no internet access.
After rolling back to v3.2.8 and repeating the same steps, it still doesn't work.
After enabling the access log in the Xray configuration, I found that internet access via Shadowrocket stopped working; upon checking
access.log, I observed no corresponding entries.The contents of
bin/config.json—the generated Xray configuration file located next to thex-uiexecutable—reveal the specific "id" value expected by Xray within theclientsarray of the inbound configuration. Verification confirms that the two match.Import links in the latest version of v2rayN for Windows allow for internet access.
How to reproduce the problem
Expected behavior
none
Actual behavior
Can't access internet
Relevant logs
Screenshots
3x-ui version
3.5.0
Xray-core version
26.7.11
How did you install 3x-ui?
install.sh script
Operating system
Almalinux 9 x86_64
Which parts of the panel are affected?
No response
Browser (only if it is a UI bug)
Chrome
Is the panel behind a reverse proxy or CDN?
None
Before submitting
@wah2233 commented on GitHub (Jul 15, 2026):
SNI does not need a port number.
@github-actions[bot] commented on GitHub (Jul 15, 2026):
Title: VLESS+REALITY silently drops non-Xray-core clients (Shadowrocket) that don't clear Xray-core v26.7.11's new implicit
minClientVerfloorSeverity: High
Category: Correctness / Reliability
Why this matters: A REALITY connection that "pings" over TCP but carries no proxied traffic, with nothing in
access.log, has (at least) two distinct causes in this codebase, and they look identical from the client side:rejectedline inaccess.logwithemail: <empty>, since the rejection happens inside Xray's VLESS layer, which is reached only after the REALITY handshake itself succeeds.access.logline at all, because the connection is diverted before Xray ever reaches the VLESS layer.You already confirmed the client UUID in the share link matches the
idinbin/config.json, and youraccess.loghas no entries whatsoever for the failed attempts — that combination rules out (1) and points at (2).Confirmed in source:
go.modat thev3.5.0tag pinsgithub.com/xtls/xray-core v1.260327.1-0.20260711155151-..., and the v3.5.0 release notes state the bundled core "was bumped to xray-core v26.7.11" (commit814cda3fb) — matching the Xray-core version in your report.minClientVer: 26.3.27(change it at your own risk)") added anelsebranch toREALITYConfig.Build()ininfra/conf/transport_security.go: whenever an inbound'sminClientVeris left blank, Xray-core now enforces26.3.27as a hard floor server-side. I pulled this commit directly from the upstream repo to confirm it rather than relying on secondhand description.Min Client Verfield (frontend/src/pages/inbounds/form/security/reality.tsx:127-132) backed by a schema default of an empty string (frontend/src/schemas/protocols/security/reality.ts:61) — i.e., blank unless an admin explicitly fills it in, which is the state of essentially every inbound created before this change, including a freshly created one. The panel's own xray-core-bump commit (814cda3fb) only touched that field's placeholder hint text (25.9.11→26.3.27); it added no protective default or warning.26.3.27floor, Xray-core treats the handshake as non-compliant and transparently diverts the connection to the disguised REALITY target instead of your proxy — hence a TCP/TLS connection that "pings" but passes no proxied traffic, with no VLESS-layer log line. Multiple reports in #5957 name Shadowrocket specifically as affected by this on v3.5.0, alongside Mihomo/Clash Verge, husi, and NekoBox.Recommendation: Open the affected inbound's REALITY settings and set
Min Client Verto1.0.0(or any value at or below what your client reports), save, and let the panel restart Xray. This is the workaround already validated by multiple reporters in #5957. That issue is tracking this same upstream-driven regression in more depth, including a link to the upstream PR/Telegram discussion indicating this is a deliberate anti-fingerprinting change on Xray-core's part, not an oversight — worth following for a permanent fix decision (e.g., whether this panel should stop leaving the field blank by default).Example:
Confidence: High that this mechanism explains your symptom — the Xray-core version matches exactly, the symptom fingerprint matches exactly, and Shadowrocket is independently named as affected by others on the same core version in #5957. One point I can't reconcile from source alone: you reported the same failure persisted after rolling back to panel v3.2.8. That release's pinned core predates the July 11 upstream change (
go.modat thev3.2.8tag resolves to a June 1 xray-core snapshot), and a version-tagged reinstall (x-ui.sh's "Install specified version" option, which runsinstall.sh v3.2.8) replaces the bundledbin/xray-linux-*binary along with the panel binary itself — so if that reinstall completed cleanly, this specific cause should not have reproduced under 3.2.8. That does not necessarily mean the diagnosis above is wrong for your current v3.5.0 install, but it is an open discrepancy.To move forward:
Min Client Verto1.0.0on the affected inbound and retest from Shadowrocket.access.logoutput for a fresh connection attempt with logging left enabled, and the exactvless://share link text (not a screenshot).@MHSanaei for visibility — this looks like the same upstream-driven regression already under discussion in #5957, newly reproduced here with Shadowrocket as the affected client.
This reply was generated automatically by an AI agent. A maintainer may follow up.
@bujishao commented on GitHub (Jul 15, 2026):
Thank you, but it still doesn't work after the modification.
@kele5713 commented on GitHub (Jul 15, 2026):
我把面板升级到3.50也是一样,重装了系统还是不通,最后把Xray降级到v26.6.27后重启xray就可以了。
@bujishao commented on GitHub (Jul 15, 2026):
感谢,我刚试了下,确实可以了
@bujishao commented on GitHub (Jul 26, 2026):
突然间shadowrocket又无法使用了,什么都没有动,Xray版本还是v26.6.27。电脑版的v2rayN可以使用,shadowrocket突然就无法使用了,不知道是什么原因。请求帮助。
@bujishao commented on GitHub (Jul 26, 2026):
你那现在shadowrocket可以正常使用吗?