mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #6077] [Bug]: REALITY connections silently relayed (0 traffic) with post-quantum enabled #4205
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#4205
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 @White-Tea-prism on GitHub (Jul 23, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6077
Describe the bug
On v3.5.0, every REALITY client connection results in 0 up/down traffic. The server silently relays the failed-auth handshake to the REALITY dest, so xray logs show nothing (only the panel's 5s API heartbeat) even at debug level — looks like traffic never arrives.
How to reproduce the problem
1.Fresh v3.5.0 install; create VLESS + TCP + REALITY inbound (default keygen produces pqv= in the share link).
2.Import subscription into any modern client.
3.Connect → 0 traffic. Client errors: io: read/write on closed pipe, then context deadline exceeded.
Expected behavior
A client connecting with the VLESS + REALITY share link should authenticate via REALITY (using pbk/sid/sni), establish a VLESS session, and proxy traffic normally. On the server side, xray should log the accepted inbound connection (e.g. proxy/vless/inbound: received request for ) and forward it through freedom. This is exactly what happens on v3.4.2 with the same client and the same configuration method.
Actual behavior
On v3.5.0, the REALITY authentication fails silently. Instead of establishing a VLESS session, the server relays the handshake to the REALITY dest (e.g. Cloudflare), so:
The client gets 0 bytes up/down; the proxy is unusable.
Client-side errors observed: io: read/write on closed pipe, then context deadline exceeded.
xray logs nothing for these connections at any log level (info / debug) — only the panel's 5-second API heartbeat appears, making the failure invisible in logs.
Downgrading to v3.4.2 (same client, same config) immediately restores the expected behavior.
Relevant logs
Screenshots
No response
3x-ui version
3.5.0
Xray-core version
26.7.1
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 24.04
Which parts of the panel are affected?
Xray config generation
Browser (only if it is a UI bug)
No response
Is the panel behind a reverse proxy or CDN?
None
Before submitting
@MHSanaei commented on GitHub (Jul 23, 2026):
Post-quantum REALITY keys are opt-in only; the 0-traffic relay is xray-core/client interop, not a panel bug. Closing.