Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Real Delay test considers Unexpected EOF and HTTP 526 and 521 as success #5205

Open
2 tasks done
pulsarice opened this issue Jun 8, 2024 · 1 comment
Open
2 tasks done
Labels
bug Something isn't working

Comments

@pulsarice
Copy link

pulsarice commented Jun 8, 2024

预期情况

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
image

日志信息

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

@pulsarice pulsarice added the bug Something isn't working label Jun 8, 2024
@pulsarice
Copy link
Author

Also unexpected EOF errors don't show -1 as delay value.

@pulsarice pulsarice changed the title [Bug]: Real Delay test considers HTTP 526 and 521 as success [Bug]: Real Delay test considers Unexpected EOF and HTTP 526 and 521 as success Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant