mozilla-releng/balrog

retry content signature requests on error from autograph

Closed this issue · 2 comments

Sometimes when trying to get a content signature from autograph we get a 502 (or other error?), we should retry them a couple of times to try and reduce the errors that propagate to clients.

g-k commented

we get a 502 (or other error?)

Yep, when an autograph instance is down or unhealthy ELB will return a 502.

I looks like RelEng signingscript uses a retry_async helper to retry for all exceptions https://github.com/mozilla-releng/scriptworker-scripts/blob/5a1ef390a2727f9d7c28bc089fb2a890c90b2c3f/signingscript/src/signingscript/sign.py#L960