Ratelimit Issue

My domain is: notibot.app

Any new certificate I attempt to generate is ratelimited with my domain I know its not an IP ratelimit as I try with my other domains and it works fine. Its suppose generate the certificate correctly as I have the same code running one for development and one for production. The production one works and I have tried using multiple programs and none of them will generate a corticate.

The error I am getting:
"time="2023-08-28T18:02:41Z" level=error msg="Unable to obtain ACME certificate for domains "api-dev.notibot.app": unable to generate a certificate for the domains [api-dev.notibot.app]: acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rateLimited :: Error creating new order :: too many failed authorizations recently: see Failed Validation Limit - Let's Encrypt" providerName=production.acme routerName=api-dev@docker rule="Host(api-dev.notibot.app)"

Hi @Hellshowers, and welcome to the LE community forum :slight_smile:

You may have to wait an hour before you can use the LE production system again.
See: Rate Limits - Let's Encrypt (letsencrypt.org)

I recommend that you do all your testing against the staging environment instead.

4 Likes

I have had this ratelimit for about a month now which is why I am posting

Then there may be some out-of-control script that is excessively failing to renew.
What do the logs show?

3 Likes

I see there is Traefik involved.
And that no cert has ever been issued for that FQDN.

You should answer all the questions that were posed when you opened this help topic.
As well as providing any other relevant information.


Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

3 Likes

time="2023-08-28T18:26:07Z" level=error msg="Error getting challenge for token retrying in 20.120895181s" providerName=acme

799

time="2023-08-28T18:26:27Z" level=error msg="Cannot retrieve the ACME challenge for token Test_File-1234: cannot find challenge for token Test_File-1234" providerName=acme

time="2023-08-28T18:24:49Z" level=error msg="Cannot retrieve the ACME challenge for token Removed_Token_Idk_If_this_matters: cannot find challenge for token Removed_Token_Idk_If_this_matters" providerName=acme

How many seconds/minutes between tests/failures?
Is there a job that runs those attempts?

2 Likes

time="2023-08-28T18:24:31Z" level=error msg="Error getting challenge for token retrying in 18.41442582s" providerName=acme

783

time="2023-08-28T18:24:32Z" level=error msg="Error getting challenge for token retrying in 16.089297388s" providerName=acme

784

time="2023-08-28T18:24:35Z" level=error msg="Error getting challenge for token retrying in 9.918237209s" providerName=acme

789

time="2023-08-28T18:25:30Z" level=error msg="Error getting challenge for token retrying in 653.02597ms" providerName=acme

790

time="2023-08-28T18:25:31Z" level=error msg="Error getting challenge for token retrying in 930.655422ms" providerName=acme

791

time="2023-08-28T18:25:32Z" level=error msg="Error getting challenge for token retrying in 690.038143ms" providerName=acme

792

time="2023-08-28T18:25:32Z" level=error msg="Error getting challenge for token retrying in 2.06734029s" providerName=acme

793

time="2023-08-28T18:25:34Z" level=error msg="Error getting challenge for token retrying in 1.65017879s" providerName=acme

794

time="2023-08-28T18:25:36Z" level=error msg="Error getting challenge for token retrying in 5.043623657s" providerName=acme

795

time="2023-08-28T18:25:41Z" level=error msg="Error getting challenge for token retrying in 6.604606324s" providerName=acme

796

time="2023-08-28T18:25:48Z" level=error msg="Error getting challenge for token retrying in 6.332668218s" providerName=acme

797

time="2023-08-28T18:25:54Z" level=error msg="Error getting challenge for token retrying in 12.50181574s" providerName=acme

798

time="2023-08-28T18:26:07Z" level=error msg="Error getting challenge for token retrying in 20.120895181s" providerName=acme

799

time="2023-08-28T18:26:27Z" level=error msg="Cannot retrieve the ACME challenge for token Test_File-1234: cannot find challenge for token Test_File-1234" providerName=acme

time="2023-08-28T18:26:27Z" level=error msg="Cannot retrieve the ACME challenge for token Test_File-1234: cannot find challenge for token Test_File-1234" providerName=acme

800

time="2023-08-28T19:07:43Z" level=error msg="Unable to obtain ACME certificate for domains "api-dev.notibot.app": unable to generate a certificate for the domains [api-dev.notibot.app]: error: one or more domains had a problem:\n[api-dev.notibot.app] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: Cannot negotiate ALPN protocol "acme-tls/1" for tls-alpn-01 challenge\n" providerName=production.acme routerName=api-dev@docker rule="Host(api-dev.notibot.app)"

801

time="2023-08-28T19:07:50Z" level=error msg="Unable to obtain ACME certificate for domains "api-dev.notibot.app": unable to generate a certificate for the domains [api-dev.notibot.app]: error: one or more domains had a problem:\n[api-dev.notibot.app] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: Cannot negotiate ALPN protocol "acme-tls/1" for tls-alpn-01 challenge\n" routerName=api-dev@docker rule="Host(api-dev.notibot.app)" providerName=production.acme

802

time="2023-08-28T19:07:54Z" level=error msg="Unable to obtain ACME certificate for domains "api-dev.notibot.app": unable to generate a certificate for the domains [api-dev.notibot.app]: error: one or more domains had a problem:\n[api-dev.notibot.app] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: Cannot negotiate ALPN protocol "acme-tls/1" for tls-alpn-01 challenge\n" providerName=production.acme routerName=api-dev@docker rule="Host(api-dev.notibot.app)"

803

time="2023-08-28T19:08:01Z" level=error msg="Unable to obtain ACME certificate for domains "api-dev.notibot.app": unable to generate a certificate for the domains [api-dev.notibot.app]: error: one or more domains had a problem:\n[api-dev.notibot.app] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: Cannot negotiate ALPN protocol "acme-tls/1" for tls-alpn-01 challenge\n" rule="Host(api-dev.notibot.app)" providerName=production.acme routerName=api-dev@docker

804

time="2023-08-28T19:08:07Z" level=error msg="Unable to obtain ACME certificate for domains "api-dev.notibot.app": unable to generate a certificate for the domains [api-dev.notibot.app]: error: one or more domains had a problem:\n[api-dev.notibot.app] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: Cannot negotiate ALPN protocol "acme-tls/1" for tls-alpn-01 challenge\n" providerName=production.acme routerName=api-dev@docker rule="Host(api-dev.notibot.app)"

805

time="2023-08-28T19:08:10Z" level=error msg="Unable to obtain ACME certificate for domains "api-dev.notibot.app": unable to generate a certificate for the domains [api-dev.notibot.app]: acme: error: 429 :: POST :: https://acme-v02.api.letsencrypt.org/acme/new-order :: urn:ietf:params:acme:error:rateLimited :: Error creating new order :: too many failed authorizations recently: see Failed Validation Limit - Let's Encrypt" providerName=production.acme routerName=api-dev@docker rule="Host(api-dev.notibot.app)"

Is it Traefik that is trying to get the cert?
If not, what is?

2 Likes

I use Traefik so yes?

I don't know.
Only you know.

I will repeat myself [only once]:
Please take the time to answer the questions you should have been posed when opening a help topic:


3 Likes

In addition to the questions to the form @rg305 showed would you please explain how your Traefik, Docker, and Cloudflare are configured together? You have your domain name proxied at Cloudflare so are using their CDN and this is important.

Because if api-dev.notibot.app is your real domain some odd results occur (IPv4 shown but IPv6 is the same)

Normal redirect by Cloudflare from HTTP to HTTPS
curl -i4 api-dev.notibot.app
HTTP/1.1 301 Moved Permanently
Date: Mon, 28 Aug 2023 20:04:55 GMT
Location: https://api-dev.notibot.app/
Server: cloudflare

Following the redirect gets an http error 526 from Cloudflare - bad cert.
Not necessarily wrong at this stage but you could use Cloudflare Origin CA cert during setup or even beyond depending on your needs.
curl -i4 https://api-dev.notibot.app
HTTP/2 526
server: cloudflare

The expected 404 response Except that it took over 30 seconds!
Something is very wrong to take that long for a 404
curl -i4 api-dev.notibot.app/.well-known/acme-challenge/Forum2TestABC
HTTP/1.1 404 Not Found
Server: cloudflare
3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.