speedtest-lite icon indicating copy to clipboard operation
speedtest-lite copied to clipboard

User agent "Speedtest-Lite/0.2.0" is being blocked (403) to speedtest.net

Open JayGoldberg opened this issue 1 year ago • 0 comments

Not sure why they don't like this agent. I know it's polite to declare your client, but also not cool to deny clients.

DEBUG

root@router1:~# ./speedtest-lite.sh 
Retrieving speedtest.net configuration...
/usr/bin/curl --connect-timeout 10 --user-agent "Speedtest-Lite/0.2.0" -sw %{http_code} https://www.speedtest.net/speedtest-config.php -o /tmp/tbv0tsmorbq0036z
ERROR: Could not get client configuration!!!

The default curl user agent works by removing --user-agent arg.

JayGoldberg avatar Dec 14 '23 22:12 JayGoldberg