Score:2

speedtest cli ERROR: Unable to connect to servers to test latency

in flag

I used successfully the simple script

$ cat com/speedtestcli
#!/bin/bash

#
# check internet speed
#
#https://askubuntu.com/questions/104755/how-to-check-internet-speed-via-terminal
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3

An I also tried the package version

speedtest-cli --secure

In both case the scripts fail with this terminal output:

$ com/speedtestcli
Retrieving speedtest.net configuration...
Testing from YYYYYYY (x.x.x.x)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
ERROR: Unable to connect to servers to test latency.

Or

$ speedtest-cli --secure
Retrieving speedtest.net configuration...
Testing from YYYYYYY (x.x.x.x)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
ERROR: Unable to connect to servers to test latency.

Considering i'm using Ububtu 20.04 and python 3.8.10. There is known reason speedtest fails? There is any alternitive program I can run from command line?

mm flag
You can download the official Speedtest cli program from Ookla https://www.speedtest.net/apps/cli . They have .deb as well as .tgz files.
Score:0
in flag

The snap fast will run from the command line.

snap install fast

Then invoke it from the command line with fast

Alternatively, install it from Ubuntu Software.

enter image description here

Giorgio Robino avatar
in flag
I got `$ fast -> 0 Kbps`
24601 avatar
in flag
reset your router?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.