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

Speedtest.net integrity server list is is outdated #116293

Open
dohun0310 opened this issue Apr 27, 2024 · 2 comments
Open

Speedtest.net integrity server list is is outdated #116293

dohun0310 opened this issue Apr 27, 2024 · 2 comments

Comments

@dohun0310
Copy link

dohun0310 commented Apr 27, 2024

The problem

Speedtestdotnet intergrity now use speedtest-cli. The module uses the following to fetch the list.

https://www.speedtest.net/speedtest-servers-static.php, https://www.speedtest.net/speedtest-servers.php

However, they are too old to bring up the newer servers. Now we have to use it.

https://www.speedtest.net/api/js/servers

How to fix it?

It is https://www.speedtest.net/speedtest-servers-static.php list

<settings>
<servers>
<server url="http://5g.shunicomtest.com:8088/speedtest/upload.php" lat="31.2000" lon="121.5000" name="Shanghai" country="China" cc="CN" sponsor="China Unicom 5G" id="24447" host="5g.shunicomtest.com:8088"/>
<server url="http://speedtest3.online.tj.cn:8080/speedtest/upload.php" lat="39.1333" lon="117.1833" name="TianJin" country="China" cc="CN" sponsor="ChinaUnicom-5G" id="27154" host="speedtest3.online.tj.cn:8080"/>
<server url="http://speedtest.vladlink.ru:8080/speedtest/upload.php" lat="43.1318" lon="131.9235" name="Vladivostok" country="Russia" cc="RU" sponsor="Vladlink" id="7403" host="speedtest.vladlink.ru:8080"/>
<server url="http://speedtest.inetvl.ru:8080/speedtest/upload.php" lat="43.1318" lon="131.9235" name="Vladivostok" country="Russia" cc="RU" sponsor="Alyans Telekom" id="3805" host="speedtest.inetvl.ru:8080"/>
<server url="http://speedtest1.ah163.com:8080/speedtest/upload.php" lat="31.8667" lon="117.2833" name="Hefei" country="China" cc="CN" sponsor="China Telecom AnHui 5G" id="17145" host="speedtest1.ah163.com:8080"/>
<server url="https://speedtest.sbline.it:8080/speedtest/upload.php" lat="44.5956" lon="132.8303" name="Spassk-Dal'niy" country="Russia" cc="RU" sponsor="SBLine" id="33728" host="speedtest.sbline.it:8080"/>
<server url="http://speedtest-xg-oki.glbb.ne.jp:8080/speedtest/upload.php" lat="26.2122" lon="127.6792" name="Naha" country="Japan" cc="JP" sponsor="GLBB Japan" id="21118" host="speedtest-xg-oki.glbb.ne.jp:8080"/>
<server url="http://sp1.atcc-gns.net:8080/speedtest/upload.php" lat="35.7333" lon="139.3333" name="Fussa-shi" country="Japan" cc="JP" sponsor="Allied Telesis Capital Corporation" id="6087" host="sp1.atcc-gns.net:8080"/>
<server url="http://speedtest.jp230.hnd.jp.ctcsci.com:8080/speedtest/upload.php" lat="35.6833" lon="139.6833" name="Tokyo" country="Japan" cc="JP" sponsor="CTCSCI TECH LTD" id="62217" host="speedtest.jp230.hnd.jp.ctcsci.com:8080"/>
<server url="https://speed.udx.icscoe.jp:8080/speedtest/upload.php" lat="35.6940" lon="139.7538" name="Tokyo" country="Japan" cc="JP" sponsor="IPA CyberLab 400G" id="48463" host="speed.udx.icscoe.jp:8080"/>
</servers>
</settings>

It is https://www.speedtest.net/api/js/servers list

[
  {
    "url": "https://vult-kr.host.speedtest.net:8080/speedtest/upload.php",
    "lat": "37.5833",
    "lon": "127.0000",
    "distance": 11,
    "name": "Seoul",
    "country": "South Korea",
    "cc": "KR",
    "sponsor": "Ookla",
    "id": "5249",
    "preferred": 0,
    "https_functional": 1,
    "host": "vult-kr.host.speedtest.net:8080"
  },
  {
    "url": "http://speedtest.kdatacenter.com:8080/speedtest/upload.php",
    "lat": "37.5833",
    "lon": "127.0000",
    "distance": 11,
    "name": "Seoul",
    "country": "South Korea",
    "cc": "KR",
    "sponsor": "kdatacenter.com",
    "id": "6527",
    "preferred": 0,
    "https_functional": 1,
    "host": "speedtest.kdatacenter.com.prod.hosts.ooklaserver.net:8080"
  },
  {
    "url": "http://speedtest.vladlink.ru:8080/speedtest/upload.php",
    "lat": "43.1318",
    "lon": "131.9235",
    "distance": 452,
    "name": "Vladivostok",
    "country": "Russia",
    "cc": "RU",
    "sponsor": "Vladlink",
    "id": "7403",
    "preferred": 0,
    "https_functional": 1,
    "host": "speedtest.vladlink.ru:8080"
  },
  {
    "url": "http://speedtest.inetvl.ru:8080/speedtest/upload.php",
    "lat": "43.1318",
    "lon": "131.9235",
    "distance": 452,
    "name": "Vladivostok",
    "country": "Russia",
    "cc": "RU",
    "sponsor": "Alyans Telekom",
    "id": "3805",
    "preferred": 0,
    "https_functional": 1,
    "host": "speedtest.inetvl.ru.prod.hosts.ooklaserver.net:8080"
  },
  {
    "url": "http://vvosp1.dv.rt.ru:8080/speedtest/upload.php",
    "lat": "43.1318",
    "lon": "131.9235",
    "distance": 452,
    "name": "Vladivostok",
    "country": "Russia",
    "cc": "RU",
    "sponsor": "Rostelecom",
    "id": "25204",
    "preferred": 0,
    "https_functional": 1,
    "host": "vvosp1.dv.rt.ru.prod.hosts.ooklaserver.net:8080"
  },
  {
    "url": "http://speedtest.vladivostok.ertelecom.ru:8080/speedtest/upload.php",
    "lat": "43.1318",
    "lon": "131.9235",
    "distance": 452,
    "name": "Vladivostok",
    "country": "Russia",
    "cc": "RU",
    "sponsor": "DOM.RU",
    "id": "27277",
    "preferred": 0,
    "https_functional": 1,
    "host": "speedtest.vladivostok.ertelecom.ru.prod.hosts.ooklaserver.net:8080"
  },
  {
    "url": "http://vldvst.st.mtsws.net:8080/speedtest/upload.php",
    "lat": "43.1318",
    "lon": "131.9235",
    "distance": 452,
    "name": "Vladivostok",
    "country": "Russia",
    "cc": "RU",
    "sponsor": "MTS",
    "id": "54169",
    "preferred": 0,
    "https_functional": 1,
    "host": "vldvst.st.mtsws.net.prod.hosts.ooklaserver.net:8080"
  },
  {
    "url": "http://yssyr.speedtest.vladlink.ru:8080/speedtest/upload.php",
    "lat": "43.8000",
    "lon": "131.9667",
    "distance": 492,
    "name": "Ussuriysk",
    "country": "Russia",
    "cc": "RU",
    "sponsor": "Vladlink",
    "id": "10177",
    "preferred": 0,
    "https_functional": 1,
    "host": "yssyr-speedtest.vladlink.ru:8080"
  },
  {
    "url": "http://speedtest3.online.tj.cn:8080/speedtest/upload.php",
    "lat": "39.1333",
    "lon": "117.1833",
    "distance": 544,
    "name": "TianJin",
    "country": "China",
    "cc": "CN",
    "sponsor": "ChinaUnicom-5G",
    "id": "27154",
    "preferred": 0,
    "host": "speedtest3.online.tj.cn:8080"
  },
  {
    "url": "http://5g.shunicomtest.com:8088/speedtest/upload.php",
    "lat": "31.2000",
    "lon": "121.5000",
    "distance": 552,
    "name": "Shanghai",
    "country": "China",
    "cc": "CN",
    "sponsor": "China Unicom 5G",
    "id": "24447",
    "preferred": 0,
    "https_functional": 1,
    "host": "5g.shunicomtest.com.prod.hosts.ooklaserver.net:8088"
  },
  {
    "url": "http://speedtest.dukekunshan.edu.cn:8080/speedtest/upload.php",
    "lat": "31.3856",
    "lon": "120.9807",
    "distance": 559,
    "name": "Kunshan",
    "country": "China",
    "cc": "CN",
    "sponsor": "Duke Kunshan University",
    "id": "30852",
    "preferred": 0,
    "https_functional": 1,
    "host": "speedtest.dukekunshan.edu.cn:8080"
  },
  {
    "url": "https://speedtest.sbline.it:8080/speedtest/upload.php",
    "lat": "44.5956",
    "lon": "132.8303",
    "distance": 561,
    "name": "Spassk-Dal'niy",
    "country": "Russia",
    "cc": "RU",
    "sponsor": "SBLine",
    "id": "33728",
    "preferred": 0,
    "https_functional": 1,
    "host": "speedtest.sbline.it:8080"
  },
  {
    "url": "http://5gzhenjiang.speedtest.jsinfo.net:8080/speedtest/upload.php",
    "lat": "32.2069",
    "lon": "119.4490",
    "distance": 576,
    "name": "Zhenjiang",
    "country": "China",
    "cc": "CN",
    "sponsor": "China Telecom JiangSu 5G",
    "id": "36663",
    "preferred": 0,
    "https_functional": 1,
    "host": "5gzhenjiang.speedtest.jsinfo.net.prod.hosts.ooklaserver.net:8080"
  },
  {
    "url": "http://speedtest2.niutk.com:8080/speedtest/upload.php",
    "lat": "31.4912",
    "lon": "120.3119",
    "distance": 578,
    "name": "Wu Xi",
    "country": "China",
    "cc": "CN",
    "sponsor": "China Unicom",
    "id": "45170",
    "preferred": 0,
    "https_functional": 1,
    "host": "speedtest2.niutk.com.prod.hosts.ooklaserver.net:8080"
  },
  {
    "url": "http://4gsuzhou1.speedtest.jsinfo.net:8080/speedtest/upload.php",
    "lat": "31.2990",
    "lon": "120.5853",
    "distance": 578,
    "name": "Suzhou",
    "country": "China",
    "cc": "CN",
    "sponsor": "China Telecom JiangSu 5G",
    "id": "5396",
    "preferred": 0,
    "https_functional": 1,
    "host": "4gsuzhou1.speedtest.jsinfo.net.prod.hosts.ooklaserver.net:8080"
  },
  {
    "url": "https://beijing.unicomtest.com:8080/speedtest/upload.php",
    "lat": "39.9042",
    "lon": "116.4074",
    "distance": 594,
    "name": "Beijing",
    "country": "China",
    "cc": "CN",
    "sponsor": "BJ Unicom",
    "id": "43752",
    "preferred": 0,
    "host": "beijing.unicomtest.com:8080"
  },
  {
    "url": "http://speedtest.bmcc.com.cn:8080/speedtest/upload.php",
    "lat": "39.9139",
    "lon": "116.3917",
    "distance": 594,
    "name": "Beijing",
    "country": "China",
    "cc": "CN",
    "sponsor": "China Mobile Group Beijing Co.Ltd",
    "id": "25858",
    "preferred": 0,
    "https_functional": 1,
    "host": "speedtest.bmcc.com.cn.prod.hosts.ooklaserver.net:8080"
  },
  {
    "url": "http://5gnanjing.speedtest.jsinfo.net:8080/speedtest/upload.php",
    "lat": "32.0500",
    "lon": "118.7667",
    "distance": 613,
    "name": "Nanjing",
    "country": "China",
    "cc": "CN",
    "sponsor": "China Telecom JiangSu 5G",
    "id": "26352",
    "preferred": 0,
    "host": "5gnanjing.speedtest.jsinfo.net:8080"
  },
  {
    "url": "http://cesu-nb.zjtelecom.com.cn:8080/speedtest/upload.php",
    "lat": "29.8683",
    "lon": "121.5440",
    "distance": 630,
    "name": "NingBo",
    "country": "China",
    "cc": "CN",
    "sponsor": "浙江电信",
    "id": "59387",
    "preferred": 0,
    "https_functional": 1,
    "host": "cesu-nb.zjtelecom.com.cn.prod.hosts.ooklaserver.net:8080"
  },
  {
    "url": "http://speedtest.139play.com:8080/speedtest/upload.php",
    "lat": "30.2741",
    "lon": "120.1552",
    "distance": 650,
    "name": "Hangzhou",
    "country": "China",
    "cc": "CN",
    "sponsor": "China Mobile Zhejiang 5G",
    "id": "54312",
    "preferred": 0,
    "https_functional": 1,
    "host": "speedtest.139play.com.prod.hosts.ooklaserver.net:8080"
  }
]

And the owner of speedtest-cli seems to have given up on updating it.

What version of Home Assistant Core has the issue?

All version

What was the last working version of Home Assistant Core?

All version

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Can't fetch newer Speedtest server.

Link to integration documentation on our website

https://www.home-assistant.io/integrations/speedtestdotnet/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

Hey there @rohankapoorcom, @engrbm87, mind taking a look at this issue as it has been labeled with an integration (speedtestdotnet) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of speedtestdotnet can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign speedtestdotnet Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


speedtestdotnet documentation
speedtestdotnet source
(message by IssueLinks)

@dohun0310
Copy link
Author

@rohankapoorcom, @engrbm87 Hello? Are you there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants