Closed ghost closed 5 years ago
Fixed in #71
I'm having this same issue as well currently. It seems to ignore whatever serverId I'm putting in.
System: Windows 10 Pro 10.0.17134 Build 17134 Node: v10.16.0 speedtest-net Version: 6.9.0
I've tried this on an online editor. maxTime and proxy works, just not serverId.
Here's the link: https://repl.it/repls/DistinctEllipticalPlans
Code
var speedTest = require('speedtest-net');
var test = speedTest({maxTime: 5000 , serverId: '712'});
test.on('data', data => {
console.dir(data);
});
test.on('error', err => {
console.error(err);
});
Output
{ speeds: { download: 233.873, upload: 32.275, originalDownload: 25756989, originalUpload: 3542003 }, client: { ip: '34.68.43.41', lat: 37.751, lon: -97.822, isp: 'Google Cloud', isprating: 3.7, rating: 0, ispdlavg: 0, ispulavg: 0, country: 'US' }, server: { host: 'speedtest.ideatek.com', lat: 38.0608, lon: -97.9298, location: 'Hutchinson, KS', country: 'United States', cc: 'US', sponsor: 'IdeaTek Telcom', distance: 35.72, distanceMi: 22.2, ping: 99.8, id: '20794' } }
Hello,
This package was working a ~couple weeks ago but now it can't get the ISP information and the test server is always China Mobile even if I use the
option
serverId
and select an Australian server still forces to China Mobile.System: MacOS 10.14.3 Node: v11.7.0 (installed from brew) speedtest-net version: 1.4.3
Code
Output