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

No server found, verify your proxy/network #132

Open
bdydrp opened this issue Sep 14, 2022 · 16 comments
Open

No server found, verify your proxy/network #132

bdydrp opened this issue Sep 14, 2022 · 16 comments

Comments

@bdydrp
Copy link

bdydrp commented Sep 14, 2022

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

@philly1993
Copy link

philly1993 commented Sep 14, 2022

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

return nextServer(new Error('No server found, verify your proxy/network'));

@ryanmccartney
Copy link

Also seeing this issue on 1.6.2.

@darvvin
Copy link

darvvin commented Sep 22, 2022

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.

@stefanmck
Copy link

Same problem here

@bugsounet
Copy link

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

@stefanmck
Copy link

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.

@philly1993
Copy link

philly1993 commented Oct 6, 2022

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?

@bdydrp
Copy link
Author

bdydrp commented Oct 6, 2022

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

@VDenisyuk
Copy link

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.

@KennethGrainger
Copy link

KennethGrainger commented Mar 17, 2023

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
Copy link

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.

@rbonestell
Copy link

@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.

@adamk
Copy link

adamk commented Sep 24, 2023

sudo speedtest-net --accept-license

Solved it for me

@adamk
Copy link

adamk commented Sep 24, 2023

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?

@KennethGrainger
Copy link

@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.

@philly1993
Copy link

philly1993 commented Sep 25, 2023 via email

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

No branches or pull requests

10 participants