speedtest.net icon indicating copy to clipboard operation
speedtest.net copied to clipboard

No server found, verify your proxy/network

Open bdydrp opened this issue 3 years ago • 16 comments

I have had this working in node red for quite some time, and up until recently i kept getting an error: "No server found, verify your proxy/network" image

Nothing has changed at all with my network so wondering what is causing this error?

I have tried setting a specific server ID but no go

bdydrp avatar Sep 14 '22 12:09 bdydrp

I am also seeing this as well in 1.6.2. This issue seemed to just appear yesterday for me.

Looks like it relates to https://github.com/ddsol/speedtest.net/blob/90fcc3599316289f6f078ae8241ecc45d9f3a01b/index.js#L649

philly1993 avatar Sep 14 '22 23:09 philly1993

Also seeing this issue on 1.6.2.

ryanmccartney avatar Sep 19 '22 15:09 ryanmccartney

I had this running with a script every 30 minutes. The last successful run was Sept 16 at 4:30pm(EST). "No server found, verify your proxy/network" ever since then.

darvvin avatar Sep 22 '22 14:09 darvvin

Same problem here

stefanmck avatar Oct 01 '22 13:10 stefanmck

I think the real question is ... why using v1.6.2 ? because release is v2.2.0 and works fine :)

bugsounet avatar Oct 05 '22 15:10 bugsounet

After accepting (see belwo) it works fine again

CLI options Usage: speedtest-net [-h|--help] [--accept-license] [--server-id ] [--source-ip ]

-h, --help: Help --accept-license: Accept the Ookla EULA, TOS and Privacy policy. The terms only need to be accepted once. --accept-gdpr: Accept the Ookla GDPR terms. The terms only need to be accepted once.

stefanmck avatar Oct 05 '22 17:10 stefanmck

I tried passing in those accept params in the terminal and it didn’t work for me.

Do you have a code example of the package returning the results?

philly1993 avatar Oct 06 '22 00:10 philly1993

I removed the package from node red, and re-installed. Accepted the T&C and is now working!

bdydrp avatar Oct 06 '22 04:10 bdydrp

Seems that SpeedTest php endpoints do not return proper XML with config and server list anymore. They return a message, that the request limit has been exceeded from your IP. Therefore, no servers found message appears.

VDenisyuk avatar Dec 13 '22 16:12 VDenisyuk

I've been going around on this problem. Lots of suggestions that almost work. I'm running MagicMirror with Internet-Monitor, which includes speedtest-net.
The speedtest used to work, which I presume was before Speedtest added/changed the license. If you don't accept the license, then it doesn't return a valuable response. I was able to get 2.2.0 kinda working, but I had to change the options in index.js to get it to work. I had to sudo ./bin/index.js. Then the test will run.

If I install the global cli, it will run with --accept-license. But, I can't seem to get it to run with 1.6.2. It's unclear on 1.6.2, where to put the options in so they work. There are some in various places in ./index.js, but nothing I've tried has worked. The workarounds don't really resolve problems when running it as a module.

KennethGrainger avatar Mar 17 '23 20:03 KennethGrainger

After going through manually updating the node_module to 2.2.0, and some other dependencies for lzma and decompress-tarxz, I was able to get this working. It'll probably get stepped on if I update it again. Might have to walk through some of the package-lock.json files if it rolls back the version.

KennethGrainger avatar Mar 19 '23 17:03 KennethGrainger

@KennethGrainger Can you provide the libraries and versions you changed? Perhaps they can be added as overrides in our projects to get them working again. I've upgraded this dep to v2.2.0 but still get this error when running on a ras pi 4.

rbonestell avatar May 25 '23 03:05 rbonestell

sudo speedtest-net --accept-license

Solved it for me

adamk avatar Sep 24 '23 02:09 adamk

Seems that SpeedTest php endpoints do not return proper XML with config and server list anymore. They return a message, that the request limit has been exceeded from your IP. Therefore, no servers found message appears.

@VDenisyuk Do you know how to fix this?

adamk avatar Sep 24 '23 15:09 adamk

@KennethGrainger Can you provide the libraries and versions you changed? Perhaps they can be added as overrides in our projects to get them working again. I've upgraded this dep to v2.2.0 but still get this error when running on a ras pi 4.

Yeah, I went through and tried to go through it all logically, step by step, trying to remove deprecation warnings and module mismatches. The who process is infuriating. I do know that I did manually run speedtest-net with sudo and --accept-license like adamk was mentioning. I have one machine running, and another that is broken. When I made it work the first time, I was just poking around all over the place getting rid of warnings. I'm not really well versed in Node. If the license is accepted, it seems that all following calls work correctly. I can't find any real explanation on what the --accept-license does, or where is stores that information.

KennethGrainger avatar Sep 25 '23 21:09 KennethGrainger

I think I have a solution - need to grab from my server but will report back with what worked for me. On Sep 24, 2023, at 11:18 AM, Adam Kimbrough @.***> wrote:

Seems that SpeedTest php endpoints do not return proper XML with config and server list anymore. They return a message, that the request limit has been exceeded from your IP. Therefore, no servers found message appears.

Do you know how to fix this?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

philly1993 avatar Sep 25 '23 21:09 philly1993