pebble icon indicating copy to clipboard operation
pebble copied to clipboard

Reject some % of requests with acme:error:rateLimited

Open sophie-h opened this issue 6 years ago • 2 comments

Preferably with a 'Retry-After' header

sophie-h avatar Dec 28 '17 12:12 sophie-h

I'd like that! However, to ensure that integration tests against Pebble are deterministic, there should always be a way to eventually get a good response in a timely manner (this is, within a few seconds). Maybe the rateLimited error ratio and retry delay should be controlable via the Management Interface (issue #74)?

shred avatar Dec 28 '17 12:12 shred

This feature is especially relevant given recent LetsEncrypt changes to throttle at certain hours.

Perhaps the presence of a specific header could bypass this, so client developers could set this feature to 100% to ensure they are compatible.

i.e. my client would catch this and "sleep()" in production, but in staging I would catch this and set "x-retry-ignore=true" or something like that.

jvanasco avatar Sep 19 '22 19:09 jvanasco