Updated to new Active server list
I have made an update to use I have updated the src to use a new URL for fetching active servers.
@sivel Check the request
我在香港,测速找不到对应的测速节点,这个pr能够修复这个问题吗? ./speedtest.py --list Retrieving speedtest.net configuration... 1345) Fort Hays State Univ (Hays, KS, United States) [12371.99 km] 30043) Cunningham Fiber/North Central Kansas Community Network (Beloit, KS, United States) [12373.75 km] 7407) Cunningham Fiber/North Central Kansas Community Network (Glen Elder, KS, United States) [12373.75 km] 3753) Wamego Telephone Company (Wamego, KS, United States) [12479.07 km] 45720) Mutual Telephone Company (McPherson, KS, United States) [12497.16 km] 16623) Cox - Wichita (Wichita, KS, United States) [12576.38 km] 54464) Ideatek Telcom (Wichita, KS, United States) [12576.38 km] 61172) USA Connections (Wellington, KS, United States) [12615.13 km] 32149) Wake Wireless (Bartlesville, OK, United States) [12728.48 km] 20013) OneNet (Tulsa, OK, United States) [12784.63 km]
我在香港,测速找不到对应的测速节点,这个pr能够修复这个问题吗? ./speedtest.py --list Retrieving speedtest.net configuration... 1345) Fort Hays State Univ (Hays, KS, United States) [12371.99 km] 30043) Cunningham Fiber/North Central Kansas Community Network (Beloit, KS, United States) [12373.75 km] 7407) Cunningham Fiber/North Central Kansas Community Network (Glen Elder, KS, United States) [12373.75 km] 3753) Wamego Telephone Company (Wamego, KS, United States) [12479.07 km] 45720) Mutual Telephone Company (McPherson, KS, United States) [12497.16 km] 16623) Cox - Wichita (Wichita, KS, United States) [12576.38 km] 54464) Ideatek Telcom (Wichita, KS, United States) [12576.38 km] 61172) USA Connections (Wellington, KS, United States) [12615.13 km] 32149) Wake Wireless (Bartlesville, OK, United States) [12728.48 km] 20013) OneNet (Tulsa, OK, United States) [12784.63 km]
Yes, it could help.
Yes, it could help.
@1ras 根据这位朋友提供的帮助,增加 --secure 选项,在现有的speedtest.py代码里解决了这个问题,现在可以正常输出香港的测速节点
[root@admin ~]# ./speedtest.py --list
Retrieving speedtest.net configuration...
1345) Fort Hays State Univ (Hays, KS, United States) [12371.99 km]
30043) Cunningham Fiber/North Central Kansas Community Network (Beloit, KS, United States) [12373.75 km]
7407) Cunningham Fiber/North Central Kansas Community Network (Glen Elder, KS, United States) [12373.75 km]
3753) Wamego Telephone Company (Wamego, KS, United States) [12479.07 km]
45720) Mutual Telephone Company (McPherson, KS, United States) [12497.16 km]
16623) Cox - Wichita (Wichita, KS, United States) [12576.38 km]
54464) Ideatek Telcom (Wichita, KS, United States) [12576.38 km]
61172) USA Connections (Wellington, KS, United States) [12615.13 km]
32149) Wake Wireless (Bartlesville, OK, United States) [12728.48 km]
20013) OneNet (Tulsa, OK, United States) [12784.63 km]
[root@admin ~]# ./speedtest.py --list --secure
Retrieving speedtest.net configuration...
43356) 1010 (Hong Kong, Hong Kong) [0.92 km]
37695) China Unicom Global Ltd (Hong Kong, Hong Kong) [1.82 km]
63143) Netvigator (Hong Kong, Hong Kong) [2.77 km]
1536) STC (Hong Kong, Hong Kong) [3.92 km]
14333) Sakura Clouds LLC (Hong Kong, Hong Kong) [3.92 km]
44745) Misaka Network, Inc. (Hong Kong, Hong Kong) [3.92 km]
57779) ラタトスク (Hong Kong, Hong Kong) [3.92 km]
60178) Sun Mobile (Hong Kong, Hong Kong) [3.92 km]
62193) CTCSCI TECH LTD (Hong Kong, Hong Kong) [3.92 km]
32155) CMHK Mobile Service (Hong Kong, Hong Kong) [3.96 km]
I use it now since two weeks and this patch works great!
Please ignore my comment above regarding the http:// address for the server URL. I've tested it and when https is used, the ping times increase dramatically due to the TLS negotiation. That's most likely not what's expected, so leaving it as http even with the secure option enabled should be fine.
@1265578519 I am not sure if I fully understand your comment, but this pull request and the --secure option are not the same thing. With the original version and --secure there are still many missing servers. If your closest server (Hong Kong) shows up with the --secure option, then it's more of a coincidence.
Should this be merged ? It would be great to be able to use it again !
Why is this PR still open?
Why is this PR still open?
Its ready to merge...
Is this software still maintained ? The latest update is 4 years old...
I switched to Ookla's CLI tool (https://www.speedtest.net/apps/cli). Caveat : they collect personal infos, like IP addresses.
Is this software still maintained ? The latest update is 4 years old...
It is not maintained by the creator...
@PeterLinuxOSS : I just installed your fork (https://github.com/PeterLinuxOSS/speedtest-cli). It works fine, thanks !