-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix 429 errors #796
base: master
Are you sure you want to change the base?
Fix 429 errors #796
Conversation
- cleaned up (object)s - fixed some docstrings - added trailing commas introduced since python 3.5, 3.6+ - tidied strings - converted some strings to f-strings
Use the new json servers list
listing ookla servers switched from a php url returning XML to a json API. cf sivel/speedtest-cli#796
Just tried it and works fine for me. It would be really nice if this could be merged and released |
Hello, Same 429 cli, http and curl
Can you merge ? |
Ok, I apologize, I was not aware I am very new at Github and also CLI stuff, so could I just use the CLI command networkquality instead?
Brian Lauterbach - Sent using Spark Mail from Apple© MacBook Air M2
Sent with Spark
…On Mar 2, 2023 at 12:58 PM -0600, Mathieu BEDOS ***@***.***>, wrote:
Same 429 cli and http ..
~ → curl -iL https://www.speedtest.net/speedtest-servers.php
HTTP/2 429
date: Thu, 02 Mar 2023 18:57:11 GMT
content-type: text/html
content-length: 591
retry-after: 0
accept-ranges: bytes
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=lsVV04VP4EnXe_XACbglTNypxfwSwVdCSBZCsKmb5_A-1677783431-0-AfzPaNeYOsnL5DGl66fR1OEsrx7cZqQIPsosKJdrzyfOmli02FaYmmpSXco13lETXCmgU0VgfrY5Mk2mj/t5r+U=; path=/; expires=Thu, 02-Mar-23 19:27:11 GMT; domain=.www.speedtest.net; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 7a1bdd2f09e40d73-MRS
<html><head><title>Too Many Requests</title></head><body><h1>429 Error - Too Many Requests</h1><p>Your IP address is making too many requests. We ask that you limit requests to no more than 1 per second.</p><p>We make an attempt to be flexible, allowing small bursts in traffic. You have exceeded this threshold however and have been blocked.</p><p>Please reduce the speed at which your requests are made and try again after a while. If you feel you have reached this message in error, please contact us at noc @ speedtest.net and reference this error code.</p><p>Thank you</p></body></html>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Good morning, That's not the topic but yes |
listing ookla servers switched from a php url returning XML to a json API. cf sivel/speedtest-cli#796
Can it be updated ? |
I tested your script by using |
Seems like this problem happen often in France |
Testing this I get 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)> |
I got the same error since few days .. |
This PR uses the one from @marksmayo