Open HorridoJoho opened 2 years ago
Hi @HorridoJoho
This looks like it might be an issue with alpine itself :
I've just updated the image to alpine 3.15.0
, could you try again with a freshly pulled nginxproxy/acme-companion:latest
?
Hi @buchdag,
thanks for your response.
Looks like i have to continue updating my certificates manually for now. A topic i read again and again is it may be related to libseccomp2 stuff. Even updated this with a .deb package from debian repos manually. But newer versions need a bunch of dependencies updated which i don't feel comfortable with doing manually.
Maybe it is time to update my little pi with a distro directly from debian which has more up to date libraries than the pi os. Not sure about that yet tho.
Attaching to nginx-proxy-acme
nginx-proxy-acme | Info: running acme-companion version v2.1.1
nginx-proxy-acme | Generating a RSA private key
nginx-proxy-acme | ............................................................................................++++
nginx-proxy-acme | ..........................++++
nginx-proxy-acme | writing new private key to '/etc/nginx/certs/default.key.new'
nginx-proxy-acme | -----
nginx-proxy-acme | 3070202768:error:0D0D90AD:asn1 encoding routines:ASN1_TIME_adj:error getting time:crypto/asn1/a_time.c:330:
nginx-proxy-acme | Info: a default key and certificate have been created at /etc/nginx/certs/default.key and /etc/nginx/certs/default.crt.
nginx-proxy-acme | Warning: /etc/nginx/certs/default.key does not exist. Skipping ownership and permissions check.
nginx-proxy-acme | Warning: /etc/nginx/certs/default.crt does not exist. Skipping ownership and permissions check.
nginx-proxy-acme | Info: Custom Diffie-Hellman group found, generation skipped.
nginx-proxy-acme | Reloading nginx proxy (4e8bbf700638ceff1f0324f2162099a2d2e4a7c325ed22d2ea69d7c4ce403563)...
nginx-proxy-acme | 2021/12/08 23:10:54 Generated '/etc/nginx/conf.d/default.conf' from 5 containers
nginx-proxy-acme | 2021/12/08 23:10:54 [notice] 49#49: signal process started
nginx-proxy-acme | 2021/12/08 23:10:54 Generated '/app/letsencrypt_service_data' from 5 containers
nginx-proxy-acme | 2021/12/08 23:10:54 Running '/app/signal_le_service'
nginx-proxy-acme | 2021/12/08 23:10:54 Watching docker events
nginx-proxy-acme | 2021/12/08 23:10:55 Contents of /app/letsencrypt_service_data did not change. Skipping notification '/app/signal_le_service'
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 28
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Can not init api for: https://acme-v02.api.letsencrypt.org/directory.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Registering account: https://acme-v02.api.letsencrypt.org/directory
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 28
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 28
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 28
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 28
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 28
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Could not get nonce, let's try again.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Giving up sending to CA server after 20 retries.
nginx-proxy-acme | [Thu Jan 1 00:00:00 UTC 1970] Register account Error:
nginx-proxy-acme | Error: no ACME account was found or registered for and https://acme-v02.api.letsencrypt.org/directory, certificate creation aborted.
nginx-proxy-acme | Sleep for 3600s
If my memory is correct it might also be linked to this change in alpine 3.13
, so maybe more a 32 bits OS issue. AFAIK Raspbian / Raspberry Pi OS is still 32 bits only. It's been a long time since I used my Pi(s), but now that Ubuntu is available on them I honestly can't recommend using Raspbian / Raspberry Pi OS for server stuff like this.
Bug description
The container is not able to connect to the outside world through cUrl. As of now i manually used certbot to update and copy over my certificates. I am running on a Raspberry PI 4.
I found the following behavior in the container:
acme-companion image version
nginx-proxy's Docker configuration
rendered nginx configuration
Containers logs
nginx-proxy:
acme-companion:
Docker host
RaspberryPI OS based on Buster (Linux 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux)