Open zermoumia opened 3 years ago
The problem is with the speedtest-cli package - the speedtest site has recently changed something in its response, which the speedtest.py script can't handle.
See this Pull Request on the speedtest project: https://github.com/sivel/speedtest-cli/pull/769
I worked out a fairly simple way to apply a fix on Ubuntu: https://unix.stackexchange.com/a/645065/38647
You can replace the script with the newly released version. Something like this should work on pfSense, if speedtest.py is in the place indicated by your error log. I suggest backing up the original script first, in case something goes wrong:
gzip -9 /usr/local/lib/python3.7/site-packages/speedtest.py &&
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/v2.1.3/speedtest.py > /usr/local/lib/python3.7/site-packages/speedtest.py
I get this error when I run speedtest: