Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Let’s Encrypt error 429: Rate limit because VESTA doing "v-add-letsencrypt-domain" in loop to deleted domains

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
vesta_sudo
Posts: 2
Joined: Mon Apr 13, 2020 4:17 pm

Os: Debian 8x
Web: apache + nginx
Let’s Encrypt error 429: Rate limit because VESTA doing "v-add-letsencrypt-domain" in loop to deleted domains
  • Quote

Post by vesta_sudo » Tue Apr 14, 2020 7:29 am

Hi!!

I have been using VESTACP for about 3 years, and I am really happy with it. But since 1 week ago I have an issue with SSL:

I can't add SSL to new domains added to VESTACP. It gives me:

Error: Let’s Encrypt new auth status 429 -> Which is that I have reached the limit at Let's Encrypt, because of so many errors in less than 3 hours (the others option are not suitable, because I am far away from having 100 domains with the same certificate)

So, I have been looking at the error logs from VESTACP (/var/log/vesta/error.log) where I have an infinite loop that every 5 minutes it tries to do the following:

Code: Select all

v-add-letsencrypt-domain  'user' 'domain.com' '' 'yes' 'yes' [Error 3] 
Where "user" exists but "domain.com" is a deleted domain. It does this to 4 unexisting domains (one of them was an alias of a deleted domain)

Anyone knows how to stop this infinite loop of VESTACP trying to add ssl to a deleted domain?

I have:

vesta 0.9.8
Ubuntu 18.04 (64 Bit)

Thanks in advanced!!
Top

vesta_sudo
Posts: 2
Joined: Mon Apr 13, 2020 4:17 pm

Os: Debian 8x
Web: apache + nginx
Re: Let’s Encrypt error 429: Rate limit because VESTA doing "v-add-letsencrypt-domain" in loop to deleted domains
  • Quote

Post by vesta_sudo » Wed Apr 15, 2020 6:15 pm

Solved it.

It was a rate limit of max 3 errors in 1 hour with Let's Encrypt.

To fix the issue, I edited

Code: Select all

/usr/local/vesta/bin/v-add-letsencrypt-domain
Found this line:

Code: Select all

well_known="$HOMEDIR/$user/web/$domain/public_html/.well-known"
And changed to:

Code: Select all

well_known="$HOMEDIR/$user/web/$rdomain/public_html/.well-known"
(I changed $domain to rdomain)
Also, in CloudFlare, I disabled:

"force HTTPS"


And in the SSL tab, I changed from "FULL" to "Flexible"

Everything OK now :)

-------------------------------------------

Some people said that typing:

Code: Select all

sudo apt-get install --reinstall vesta
Also helped with the same issue. When you reinstall VestaCP no data is lost. I didn't reinstall it, but could help if my solution doesn't work for you.
Top

Lucario76
Posts: 2
Joined: Wed Apr 15, 2020 12:37 pm

Os: Ubuntu 17x
Web: nginx + php-fpm
Re: Let’s Encrypt error 429: Rate limit because VESTA doing "v-add-letsencrypt-domain" in loop to deleted domains
  • Quote

Post by Lucario76 » Sun Feb 07, 2021 4:49 pm

To solve the problem you must make sure that the domain has been completely removed from the server and then edit the following file:

Code: Select all

/usr/local/vesta/data/queue/letsencrypt.pipe
Then there will surely be the script that produces the problem, delete it and it will no longer try to generate the certificate.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password