Closed ghost closed 5 years ago
@devildant
Hello,
I use the speedtest with proxy every day and I have no problem, and, this is not an error because of the new proxy option. it's an xml parse error @ddsol @AdamSWheatley your proxy exist ? Is not this a proxy with authentication? if your proxy requires an auth it is possible that it redirects to a web page you can try to set the proxy with a login / password. for example : speedtest-net --proxy "http://**login:password@**example.com:80"
I use the proxy for other applications and definitely exists lol, It doesn't have any authentication. I assume it's a parse error with the proxy string, the only difference it has than the example provided is it has several dots, so http://test.one.uk.com:80 (not actually it)
i reproduce the problem with var test = speedTest({maxTime: 5000, proxy : "http://test.one.uk.com:80"}); but i don"t understand how work your proxy, you take the html content, that's why it does not work. this is not a problem with proxy management by the speedtest module. it may be a DNS problem, try to fill in the ip of your proxy in parameter to speed test module
Better error added in #54
Fixed in #82
Hello,
I am trying to use the proxy feature, and I get an unexpected close tag anyway I run it.
I have tried speedtest-net --proxy "http://example.com:80"
I have also tried doing it directly in the code using
var test = speedTest({maxTime: 5000, proxy : "http://example.com:80"});
The error is as follows: