1. Output of caddy version
:
v2.5.2 h1:eCJdLyEyAGzuQTa5Mh3gETnYWDClo1LjtQm2q9RNZrs=
2. How I run Caddy:
a. System environment:
pi os lite debian 11 bulleye systemctl cli
b. Command:
sudo systemctl start caddy
c. Service/unit/compose file:
systemctl
d. My complete Caddy config:
srimuang.duckdns.org:443 {
reverse_proxy myip:2368
}
3. The problem I’m having:
curl -v srimuang.duckdns.org
- Trying 49.230.162.50:80…* connect to 49.230.162.50 port 80 failed: Connection timed out
- Failed to connect to srimuang.duckdns.org port 80: Connection timed out
- Closing connection 0
curl: (28) Failed to connect to srimuang.duckdns.org port 80: Connection timed out
4. Error messages and/or full log output:
$ journalctl -u caddy --no-pager | less +G`
Sep 08 04:28:15 raspberrypi caddy[634]: {"level":"error","ts":1662607695.7665794,"logger":"tls.issuance.acme.acme_client","msg":"validating authorization","identifier":"srimuang.duckdns.org","problem":{"type":"urn:ietf:params:acme:error:connection","title":"","detail":"49.230.162.50: Fetching http://srimuang.duckdns.org/.well-known/acme-challenge/5OXgto_YtGlYQp18IMrLdR3BW_iSYQVp8lUegyFxspk: Timeout during connect (likely firewall problem)","instance":"","subproblems":[]},"order":"https://acme-staging-v02.api.letsencrypt.org/acme/order/67700113/3969562703","attempt":2,"max_attempts":3}
Sep 08 04:28:15 raspberrypi caddy[634]: {"level":"error","ts":1662607695.766781,"logger":"tls.obtain","msg":"could not get certificate from issuer","identifier":"srimuang.duckdns.org","issuer":"acme-v02.api.letsencrypt.org-directory","error":"HTTP 400 urn:ietf:params:acme:error:connection - 49.230.162.50: Fetching http://srimuang.duckdns.org/.well-known/acme-challenge/5OXgto_YtGlYQp18IMrLdR3BW_iSYQVp8lUegyFxspk: Timeout during connect (likely firewall problem)"}
Sep 08 04:28:38 raspberrypi caddy[634]: {"level":"info","ts":1662607718.4571407,"logger":"tls.issuance.acme.acme_client","msg":"trying to solve challenge","identifier":"srimuang.duckdns.org","challenge_type":"http-01","ca":"https://acme.zerossl.com/v2/DV90"}
Sep 08 04:34:00 raspberrypi caddy[634]: {"level":"error","ts":1662608040.02146,"logger":"tls.obtain","msg":"could not get certificate from issuer","identifier":"srimuang.duckdns.org","issuer":"acme.zerossl.com-v2-DV90","error":"[srimuang.duckdns.org] solving challenges: [srimuang.duckdns.org] authorization took too long (order=https://acme.zerossl.com/v2/DV90/order/5fkoDc9db4rbi29GZ-JohQ) (ca=https://acme.zerossl.com/v2/DV90)"}
Sep 08 04:34:00 raspberrypi caddy[634]: {"level":"error","ts":1662608040.0216696,"logger":"tls.obtain","msg":"will retry","error":"[srimuang.duckdns.org] Obtain: [srimuang.duckdns.org] solving challenges: [srimuang.duckdns.org] authorization took too long (order=https://acme.zerossl.com/v2/DV90/order/5fkoDc9db4rbi29GZ-JohQ) (ca=https://acme.zerossl.com/v2/DV90)","attempt":4,"retrying_in":300,"elapsed":1784.467478511,"max_duration":2592000}