mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #5692] [Bug]: Install Latest 3x-ui, Add new inbound and client, use VLESS+TLS+REALITY, cannot connect to server. #3960
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#3960
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 @naico-wang on GitHub (Jun 30, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5692
Describe the bug
I set up a new VPS and installed the latest version of 3x-ui (v3.4.2). 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.4.1 and repeating the same steps, everything works as expected.
It also appears that if the inbound and clients were already created before upgrading to v3.4.2, the upgrade has no impact. The issue only affects newly created inbounds and clients after updating to v3.4.2.
How to reproduce the problem
Expected behavior
I can visit ping0.cc
Actual behavior
Can't access internet
Relevant logs
Screenshots
No response
3x-ui version
3.4.2
Xray-core version
26.6.27
How did you install 3x-ui?
install.sh script
Operating system
Debian13 and Debian 13
Which parts of the panel are affected?
Other
Browser (only if it is a UI bug)
No response
Is the panel behind a reverse proxy or CDN?
No — direct access
Before submitting
@github-actions[bot] commented on GitHub (Jun 30, 2026):
Thank you for the detailed report.
What the symptom indicates
"TCP ping shows but no internet traffic" with a REALITY inbound is the characteristic signature of a server-side UUID authentication failure. When Xray-core cannot match the connecting UUID to any configured client, it falls back to transparently proxying the client to the configured REALITY destination — the TLS handshake completes (hence a working ping), but no traffic is actually proxied through the panel's outbound.
What was audited in v3.4.2
Two commits that touch VLESS/client handling were examined against v3.4.1:
WireGuard multi-client migration (
internal/database/db.go,internal/web/service/client_inbound_apply.go): all new WireGuard code paths are gated onoldInbound.Protocol == model.WireGuard; the VLESS branch ofaddInboundClientis structurally unchanged.vlessRoute subscription link rewriting (
internal/sub/vless_route.go,internal/sub/service.go):applyVlessRoutemodifies UUID bytes 6–7 only when a Host entry carries avlessRoutefield. For a freshly created VLESS+REALITY inbound with no subscription Host entries configured,genVlessLinktakes the direct path (fmt.Sprintf("vless://%s@%s", uuid, ...)) and the UUID is used verbatim.No change that obviously produces a UUID mismatch for a brand-new VLESS+REALITY inbound was found in the diff. Additional diagnostic data is needed to confirm where the mismatch occurs.
Diagnostics needed
Please provide the following:
Xray access log output — In the panel, go to Settings → Xray Config, enable access logging (
"access": "/path/to/access.log"underlog), restart the Xray service, then attempt a connection from Shadowrocket. Paste the relevant lines from the log. A UUID-mismatch failure shows a line likerejected [email protected] email: <empty>rather than your client's configured email.The exact VLESS link text — From the panel, copy the share link for the affected client (not a screenshot; the raw
vless://...URI). This lets us confirm whether the UUID in the link matches the UUID stored in the Xray config atbin/config.json.Contents of
bin/config.json— The generated Xray config (located next to thex-uibinary) shows the exact"id"value Xray is expecting under the inbound'sclientsarray.Client creation path — Was the client created inline inside the Inbound form (the "Add Inbound" modal with a client row), or separately via the "Clients" page after the inbound already existed?
Panel version confirmation — Output of
x-ui versionor the version shown in the panel footer.Once the access log output and link text are available, the exact failure point will be deterministic.
@naico-wang commented on GitHub (Jun 30, 2026):
Closed as wrong configuration.