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

Set secure connection as default

Open kustodian opened this issue 2 years ago • 5 comments

Speedtest servers don't support HTTP connections anymore so I renamed the --secure parameter to --insecure and set it to False by default.

kustodian avatar Aug 01 '23 09:08 kustodian

@sivel jfyi, because of this the default run no longer works:

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

vaygr avatar Aug 13 '23 19:08 vaygr

Sorry about not mentioning it, but the reason why I submitted this PR is because (as @vaygr wrote), running speedtest-cli without any parameters doesn't work.

kustodian avatar Aug 16 '23 07:08 kustodian

Can confirm that this is now an issue from where I test in UK. Been working fine without using --secure for a long time - including yesterday. But today it failed with failure to get configuration data plus 403 forbidden as reported earlier. Changed my script to run with --secure and worked immediately.

PaulWebster avatar Sep 12 '23 21:09 PaulWebster

Not sure why it lets me review this PR, but I would like to see these changes merged, so there...

chrismellerflynn avatar Jun 05 '24 22:06 chrismellerflynn

I don't think this works anymore

Retrieving speedtest.net configuration...
Cannot retrieve speedtest configuration
ERROR: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)>

NeckBeardPrince avatar Aug 15 '24 09:08 NeckBeardPrince