Getting sporadic cloudfront 502 errors
Posted: Sat Jan 22, 2022 11:55 pm
When trying to access this url (this one is just an example, it happens pretty much anywhere in the api)
https://api.opensubtitles.com/api/v1/su ... 65-d3g.mkv
I randomly either get a 200 success or a 502 failure. The failure appears to be a cloudfront response. I just paid for VIP because I thought I was hitting a rate limit, but it appears i'm just hitting a random cloudfront 502. It took a while to figure out what was causing Bazarr to break, but it's because it doesn't expect a 502 response and doesn't know how to handle it.
Any idea why I would get sporadic 502 errors?
Failure
Success
https://api.opensubtitles.com/api/v1/su ... 65-d3g.mkv
I randomly either get a 200 success or a 502 failure. The failure appears to be a cloudfront response. I just paid for VIP because I thought I was hitting a rate limit, but it appears i'm just hitting a random cloudfront 502. It took a while to figure out what was causing Bazarr to break, but it's because it doesn't expect a 502 response and doesn't know how to handle it.
Any idea why I would get sporadic 502 errors?
Failure
Success