Describe the bug
When creating a VLESS inbound with security: reality, clients cannot connect and the server logs show REALITY: processed invalid connection from <client IP>: failed to read client hello. However, if I change the inbound's security to none (keeping all other settings identical), the connection works immediately. The same client configuration works only when Reality is disabled.
How to reproduce the problem
- Fresh 3x-ui installation (v3.2.8) on Ubuntu 22.04 / 24.04.
- Xray-core version 26.6.1 (also tested with older versions).
- Create a new VLESS inbound:
- Port: 17625
- Protocol: vless
- Security: reality
- Generate new key pair (publicKey:
uBswDPCGA4joMeW4kbREVJwFvOhIYraUx2kyP7160Tc, privateKey: wEl2fJL9QwbdsKseUrs5mtq6JitCxStEMxcZ2IkhMEg)
- Target:
www.amd.com:443
- serverNames:
["www.amd.com"]
- shortIds:
["ea55","c1224a","2604bcf6a336","c7e9ab71","230bc53a5a","cdc23d02bf4d8a","18","d7b09df8dc5fbc78"]
- fingerprint:
chrome
- flow:
xtls-rprx-vision
- Add a client with UUID
3993aaad-549e-465c-a01f-34f7e5f192ab and same flow.
- Export the client config (vless:// link) and import into a Reality‑capable client (v2rayNG 1.8.5+, Nekobox 0.4.0+, Shadowrocket).
- Attempt to connect – the client fails.
- Check server logs:
tail -f /var/log/x-ui/error.log shows repeated REALITY: processed invalid connection from <client IP>: failed to read client hello.
- Change the inbound security from
reality to none (keep everything else the same), regenerate client link, and the client connects immediately.
Expected behavior
The client should connect successfully with Reality enabled, just as it does when security is set to none. The handshake should complete without failed to read client hello.
Actual behavior
The client fails to connect. Server logs show failed to read client hello despite correct publicKey, shortId, SNI, and fingerprint. Disabling Reality restores connectivity.
Relevant logs
2026/06/05 16:28:38.041425 [Info] transport/internet/tcp: REALITY: processed invalid connection from 109.94.21.160:64950: failed to read client hello
2026/06/05 16:28:56.030605 [Info] transport/internet/tcp: REALITY: processed invalid connection from 109.94.21.160:64951: failed to read client hello
2026/06/05 16:29:17.074246 [Info] transport/internet/tcp: REALITY: processed invalid connection from 109.94.21.160:64979: failed to read client hello
Screenshots
No response
3x-ui version
3.2.8
Xray-core version
v26.6.1
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 24.04
Which parts of the panel are affected?
No response
Browser (only if it is a UI bug)
No response
Is the panel behind a reverse proxy or CDN?
None
Before submitting
Describe the bug
When creating a VLESS inbound with
security: reality, clients cannot connect and the server logs showREALITY: processed invalid connection from <client IP>: failed to read client hello. However, if I change the inbound's security tonone(keeping all other settings identical), the connection works immediately. The same client configuration works only when Reality is disabled.How to reproduce the problem
uBswDPCGA4joMeW4kbREVJwFvOhIYraUx2kyP7160Tc, privateKey:wEl2fJL9QwbdsKseUrs5mtq6JitCxStEMxcZ2IkhMEg)www.amd.com:443["www.amd.com"]["ea55","c1224a","2604bcf6a336","c7e9ab71","230bc53a5a","cdc23d02bf4d8a","18","d7b09df8dc5fbc78"]chromextls-rprx-vision3993aaad-549e-465c-a01f-34f7e5f192aband same flow.tail -f /var/log/x-ui/error.logshows repeatedREALITY: processed invalid connection from <client IP>: failed to read client hello.realitytonone(keep everything else the same), regenerate client link, and the client connects immediately.Expected behavior
The client should connect successfully with Reality enabled, just as it does when security is set to
none. The handshake should complete withoutfailed to read client hello.Actual behavior
The client fails to connect. Server logs show
failed to read client hellodespite correct publicKey, shortId, SNI, and fingerprint. Disabling Reality restores connectivity.Relevant logs
Screenshots
No response
3x-ui version
3.2.8
Xray-core version
v26.6.1
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 24.04
Which parts of the panel are affected?
No response
Browser (only if it is a UI bug)
No response
Is the panel behind a reverse proxy or CDN?
None
Before submitting