Hi
For some time i experience problems with certificate renewals. Lot of LE 400 errors.
(I think it started around version 1.4.3, but I’m not sure.)
In the logs (after the cron job) it looks like this:
2021-08-06 05:45:45 v-add-letsencrypt-domain ‘user’ ‘domain.tld’ ‘www.domain.tld’ [Error 15]
2021-08-06 05:45:45 v-update-letsencrypt-ssl domain.tld Error: Let’s Encrypt validation status 400 (domain.tld). Details: Unable to update challenge :: authorization must be pending [Error 2]
If i run v-update-letsencrypt-ssl manually, the problem remains, but interestingly, if i restart nginx just before running this command, it applies new certificates without errors.
And another restart of nginx is needed afterwards, because of caching I guess.
Regarding possible issues from documentation, I’m not using CloudFlare or IPv6, and templates are all default ones, so no cigar.
It’s obvious that nginx is not reloading when it should, but I can’t figure out why.