When trying to verify the certificates, there seems to be a connection problem
Bug description
Both the nginx-proxy and the acme-companion are running and they seem to be running correctly.
When laynching a proxyed container, the certificate request process starts and it contacts the letsencrypt correctly.
However, during the verification, there seems to be a timeout:
nginx-proxy-acme | 2022/04/02 15:06:33 Debounce minTimer fired
nginx-proxy-acme | 2022/04/02 15:06:33 Generated '/app/letsencrypt_service_data' from 3 containers
nginx-proxy-acme | 2022/04/02 15:06:33 Running '/app/signal_le_service'
nginx-proxy-acme | Creating/renewal estatistica.ipb.pt certificates... (estatistica.ipb.pt)
nginx-proxy-acme | [Sat Apr 2 15:06:34 UTC 2022] Using CA: https://acme-v02.api.letsencrypt.org/directory
nginx-proxy-acme | [Sat Apr 2 15:06:34 UTC 2022] Creating domain key
nginx-proxy-acme | [Sat Apr 2 15:06:34 UTC 2022] The domain key is here: /etc/acme.sh/xxxx@xxxx.xxt/estatistica.ipb.pt/estatistica.ipb.pt.key
nginx-proxy-acme | [Sat Apr 2 15:06:34 UTC 2022] Single domain='estatistica.ipb.pt'
nginx-proxy-acme | [Sat Apr 2 15:06:34 UTC 2022] Getting domain auth token for each domain
nginx-proxy-acme | [Sat Apr 2 15:06:36 UTC 2022] Getting webroot for domain='estatistica.ipb.pt'
nginx-proxy-acme | [Sat Apr 2 15:06:36 UTC 2022] Verifying: estatistica.ipb.pt
nginx-proxy-acme | [Sat Apr 2 15:06:40 UTC 2022] Pending
nginx-proxy-acme | [Sat Apr 2 15:06:42 UTC 2022] Pending
nginx-proxy-acme | [Sat Apr 2 15:06:45 UTC 2022] Pending
nginx-proxy-acme | [Sat Apr 2 15:06:48 UTC 2022] Pending
nginx-proxy-acme | [Sat Apr 2 15:06:50 UTC 2022] estatistica.ipb.pt:Verify error:Fetching http://estatistica.ipb.pt/.well-known/acme-challenge/BFfp-0e57FftzUSmf64TEYmzOh05k1PeHdKRTsylsQk: Timeout during connect (likely firewall problem)
nginx-proxy-acme | [Sat Apr 2 15:06:50 UTC 2022] Please check log file for more details: /dev/null
nginx-proxy-acme | Sleep for 3600s
The host is perfectly accessible through the network, in the host and from within the nginx-proxy-acme container:
reverse-proxy | nginx.1 | estatistica.ipb.pt 194.210.110.53 - - [02/Apr/2022:15:06:44 +0000] "GET / HTTP/1.1" 200 615 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15" "172.18.0.4:80"
acme-companion image version
Info: running acme-companion version v2.2.0-9-g4786de5
nginx-proxy's Docker configuration
I'm using docker compose, with the following docker-compose.yml
When trying to verify the certificates, there seems to be a connection problem
Bug description
Both the nginx-proxy and the acme-companion are running and they seem to be running correctly. When laynching a proxyed container, the certificate request process starts and it contacts the letsencrypt correctly. However, during the verification, there seems to be a timeout:
The host is perfectly accessible through the network, in the host and from within the nginx-proxy-acme container:
acme-companion image version
nginx-proxy's Docker configuration
I'm using docker compose, with the following docker-compose.yml
rendered nginx configuration
Please provide the rendered nginx configuration:
Containers logs
Docker host
Server: Docker Engine - Community Engine: Version: 20.10.14 API version: 1.41 (minimum version 1.12) Go version: go1.16.15 Git commit: 87a90dc Built: Thu Mar 24 01:46:14 2022 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.5.11 GitCommit: 3df54a852345ae127d1fa3092b95168e4a88e2f8 runc: Version: 1.0.3 GitCommit: v1.0.3-0-gf46b6ba docker-init: Version: 0.19.0 GitCommit: de40ad0