You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrating from VLESS+REALITY to VLESS+XHTTP behind Nginx (no CDN) to allow automatic TLS 1.2 fallback when TLS 1.3 is throttled/blocked.
Connection does not establish; Xray reports a XHTTP accept error.
Last repro: 2025-07-31 22:52:50–22:52:59 (client log shows +0300; server TZ is Europe/Berlin, UTC+02:00)
Environment
Component
Version
Nginx
1.29.0
3x-ui / Xray
v2.6.2 / v25.7.26
v2rayN
7.13.5
OS
Debian 12.11 (Bookworm)
Network constraints
TLS 1.3 to VPN endpoints is intermittently blocked; Cloudflare is heavily throttled
Topology: client —TLS(h2/h3)→ Nginx:443 —HTTP/2 (grpc_pass)→ Xray (VLESS+XHTTP) @ 127.0.0.1:57577 Goal: Keep TLS 1.3 when available; gracefully fall back to TLS 1.2 without CDN.
Expected
Client connects via VLESS+XHTTP through Nginx (TLS 1.2 or 1.3) and proxy works.
Actual
Client fails to connect. Xray logs XHTTP accept error (see Diagnostics).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Migrating from VLESS+REALITY to VLESS+XHTTP behind Nginx (no CDN) to allow automatic TLS 1.2 fallback when TLS 1.3 is throttled/blocked.
Connection does not establish; Xray reports a XHTTP accept error.
+0300
; server TZ is Europe/Berlin, UTC+02:00)Environment
Topology: client —TLS(h2/h3)→ Nginx:443 —HTTP/2 (grpc_pass)→ Xray (VLESS+XHTTP) @
127.0.0.1:57577
Goal: Keep TLS 1.3 when available; gracefully fall back to TLS 1.2 without CDN.
Expected
Client connects via VLESS+XHTTP through Nginx (TLS 1.2 or 1.3) and proxy works.
Actual
Client fails to connect. Xray logs XHTTP accept error (see Diagnostics).
Minimal configs (sanitized)
Nginx
Xray inbound (VLESS+XHTTP)
Client (v2rayN)
Diagnostics
Client logs (v2rayN/Xray) around failure
What I’ve tried (checklist)
path
across client/Nginx/Xray (/apiv1
)location = /apiv1
→location /apiv1/
Attachments
Beta Was this translation helpful? Give feedback.
All reactions