Daanra / laravel-lets-encrypt

Let's Encrypt wrapper for Laravel
MIT License
206 stars 28 forks source link

A non-ACME 503 HTTP error occured on request "HEAD https://acme-v02.api.letsencrypt.org/acme/new-nonce" (response body: "") #33

Open joh3rd opened 1 year ago

joh3rd commented 1 year ago

Hi, i'm using this package for quite a long time and basically everything is working great. Thanks for this awesome package. Unfortunately, since some time I get an error when renewing the certificates. I'm getting the following error:

A non-ACME 503 HTTP error occured on request "HEAD https://acme-v02.api.letsencrypt.org/acme/new-nonce" (response body: "")

This error only appears within the cronjob. When i try to renew a certificate manually, it's working fine:

$cert = \App\Models\LetsEncryptCertificate::find(1); $cert->renew();

I'm using Debian 10 with apache. This is my complete error log:

production.ERROR: A non-ACME 503 HTTP error occured on request "HEAD https://acme-v02.api.letsencrypt.org/acme/new-nonce" (response body: "") {"exception":"[object] (Daanra\\LaravelLetsEncrypt\\AcmePhp\\Core\\Exception\\AcmeCoreServerException(code: 503): A non-ACME 503 HTTP error occured on request \"HEAD https://acme-v02.api.letsencrypt.org/acme/new-nonce\" (response body: \"\") at /var/www/backend/vendor/daanra/laravel-lets-encrypt/src/AcmePhp/Core/Http/ServerErrorHandler.php:140)