01 October 2022

speedtest error on ubuntu terminal

When I ran 

$ speedtest

I got 

Retrieving speedtest.net configuration...
Cannot retrieve speedtest configuration
ERROR: HTTP Error 403: Forbidden

Solution:


Hi, @fixit7 .

I've never ran speedtest-cli but, after a web search, I've found the following Reddit post (in the subreddit "r/Linux4noobs 10") that was posted 23 days ago:

In that Reddit post, the original poster ("u/CryPTuuNe 3") wrote the following:

"(...) I just setup Ubuntu on my new PC. For testing purposes I installed the speedtest-cli and with the command Speedtest everything worked fine. I don't know what I did then, but now I am getting an http error 403 forbidden. But when doing speedtest --secure everything works fine again. (...)"

According to the "speedtest-cli" manpage - Ubuntu Manpage: speedtest-cli - Command line interface for testing internet bandwidth using speedtest.net 81 - the "--secure" switch has the following meaning:

--secure
Use HTTPS instead of HTTP when communicating with speedtest.net 28 operated servers

I hope this helps.

No comments:

Post a Comment