[GH-ISSUE #6077] [Bug]: REALITY connections silently relayed (0 traffic) with post-quantum enabled #4205

Closed
opened 2026-10-31 20:37:57 +07:00 by bsakaguchi · 1 comment
Owner

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

  • 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 @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 <target>) 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 ```shell ``` ### 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 - [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:57 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

<!-- gh-comment-id:5059126144 --> @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.
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#4205
No description provided.