[Bug]: Real Delay test considers Unexpected EOF and HTTP 526 and 521 as success #5205
Closed
2 tasks done
Labels
bug
Something isn't working
预期情况
When HTTP response status code 526 or 521 is received in Real Delay testing, The delay column should be -1
实际情况
When HTTP response status code 526 or 521 is received in Real Delay testing, The delay column is some positive integer.
复现方法
Create a vless+ws+tls+cdn which will fail with HTTP response status code:
Invalid SSL certificate Error code 526 or Web server is down Error code 521
Test config using Real Delay
日志信息
Initial Configuration
Start service (2024/06/08 17:36:11)...
*configSpeedtest.json
Xray 1.8.11 (Xray, Penetrates Everything.) 45ab4cb (go1.22.2 windows/amd64)
A unified platform for anti-censorship.
2024/06/08 17:36:11 [Info] infra/conf/serial: Reading config: configSpeedtest.json
2024/06/08 17:36:11 [Debug] app/log: Logger started
2024/06/08 17:36:11 [Debug] app/proxyman/inbound: creating stream worker on 127.0.0.1:10829
2024/06/08 17:36:11 [Info] transport/internet/tcp: listening TCP on 127.0.0.1:10829
2024/06/08 17:36:11 [Warning] core: Xray 1.8.11 started
2024/06/08 17:36:12 [Info] [3300009408] proxy/http: request to Method [GET] Host [www.gstatic.com] with URL [http://www.gstatic.com/generate_204]
2024/06/08 17:36:12 [Info] [3300009408] app/dispatcher: taking detour [proxy10829] for [tcp:www.gstatic.com:80]
2024/06/08 17:36:12 127.0.0.1:57124 accepted http://www.gstatic.com/generate_204 [http10829 -> proxy10829]
2024/06/08 17:36:12 [Info] [3300009408] transport/internet/websocket: creating connection to tcp:REDACTED:443
2024/06/08 17:36:12 [Info] [3300009408] proxy/vless/outbound: tunneling request to tcp:www.gstatic.com:80 via REDACTED:443
2024/06/08 17:36:12 [Debug] transport/internet: dialing to tcp:REDACTED:443
2024/06/08 17:36:13 [Warning] [3300009408] app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: connection ends > proxy/vless/outbound: failed to write A request payload > transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (wss://REDACTED/REDACTED): 526 > websocket: bad handshake
2024/06/08 17:36:13 [Warning] [3300009408] proxy/http: failed to read response from www.gstatic.com > io: read/write on closed pipe
额外信息
v2rayN 6.45
我确认已更新至最新版本
我确认已查询历史issues
The text was updated successfully, but these errors were encountered: