dshop icon indicating copy to clipboard operation
dshop copied to clipboard

Let's Encrypt rate limiting

Open mikeshultz opened this issue 4 years ago • 8 comments

Looks like we recently hit certs per domain per week rate limiting by Let's Encrypt:

     err:   + ERROR: An error occurred while sending post-request to https://acme-v02.api.letsencrypt.org/acme/new-order (Status 429)

    Details:
    HTTP/2 429 
    server: nginx
    date: Mon, 08 Feb 2021 17:29:49 GMT
    content-type: application/problem+json
    content-length: 211
    boulder-requester: 101135264
    cache-control: public, max-age=0, no-cache
    link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
    replay-nonce: 0103UDRXl436S9vahUaN6Wa_VfaitGTESMruhdIiosTSei4

    {
      "type": "urn:ietf:params:acme:error:rateLimited",
      "detail": "Error creating new order :: too many certificates already issued for: ogn.app: see https://letsencrypt.org/docs/rate-limits/",
      "status": 429
    }

https://letsencrypt.org/docs/rate-limits/ https://crt.sh/?q=ogn.app

Ref #695

Options:

  1. Add support to infra for wildcard cert
  2. Add more default domains per dshop node (e.g. ogn2.app, ogn3.app)
  3. Require custom domains to be setup for shops
  4. Request a higher limit
  5. Do nothing and wait for the rate limit window to shift

1 & 2 would take significant engineering. 3 would take some engineering but might be the most minimal? 4 takes weeks to process. 5 is an option.

CC @franckc @nick

mikeshultz avatar Feb 08 '21 17:02 mikeshultz

CC @micahalcorn for product input.

franckc avatar Feb 08 '21 18:02 franckc

I kind of like 3. I'm also fine with a sort of 4+5 but not crazy about 1 or 2.

micahalcorn avatar Feb 08 '21 20:02 micahalcorn

I'm going to label this P1 just for us to make a decision on it, not necessarily do any work.

micahalcorn avatar Feb 08 '21 20:02 micahalcorn

We may as well fill out the form. What's our ACME account ID?

I tweeted at them to ask if we can get some accelerated service. I can probably find a warm intro to them if that doesn't work.

https://twitter.com/OriginProtocol/status/1362002957823172616

joshfraser avatar Feb 17 '21 11:02 joshfraser

@joshfraser Sent via Discord

mikeshultz avatar Feb 17 '21 16:02 mikeshultz

Filled out the request form.

joshfraser avatar Feb 18 '21 07:02 joshfraser

I kind of like option 3 to filter out shops that are not serious about actually making sales.

matthewliu avatar Feb 18 '21 12:02 matthewliu

Option 3 seems to be working, so I think that is our solution while we do 4+5.

micahalcorn avatar Feb 19 '21 21:02 micahalcorn