-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
Describe the bug
The xhttp version relies on the built-in HTTP API interface of the V2Ray/Xray core, rather than the gRPC method provided by Xray. By default, X-UI is designed to interact with Xray via gRPC to fetch data, so when the background service provides an xhttp interface, these gRPC calls will fail (unable to establish a connection or time out)
Expected behavior
If xhttp is used and X-UI does not receive a response from Xray-core for a period of time, it can cause the Xray-core process to crash or restart. X-UI loses access to Xray-core. The X-UI web panel cannot be entered
Log
Diary display: 2025/03/21 09:27:36 DEBUG - X-UI: Failed to query Xray stats:rpc error: code = DeadlineExceeded desc = context deadline exceeded while waiting for connections to become ready
2025/03/21 09:23:27 DEBUG - X-UI: Failed to fetch Xray traffic:rpc error: code = Canceled desc = grpc: the client connection is closing
Version (please complete the following information):
- 3X-UI Version : [v2.5.6]
- Xray Version : [v25.3.6]
- v2rayN Version : [v7.10.5]