Open graham73may opened 3 years ago
Also encountered this with CLI charts disabled
Running test ...
2020-12-05 21:34:14 => IP: 111.111.111.111 | Ping: 13.092ms | Download: 18.93 MB/s | Upload: 9.53 MB/s | Server: Iomart
Error parsing data from speedtest.net:
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at Socket.<anonymous> (/Applications/MAMP/htdocs/speed-logger/speed.js:157:19)
at Socket.emit (events.js:165:20)
at addChunk (_stream_readable.js:269:12)
at readableAddChunk (_stream_readable.js:252:13)
at Socket.Readable.push (_stream_readable.js:213:10)
at Pipe.onread (net.js:602:20)
Hi,
I installed the required scripts, run it with
node speed.js
.After a few automated runs, the Upload data starts to fail/cause an error (it always seems to be the upload?). I stopped the script, started again and it's working fine again.
The output is:
(identifiable data replace with dummy content)
Not sure what other information is useful, running on MacOS. display was off but network is set to keep alive.
Thanks!
EDIT: It seems to be
node_modules/asciichart/asciichart.js
so I'm going to tryenableCLICharts: false
for a bit instead...