certspotter: 429 Too Many Requests from TrustAsia and DigiCert logs
Since Monday around 16:00 CET, my Cert Spotter installation has been outputting this on every run:
2021/11/08 16:00:04 https://ct.trustasia.com/log2022/: Error retrieving STH from log: GET https://ct.trustasia.com/log2022/ct/v1/get-sth: 429 Too Many Requests (<html>
<head><title>429 Too Many Requests</title></head>
<body>
<center><h1>429 Too Many Requests</h1></center>
<hr><center>openresty</center>
</body>
</html>
)
2021/11/08 16:00:04 https://ct.trustasia.com/log2023/: Error retrieving STH from log: GET https://ct.trustasia.com/log2023/ct/v1/get-sth: 429 Too Many Requests (<html>
<head><title>429 Too Many Requests</title></head>
<body>
<center><h1>429 Too Many Requests</h1></center>
<hr><center>openresty</center>
</body>
</html>
)
I know that Cert Spotter downloads a list of CT logs to check from certspotter.org before every run, so I guess that something in that list was recently changed. Is this expected behaviour and is TrustAsia’s WAF a bit trigger happy or is Cert Spotter incorrectly sending lots of meaningless requests for the empty 2022/2023 TrustAsia logs?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 24 (10 by maintainers)
A fix is forthcoming.
@imrejonk I also observed 429 errors from Yeti 2022-2 at around the same timeframe. I’m drafting an email to ct-policy that will reference this as well as some other observations about this log.
We’re six months later now. I encountered a few (<10) TrustAsia rate limit errors in the meantime. Since yesterday however I’m seeing many
429 Too Many Requestsmessages from https://yeti2022-2.ct.digicert.com/log/ (times are in CEST):We run Cert Spotter once every hour and this message was logged almost every hour.
I’d like to turn this bug report into a feature request. It would be great if the number of requests that Cert Spotter does per second can be limited so that excessive requests can be prevented.
Thanks for the swift reply, I’ve contacted the TrustAsia log operators and will update this issue once I get a response.