NekoBoxForAndroid icon indicating copy to clipboard operation
NekoBoxForAndroid copied to clipboard

BUG: VLESS + XHTTP transport establishes connection but receives 0 Bytes (Data Reception Failure)

Open LynchTime opened this issue 7 months ago • 0 comments

Describe the problem When configuring a VLESS proxy with the new XHTTP transport layer in NekoBox, the client successfully initiates the connection (ping is responsive, and outgoing/upload traffic increments). However, the download/incoming traffic remains completely dead at 0 B. This looks like a severe protocol mismatch or an ALPN/header parsing failure between the GUI's configuration generation and the underlying sing-box core's XHTTP implementation.

Expected behavior: The VLESS+XHTTP tunnel should allow bi-directional data flow. The exact same URI/configuration works flawlessly in v2rayNG and Karing (which rely on the native Xray-core), meaning the server-side configuration is perfectly healthy and the transport is functional.

Actual behavior: Traffic is entirely unidirectional. Upload traffic goes out and reaches the server, but exactly 0 Bytes are received. The connection is effectively hanging after the initial transport handshake, implying the sing-box core fails to properly process the incoming XHTTP payload generated by the Xray server, dropping the packets silently.

How to reproduce Import a fully functional VLESS + XHTTP (+ Reality) configuration link.

Ensure the NekoBox core is operating on sing-box (the default in current builds).

Connect to the profile.

Attempt to browse any website or initiate a connection test.

Observe the traffic counter at the bottom of the screen: Upload (Outbound) shows activity, while Download (Inbound) is strictly locked at 0 B.

LOG NB4A 2244526126548918512.log

Screen Image

LynchTime avatar Apr 17 '26 10:04 LynchTime