speedtest-cli
speedtest-cli copied to clipboard
fix 403 err
Fixing a link that was causing a 403 error
Thank you for the fix - LGTM!
Why isn't this accepted yet?
Works for me, thanks!
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/ef508f75e6a474968095913901fe119967b386e9/speedtest.py | python3 -
Thanks, with your script I don't have the 403 error anymore! Unfortunately I have another error :(
urls in get_servers like www.speedtest.net/speedtest-servers-static.php or www.speedtest.net/speedtest-servers.php
now returns 429 Error - Too Many Requests
this prevents cli to retrieve servers lists and breaks the tests
urls in get_servers like www.speedtest.net/speedtest-servers-static.php or www.speedtest.net/speedtest-servers.php
now returns 429 Error - Too Many Requests
this prevents cli to retrieve servers lists and breaks the tests
I doubt the usual link fix is the cause. Perhaps a bug in the site or code. I'll see what I can fix later.
Using the flag --secure seems to work for me.
It doesn't change anything for me :(
It doesn't change anything for me :(
Can you try my pull request? I doubt it will be different but worth a try.
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/b5df4bf507929d6014d4e7b13876c69fab9caf36/speedtest.py | python3
Edit: also are you sure you're using the modified version? Seems to me your using the master branch.
Thanks for your help @Loukious , yes I do use the modified version. But it doesn't work.
I am on openmediavault ( up to date ), I also use piHole but there are no blocked requests, and if I disable it it doesn't change anything.
I'm obviously not the only one with this concern: https://lafibre.info/tester-son-debit/speedtest-cli-error-unable-to-connect-to-servers-to-test-latency/
Hello all, I confirm an error : Unable to connect to servers to test latency.
Do you have solution ?
Best Regards
Anthony
urls in get_servers like www.speedtest.net/speedtest-servers-static.php or www.speedtest.net/speedtest-servers.php
now returns 429 Error - Too Many Requests
this prevents cli to retrieve servers lists and breaks the tests
Same problem here... :-(
can confirm that this pull request solves issue for me
before Retrieving speedtest.net configuration... Cannot retrieve speedtest configuration ERROR: HTTP Error 403: Forbidden
after this pull request
Retrieving speedtest.net configuration... Testing from Telia Lietuva (xx.xx.xx.xx)... Retrieving speedtest.net server list... Selecting best server based on ping...
i prefer #800 for the --insecure
flag