Open Mavrikant opened 6 years ago
JSON output of speednet is changed. Its no longer support ip. So program gives this error: TypeError: Cannot read property 'ip' of undefined
TypeError: Cannot read property 'ip' of undefined
Result of JSON.parse(data):
JSON.parse(data)
{ download: 7459494.59180464, timestamp: '2018-08-14T23:07:40.696386', ping: 59.752, upload: 631538.8519807155, server: { latency: 59.752, name: 'Istanbul', url: 'http://st1.doruk.net.tr/upload.php', country: 'Turkey', lon: '28.9550', cc: 'TR', host: 'st1.doruk.net.tr:8080', sponsor: 'Doruknet', url2: 'http://st2.doruk.net.tr/upload.php', lat: '41.0136', id: '4791', d: 1.58923133633594 } }
I had this problem when I used an old version of the speedtest-cli. Update to the latest Version fixed it.
JSON output of speednet is changed. Its no longer support ip. So program gives this error:
TypeError: Cannot read property 'ip' of undefined
Result of
JSON.parse(data)
: