Skip to content

代理开着的情况下无法下载测速(测速地址已添加域名白名单) #635

@HenTele

Description

@HenTele

问题描述

homeproxy开着的情况下(cf.xiu2.xyz和speed.cloudflare.com都在域名白名单里),wget下载测速地址-正常,版本更新检查-正常,延时测试-正常,下载测速始终提示超时(http和https的地址都不行)(cf.xiu2.xyz和speed.cloudflare.com的测速地址,都是一样的报错)

wget-http

wget -O /dev/null 'http://speed.cloudflare.com/__down?bytes=10485760'
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2026-03-24 08:43:51--  http://speed.cloudflare.com/__down?bytes=10485760
Resolving speed.cloudflare.com... 2606:4700:7::da, 2a06:98c1:58::da, 162.159.140.220, ...
Connecting to speed.cloudflare.com|2606:4700:7::da|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: ‘/dev/null’

/dev/null                              [            <=>                                                  ]  10.00M  4.08MB/s    in 2.5s    

2026-03-24 08:43:56 (4.08 MB/s) - ‘/dev/null’ saved [10485760]

wget-https

wget -O /dev/null 'https://speed.cloudflare.com/__down?bytes=10485760'
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled.
--2026-03-24 08:49:33--  https://speed.cloudflare.com/__down?bytes=10485760
Resolving speed.cloudflare.com... 2606:4700:7::da, 2a06:98c1:58::da, 162.159.140.220, ...
Connecting to speed.cloudflare.com|2606:4700:7::da|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: ‘/dev/null’

/dev/null                              [            <=>                                                  ]  10.00M  3.57MB/s    in 2.8s    

2026-03-24 08:49:37 (3.57 MB/s) - ‘/dev/null’ saved [10485760]

检查版本更新

./cfst -v
v2.3.4
检查版本更新中...
当前为最新版本 [v2.3.4]!

测速

./cfst -url 'http://speed.cloudflare.com/__down?bytes=10485760' -sl 1 -tl 250 -dn 5 -f ./ip.txt -debug -tp 80                                                                                                                           
# XIU2/CloudflareSpeedTest v2.3.4                                                                                                           
                                                                                                                                            
开始延迟测速(模式:TCP, 端口:80, 范围:0 ~ 250 ms, 丢包:1.00)                                                                            
5955 / 5955 [-----------------------------------------------------------------------------------------------------------------] 可用: 4941  
开始下载测速(下限:1.00 MB/s, 数量:5, 队列:4941)                                                                                        
0 / 5 [_______________________________________________________________________________________________________________________]             
[调试] IP: 162.159.209.119, 下载测速失败,错误信息: Get "http://speed.cloudflare.com/__down?bytes=10485760": context deadline exceeded (Client.Timeout exceeded while awaiting headers), 下载测速地址: http://speed.cloudflare.com/__down?bytes=10485760                                
0 / 5 [_______________________________________________________________________________________________________________________]             
[调试] IP: 104.17.62.30, 下载测速失败,错误信息: Get "http://speed.cloudflare.com/__down?bytes=10485760": context deadline exceeded (Client.Timeout exceeded while awaiting headers), 下载测速地址: http://speed.cloudflare.com/__down?bytes=10485760                                   
0 / 5 [_______________________________________________________________________________________________________________________]             
^C
./cfst -debug 
# XIU2/CloudflareSpeedTest v2.3.4 

开始延迟测速(模式:TCP, 端口:443, 范围:0 ~ 9999 ms, 丢包:1.00)
5955 / 5955 [------------------------------------------------------------------------------------------------------------------------------------------------------------------] 可用: 2702  
开始下载测速(下限:0.00 MB/s, 数量:10, 队列:10)
0 / 10 [_______________________________________________________________________________________________________________________________________________________________________]
[调试] IP: 104.19.82.163, 下载测速失败,错误信息: Get "https://cf.xiu2.xyz/url": context deadline exceeded (Client.Timeout exceeded while awaiting headers), 下载测速地址: https://cf.xiu2.xyz/url
1 / 10 [----------------↘______________________________________________________________________________________________________________________________________________________]
[调试] IP: 104.25.162.197, 下载测速失败,错误信息: Get "https://cf.xiu2.xyz/url": context deadline exceeded (Client.Timeout exceeded while awaiting headers), 下载测速地址: https://cf.xiu2.xyz/url
2 / 10 [---------------------------------↗_____________________________________________________________________________________________________________________________________]
[调试] IP: 104.18.250.5, 下载测速失败,错误信息: Get "https://cf.xiu2.xyz/url": context deadline exceeded (Client.Timeout exceeded while awaiting headers), 下载测速地址: https://cf.xiu2.xyz/url
3 / 10 [--------------------------------------------------↙____________________________________________________________________________________________________________________]
[调试] IP: 104.27.93.140, 下载测速失败,错误信息: Get "https://cf.xiu2.xyz/url": context deadline exceeded (Client.Timeout exceeded while awaiting headers), 下载测速地址: https://cf.xiu2.xyz/url
4 / 10 [------------------------------------------------------------------↗____________________________________________________________________________________________________]
[调试] IP: 162.158.145.15, 下载测速失败,错误信息: Get "https://cf.xiu2.xyz/url": context deadline exceeded (Client.Timeout exceeded while awaiting headers), 下载测速地址: https://cf.xiu2.xyz/url
5 / 10 [-----------------------------------------------------------------------------------↙___________________________________________________________________________________]
[调试] IP: 104.16.185.9, 下载测速失败,错误信息: Get "https://cf.xiu2.xyz/url": context deadline exceeded (Client.Timeout exceeded while awaiting headers), 下载测速地址: https://cf.xiu2.xyz/url
6 / 10 [----------------------------------------------------------------------------------------------------↗__________________________________________________________________]
[调试] IP: 104.17.224.185, 下载测速失败,错误信息: Get "https://cf.xiu2.xyz/url": context deadline exceeded (Client.Timeout exceeded while awaiting headers), 下载测速地址: https://cf.xiu2.xyz/url
7 / 10 [--------------------------------------------------------------------------------------------------------------------↙__________________________________________________]
[调试] IP: 104.18.16.207, 下载测速失败,错误信息: Get "https://w.7rs.net/speedtest/?bytes=209715200": context deadline exceeded (Client.Timeout exceeded while awaiting headers), 下载测速地址: https://cf.xiu2.xyz/url, 出错的重定向后地址: https://w.7rs.net/speedtest/?bytes=209715200
8 / 10 [-------------------------------------------------------------------------------------------------------------------------------------↗_________________________________]
[调试] IP: 198.41.158.201, 下载测速失败,错误信息: Get "https://cf.xiu2.xyz/url": context deadline exceeded (Client.Timeout exceeded while awaiting headers), 下载测速地址: https://cf.xiu2.xyz/url
9 / 10 [------------------------------------------------------------------------------------------------------------------------------------------------------↙________________]
[调试] IP: 104.18.107.62, 下载测速失败,错误信息: Get "https://cf.xiu2.xyz/url": context deadline exceeded (Client.Timeout exceeded while awaiting headers), 下载测速地址: https://cf.xiu2.xyz/url
10 / 10 [----------------------------------------------------------------------------------------------------------------------------------------------------------------------]

IP 地址           已发送  已接收  丢包率  平均延迟  下载速度(MB/s)  地区码  
104.19.82.163     4       4       0.00    0.30      0.00            N/A     
104.25.162.197    4       4       0.00    0.34      0.00            N/A     
104.18.250.5      4       4       0.00    0.36      0.00            N/A     
104.27.93.140     4       4       0.00    0.38      0.00            N/A     
162.158.145.15    4       4       0.00    0.64      0.00            N/A     
104.16.185.9      4       4       0.00    0.64      0.00            N/A     
104.17.224.185    4       4       0.00    0.88      0.00            N/A     
104.18.16.207     4       4       0.00    0.89      0.00            N/A     
198.41.158.201    4       4       0.00    1.08      0.00            N/A     
104.18.107.62     4       4       0.00    1.15      0.00            N/A     

完整测速结果已写入 result.csv 文件,可使用记事本/表格软件查看。

homeproxy关闭时-正常

./cfst -url 'http://speed.cloudflare.com/__down?bytes=10485760' -sl 1 -tl 250 -dn 5 -f ./ip.txt -debug -tp 80
# XIU2/CloudflareSpeedTest v2.3.4 

开始延迟测速(模式:TCP, 端口:80, 范围:0 ~ 250 ms, 丢包:1.00)
5955 / 5955 [------------------------------------------------------------------------------------------------------------------------------------------------------------------] 可用: 2462  
开始下载测速(下限:1.00 MB/s, 数量:5, 队列:1518)
5 / 5 [------------------------------------------------------------------------------------------------------------------------------------------------------------------------]             
IP 地址           已发送  已接收  丢包率  平均延迟  下载速度(MB/s)  地区码  
162.159.44.72     4       4       0.00    51.65     7.77            NRT     
172.64.52.201     4       4       0.00    51.73     7.55            NRT     
162.159.39.98     4       4       0.00    53.73     6.01            NRT     
162.159.45.149    4       4       0.00    54.12     4.88            NRT     
162.159.38.142    4       4       0.00    53.57     4.84            NRT     

完整测速结果已写入 result.csv 文件,可使用记事本/表格软件查看。

软件版本

v2.3.4

附加截图

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    反馈问题某些功能失效 或 没有达到预期

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions