-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FYI: https://github.com/Kagee/crtdumper #1
Comments
Hey, yeah I have interest in merging :)). |
Could you open a pull request?? |
I have created a PR. However, regarding the backoff - if go-retryablehttp is supposed to fix this, id does not appear to be working as intended. Here is an example of me running the code right now. As you can see, a 429 is returned, but if you look at the timestamps, it is retried within 1-2 seconds anyway 🤔
|
It does not really help that they are not sending a Retry-After-header, so you have to guess/hope. |
Ok, it looks like there might actually be a backoff (turned on more logging), but it returns quickly. Maybe one just needs a limiter for som logs so it does not have to retry all the time
|
Maybe there's a way of configuring this in the library without resorting to a custom implementation. I gotta check though. |
As mentioned in https://medium.com/mflow/rate-limiting-in-golang-http-client-a22fba15861a, relaying on repeatedly hitting 429 and backing off might not be smart, as repeat HTTP 429 offenders could be banned |
TBH I agree. Maybe something like setting a minimum sleep delay, and increasing that sleep delay in case a 429 is returned could work? Biggest issue here is that CT logs don't have a static rate limiting policy, depends entirely on their mood. I've seen complaints on Google Groups about Google's CT logs ratelimiting people at 20 rps in some days. |
FYI, i forked your repo and went a bit cracy in my own fork - https://github.com/Kagee/crtdumper. I don't know if you want to merge it, but just so you know :)
The text was updated successfully, but these errors were encountered: