You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.
So it turns out that there are HTTP status codes higher than 599. During the Reddit outage, there was a brief period where we received HTTP 777 codes from Fastly. This should be an extremely rare occurrence, but we should still be able to catch it.
In tor.core.helpers.run_until_dead, we watch for exceptions here: https://github.com/GrafeasGroup/tor/blob/main/tor/core/helpers.py#L246 The only hint we have from bugsnag is "unexpected status code", so we need to figure out what threw that error (probably requests?), what exception that is, and then update run_until_dead to catch that exception as a general Reddit communication error.
Once identified, the fix should also be applied to tor_ocr and tor_archivist.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
So it turns out that there are HTTP status codes higher than 599. During the Reddit outage, there was a brief period where we received HTTP 777 codes from Fastly. This should be an extremely rare occurrence, but we should still be able to catch it.
In tor.core.helpers.run_until_dead, we watch for exceptions here: https://github.com/GrafeasGroup/tor/blob/main/tor/core/helpers.py#L246 The only hint we have from bugsnag is "unexpected status code", so we need to figure out what threw that error (probably requests?), what exception that is, and then update
run_until_dead
to catch that exception as a general Reddit communication error.Once identified, the fix should also be applied to tor_ocr and tor_archivist.
The text was updated successfully, but these errors were encountered: