Ahh, yeah. This config has been through many revisions and then scaled back to the bare config that demonstrates the issue and I didn’t rename some of files, etc. The logs above contain the docker logs up to the — and the rest is the content of the access.log file. Or up to a point where it seemed to be repeating. Then entire content wasn’t allowed in a single post. Below is the continuation of that file to the end. It never allows me to access the subdomain through the browser.
{"level":"info","ts":1660598455.5397563,"logger":"docker-proxy","msg":"New Config JSON","json":"{\"logging\":{\"logs\":{\"default\":{\"writer\":{\"filename\":\"/var/log/caddy/access.log\",\"output\":\"file\"},\"level\":\"DEBUG\"}}},\"apps\":{\"http\":{\"servers\":{\"srv0\":{\"listen\":[\":443\"],\"routes\":[{\"match\":[{\"host\":[\"whoami.mysmarthome.network\"]}],\"handle\":[{\"handler\":\"subroute\",\"routes\":[{\"handle\":[{\"handler\":\"reverse_proxy\",\"upstreams\":[{\"dial\":\"10.0.1.146:8000\"}]}]}]}],\"terminal\":true}]}}},\"tls\":{\"automation\":{\"policies\":[{\"subjects\":[\"whoami.mysmarthome.network\"],\"issuers\":[{\"challenges\":{\"dns\":{\"provider\":{\"api_token\":\"{env.CF_API_TOKEN}\",\"name\":\"cloudflare\"}}},\"email\":\"{env.EMAIL}\",\"module\":\"acme\"},{\"challenges\":{\"dns\":{\"provider\":{\"api_token\":\"{env.CF_API_TOKEN}\",\"name\":\"cloudflare\"}}},\"email\":\"{env.EMAIL}\",\"module\":\"zerossl\"}]}]}}}}"}
{"level":"info","ts":1660598455.539781,"logger":"docker-proxy","msg":"Sending configuration to","server":"localhost"}
{"level":"info","ts":1660598455.5401676,"logger":"admin.api","msg":"received request","method":"POST","host":"localhost:2019","uri":"/load","remote_ip":"127.0.0.1","remote_port":"54792","headers":{"Accept-Encoding":["gzip"],"Content-Length":["772"],"Content-Type":["application/json"],"User-Agent":["Go-http-client/1.1"]}}
{"level":"info","ts":1660598455.5404184,"logger":"admin","msg":"admin endpoint started","address":"tcp/localhost:2019","enforce_origin":false,"origins":["//127.0.0.1:2019","//localhost:2019","//[::1]:2019"]}
{"level":"info","ts":1660598455.5405028,"logger":"http","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS","server_name":"srv0","https_port":443}
{"level":"info","ts":1660598455.5405138,"logger":"http","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
{"level":"debug","ts":1660598455.5405896,"logger":"http","msg":"starting server loop","address":"[::]:443","http3":false,"tls":true}
{"level":"info","ts":1660598455.540599,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc00079e620"}
{"level":"debug","ts":1660598455.540602,"logger":"http","msg":"starting server loop","address":"[::]:80","http3":false,"tls":false}
{"level":"info","ts":1660598455.5406153,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["whoami.mysmarthome.network"]}
{"level":"info","ts":1660598455.5408356,"logger":"tls.obtain","msg":"acquiring lock","identifier":"whoami.mysmarthome.network"}
{"level":"info","ts":1660598455.5429823,"logger":"tls.cache.maintenance","msg":"stopped background certificate maintenance","cache":"0xc000102af0"}
{"level":"error","ts":1660598455.5430634,"logger":"tls.issuance.acme.acme_client","msg":"cleaning up solver","identifier":"whoami.mysmarthome.network","challenge_type":"dns-01","error":"deleting temporary record for zone mysmarthome.network.: Delete \"https://api.cloudflare.com/client/v4/zones/4c38d8a7f0598c0cc42ab69d65eeb822/dns_records/f0ea0543888554b387b9812f0d4f8051\": context canceled"}
{"level":"info","ts":1660598455.5430856,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
{"level":"info","ts":1660598455.5431697,"logger":"admin.api","msg":"load complete"}
{"level":"warn","ts":1660598455.543176,"logger":"tls.issuance.acme.acme_client","msg":"HTTP request failed; retrying","url":"https://acme-v02.api.letsencrypt.org/acme/authz-v3/142455956147","error":"performing request: Post \"https://acme-v02.api.letsencrypt.org/acme/authz-v3/142455956147\": context canceled"}
{"level":"error","ts":1660598455.5431905,"logger":"tls.issuance.acme.acme_client","msg":"deactivating authorization","identifier":"whoami.mysmarthome.network","authz":"https://acme-v02.api.letsencrypt.org/acme/authz-v3/142455956147","error":"attempt 1: https://acme-v02.api.letsencrypt.org/acme/authz-v3/142455956147: context canceled"}
{"level":"error","ts":1660598455.5432036,"logger":"tls.obtain","msg":"could not get certificate from issuer","identifier":"whoami.mysmarthome.network","issuer":"acme-v02.api.letsencrypt.org-directory","error":"[whoami.mysmarthome.network] solving challenges: waiting for solver certmagic.solverWrapper to be ready: context canceled (order=https://acme-v02.api.letsencrypt.org/acme/order/679699397/116535060277) (ca=https://acme-v02.api.letsencrypt.org/directory)"}
{"level":"debug","ts":1660598455.5432258,"logger":"tls.obtain","msg":"trying issuer 2/2","issuer":"acme.zerossl.com-v2-DV90"}
{"level":"info","ts":1660598455.5432696,"logger":"docker-proxy","msg":"Successfully configured","server":"localhost"}
{"level":"error","ts":1660598455.5432904,"logger":"tls.obtain","msg":"could not get certificate from issuer","identifier":"whoami.mysmarthome.network","issuer":"acme.zerossl.com-v2-DV90","error":"account pre-registration callback: performing EAB credentials request: Post \"https://api.zerossl.com/acme/eab-credentials-email\": context canceled"}
{"level":"error","ts":1660598455.5433016,"logger":"tls.obtain","msg":"will retry","error":"[whoami.mysmarthome.network] Obtain: account pre-registration callback: performing EAB credentials request: Post \"https://api.zerossl.com/acme/eab-credentials-email\": context canceled","attempt":1,"retrying_in":60,"elapsed":30.575082114,"max_duration":2592000}
{"level":"info","ts":1660598455.543314,"logger":"tls.obtain","msg":"releasing lock","identifier":"whoami.mysmarthome.network"}
{"level":"error","ts":1660598455.5433521,"logger":"tls","msg":"job failed","error":"whoami.mysmarthome.network: obtaining certificate: context canceled"}
{"level":"info","ts":1660598455.5444603,"logger":"admin","msg":"stopped previous server","address":"tcp/localhost:2019"}
{"level":"info","ts":1660598456.5660381,"logger":"tls.obtain","msg":"lock acquired","identifier":"whoami.mysmarthome.network"}
{"level":"debug","ts":1660598456.566291,"logger":"tls.obtain","msg":"trying issuer 1/2","issuer":"acme-v02.api.letsencrypt.org-directory"}
{"level":"info","ts":1660598456.56641,"logger":"tls.issuance.acme","msg":"waiting on internal rate limiter","identifiers":["whoami.mysmarthome.network"],"ca":"https://acme-v02.api.letsencrypt.org/directory","account":"admin@mysmarthome.network"}
{"level":"info","ts":1660598456.5664287,"logger":"tls.issuance.acme","msg":"done waiting on internal rate limiter","identifiers":["whoami.mysmarthome.network"],"ca":"https://acme-v02.api.letsencrypt.org/directory","account":"admin@mysmarthome.network"}
{"level":"debug","ts":1660598456.7121646,"logger":"tls.issuance.acme.acme_client","msg":"http request","method":"HEAD","url":"https://acme-v02.api.letsencrypt.org/acme/new-nonce","headers":{"User-Agent":["Caddy/2.5.2 CertMagic acmez (linux; amd64)"]},"response_headers":{"Cache-Control":["public, max-age=0, no-cache"],"Date":["Mon, 15 Aug 2022 21:20:56 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Replay-Nonce":["0101KYTOnby2v52XACCm8O9v9Ipi6uOGjcAyZmvTSw1VJco"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]},"status_code":200}
{"level":"debug","ts":1660598456.9836736,"logger":"tls.issuance.acme.acme_client","msg":"http request","method":"POST","url":"https://acme-v02.api.letsencrypt.org/acme/new-order","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.2 CertMagic acmez (linux; amd64)"]},"response_headers":{"Boulder-Requester":["679699397"],"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["351"],"Content-Type":["application/json"],"Date":["Mon, 15 Aug 2022 21:20:56 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Location":["https://acme-v02.api.letsencrypt.org/acme/order/679699397/116535151757"],"Replay-Nonce":["0101NEidqqeDyYYwKh_J8pEiG-mfJcvWfrW5E3GtfBqsX60"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]},"status_code":201}
{"level":"debug","ts":1660598457.0605226,"logger":"tls.issuance.acme.acme_client","msg":"http request","method":"POST","url":"https://acme-v02.api.letsencrypt.org/acme/authz-v3/142455956147","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.2 CertMagic acmez (linux; amd64)"]},"response_headers":{"Boulder-Requester":["679699397"],"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["810"],"Content-Type":["application/json"],"Date":["Mon, 15 Aug 2022 21:20:57 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Replay-Nonce":["0101w0qmgCt56aS_eDIFu6TswFZDgrr1ySCq0vfJSbRlEyI"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]},"status_code":200}
{"level":"debug","ts":1660598457.0606472,"logger":"tls.issuance.acme.acme_client","msg":"no solver configured","challenge_type":"http-01"}
{"level":"debug","ts":1660598457.0606794,"logger":"tls.issuance.acme.acme_client","msg":"no solver configured","challenge_type":"tls-alpn-01"}
{"level":"info","ts":1660598457.0607073,"logger":"tls.issuance.acme.acme_client","msg":"trying to solve challenge","identifier":"whoami.mysmarthome.network","challenge_type":"dns-01","ca":"https://acme-v02.api.letsencrypt.org/directory"}
{"level":"error","ts":1660598457.3811948,"logger":"tls.issuance.acme.acme_client","msg":"cleaning up solver","identifier":"whoami.mysmarthome.network","challenge_type":"dns-01","error":"no memory of presenting a DNS record for whoami.mysmarthome.network (probably OK if presenting failed)"}
{"level":"debug","ts":1660598457.4746213,"logger":"tls.issuance.acme.acme_client","msg":"http request","method":"POST","url":"https://acme-v02.api.letsencrypt.org/acme/authz-v3/142455956147","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.2 CertMagic acmez (linux; amd64)"]},"response_headers":{"Boulder-Requester":["679699397"],"Cache-Control":["public, max-age=0, no-cache"],"Content-Length":["814"],"Content-Type":["application/json"],"Date":["Mon, 15 Aug 2022 21:20:57 GMT"],"Link":["<https://acme-v02.api.letsencrypt.org/directory>;rel=\"index\""],"Replay-Nonce":["0102TOg72nB-BV2abfdSoIHWGyEHv1o9TSdRIF43W-DWD2g"],"Server":["nginx"],"Strict-Transport-Security":["max-age=604800"],"X-Frame-Options":["DENY"]},"status_code":200}
{"level":"error","ts":1660598457.4747033,"logger":"tls.obtain","msg":"could not get certificate from issuer","identifier":"whoami.mysmarthome.network","issuer":"acme-v02.api.letsencrypt.org-directory","error":"[whoami.mysmarthome.network] solving challenges: presenting for challenge: adding temporary record for zone mysmarthome.network.: got error status: HTTP 400: [{Code:81057 Message:Record already exists.}] (order=https://acme-v02.api.letsencrypt.org/acme/order/679699397/116535151757) (ca=https://acme-v02.api.letsencrypt.org/directory)"}
{"level":"debug","ts":1660598457.4747162,"logger":"tls.obtain","msg":"trying issuer 2/2","issuer":"acme.zerossl.com-v2-DV90"}
{"level":"info","ts":1660598458.1617756,"logger":"tls.issuance.zerossl","msg":"generated EAB credentials","key_id":"vaiVcubR0CZOjWa_CEgFJw"}
{"level":"debug","ts":1660598461.9560862,"logger":"tls.issuance.acme.acme_client","msg":"http request","method":"GET","url":"https://acme.zerossl.com/v2/DV90","headers":{"User-Agent":["Caddy/2.5.2 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["645"],"Content-Type":["application/json"],"Date":["Mon, 15 Aug 2022 21:21:01 GMT"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]},"status_code":200}
{"level":"debug","ts":1660598469.4432127,"logger":"tls.issuance.acme.acme_client","msg":"http request","method":"HEAD","url":"https://acme.zerossl.com/v2/DV90/newNonce","headers":{"User-Agent":["Caddy/2.5.2 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Type":["application/octet-stream"],"Date":["Mon, 15 Aug 2022 21:21:09 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["xQDV8V3-jWbdVHIa_j2nE4FI8WW4D6I3OS5CXqvbVpc"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]},"status_code":200}
{"level":"debug","ts":1660598470.1008034,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"whoami.mysmarthome.network"}
{"level":"debug","ts":1660598470.1008255,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.mysmarthome.network"}
{"level":"debug","ts":1660598470.1008322,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.*.network"}
{"level":"debug","ts":1660598470.1008384,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.*.*"}
{"level":"debug","ts":1660598470.1008437,"logger":"tls.handshake","msg":"all external certificate managers yielded no certificates and no errors","sni":"whoami.mysmarthome.network"}
{"level":"debug","ts":1660598470.100851,"logger":"tls.handshake","msg":"no certificate matching TLS ClientHello","server_name":"whoami.mysmarthome.network","remote":"10.0.0.2:41134","identifier":"whoami.mysmarthome.network","cipher_suites":[43690,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"cert_cache_fill":0,"load_if_necessary":true,"obtain_if_necessary":true,"on_demand":false}
{"level":"debug","ts":1660598470.1009433,"logger":"http.stdlib","msg":"http: TLS handshake error from 10.0.0.2:41134: no certificate available for 'whoami.mysmarthome.network'"}
{"level":"debug","ts":1660598470.1029634,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"whoami.mysmarthome.network"}
{"level":"debug","ts":1660598470.1030004,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.mysmarthome.network"}
{"level":"debug","ts":1660598470.1030219,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.*.network"}
{"level":"debug","ts":1660598470.1030397,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.*.*"}
{"level":"debug","ts":1660598470.1030571,"logger":"tls.handshake","msg":"all external certificate managers yielded no certificates and no errors","sni":"whoami.mysmarthome.network"}
{"level":"debug","ts":1660598470.1030912,"logger":"tls.handshake","msg":"no certificate matching TLS ClientHello","server_name":"whoami.mysmarthome.network","remote":"10.0.0.2:41135","identifier":"whoami.mysmarthome.network","cipher_suites":[31354,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"cert_cache_fill":0,"load_if_necessary":true,"obtain_if_necessary":true,"on_demand":false}
{"level":"debug","ts":1660598470.1031673,"logger":"http.stdlib","msg":"http: TLS handshake error from 10.0.0.2:41135: no certificate available for 'whoami.mysmarthome.network'"}
{"level":"debug","ts":1660598475.8276005,"logger":"tls.issuance.acme.acme_client","msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/newAccount","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.2 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store","max-age=-1"],"Content-Length":["587"],"Content-Type":["application/json"],"Date":["Mon, 15 Aug 2022 21:21:15 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Location":["https://acme.zerossl.com/v2/DV90/account/vaiVcubR0CZOjWa_CEgFJw"],"Replay-Nonce":["soWJaWoVBKVB3OIZ1KYxK4u0wlkXl1QzIluTvd2PCUo"],"Server":["nginx"],"Status":[""],"Strict-Transport-Security":["max-age=15552000"]},"status_code":201}
{"level":"info","ts":1660598475.8279445,"logger":"tls.issuance.acme","msg":"waiting on internal rate limiter","identifiers":["whoami.mysmarthome.network"],"ca":"https://acme.zerossl.com/v2/DV90","account":"admin@mysmarthome.network"}
{"level":"info","ts":1660598475.8279595,"logger":"tls.issuance.acme","msg":"done waiting on internal rate limiter","identifiers":["whoami.mysmarthome.network"],"ca":"https://acme.zerossl.com/v2/DV90","account":"admin@mysmarthome.network"}
{"level":"debug","ts":1660598479.075288,"logger":"tls.issuance.acme.acme_client","msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/newOrder","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.2 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=0, no-cache, no-store","max-age=-1"],"Content-Length":["288"],"Content-Type":["application/json"],"Date":["Mon, 15 Aug 2022 21:21:19 GMT"],"Location":["https://acme.zerossl.com/v2/DV90/order/a3VnjdjYTLrJttV4SOF2yA"],"Replay-Nonce":["RQQ_vy4fC5URFKiBn2LH2_NIsrQ--uDSL5QCCd-7Lw8"],"Server":["nginx"],"Status":[""],"Strict-Transport-Security":["max-age=15552000"]},"status_code":201}
{"level":"debug","ts":1660598482.102841,"logger":"tls.issuance.acme.acme_client","msg":"http request","method":"POST","url":"https://acme.zerossl.com/v2/DV90/authz/VEDdb7XsfTKhreSi2deyvw","headers":{"Content-Type":["application/jose+json"],"User-Agent":["Caddy/2.5.2 CertMagic acmez (linux; amd64)"]},"response_headers":{"Access-Control-Allow-Origin":["*"],"Cache-Control":["max-age=-1"],"Content-Length":["456"],"Content-Type":["application/json"],"Date":["Mon, 15 Aug 2022 21:21:22 GMT"],"Link":["<https://acme.zerossl.com/v2/DV90>;rel=\"index\""],"Replay-Nonce":["BKr72iGM3hWhcuus93gI8GhfySJXgwAzkAcFcZgD9U4"],"Retry-After":["5"],"Server":["nginx"],"Strict-Transport-Security":["max-age=15552000"]},"status_code":200}
{"level":"debug","ts":1660598482.1029394,"logger":"tls.issuance.acme.acme_client","msg":"no solver configured","challenge_type":"http-01"}
{"level":"info","ts":1660598482.1029649,"logger":"tls.issuance.acme.acme_client","msg":"trying to solve challenge","identifier":"whoami.mysmarthome.network","challenge_type":"dns-01","ca":"https://acme.zerossl.com/v2/DV90"}
{"level":"debug","ts":1660598482.6167088,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"whoami.mysmarthome.network"}
{"level":"debug","ts":1660598482.616745,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.mysmarthome.network"}
{"level":"debug","ts":1660598482.616763,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.*.network"}
{"level":"debug","ts":1660598482.6167798,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.*.*"}
{"level":"debug","ts":1660598482.616806,"logger":"tls.handshake","msg":"all external certificate managers yielded no certificates and no errors","sni":"whoami.mysmarthome.network"}
{"level":"debug","ts":1660598482.6168134,"logger":"tls.handshake","msg":"no certificate matching TLS ClientHello","server_name":"whoami.mysmarthome.network","remote":"10.0.0.2:41205","identifier":"whoami.mysmarthome.network","cipher_suites":[31354,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"cert_cache_fill":0,"load_if_necessary":true,"obtain_if_necessary":true,"on_demand":false}
{"level":"debug","ts":1660598482.6168528,"logger":"http.stdlib","msg":"http: TLS handshake error from 10.0.0.2:41205: no certificate available for 'whoami.mysmarthome.network'"}
{"level":"debug","ts":1660598482.618903,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"whoami.mysmarthome.network"}
{"level":"debug","ts":1660598482.618937,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.mysmarthome.network"}
{"level":"debug","ts":1660598482.6189442,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.*.network"}
{"level":"debug","ts":1660598482.6189494,"logger":"tls.handshake","msg":"no matching certificates and no custom selection logic","identifier":"*.*.*"}
{"level":"debug","ts":1660598482.6189544,"logger":"tls.handshake","msg":"all external certificate managers yielded no certificates and no errors","sni":"whoami.mysmarthome.network"}
{"level":"debug","ts":1660598482.6189609,"logger":"tls.handshake","msg":"no certificate matching TLS ClientHello","server_name":"whoami.mysmarthome.network","remote":"10.0.0.2:41206","identifier":"whoami.mysmarthome.network","cipher_suites":[23130,4865,4866,4867,49195,49199,49196,49200,52393,52392,49171,49172,156,157,47,53],"cert_cache_fill":0,"load_if_necessary":true,"obtain_if_necessary":true,"on_demand":false}
{"level":"debug","ts":1660598482.6189961,"logger":"http.stdlib","msg":"http: TLS handshake error from 10.0.0.2:41206: no certificate available for 'whoami.mysmarthome.network'"}
{"level":"debug","ts":1660598485.541939,"logger":"docker-proxy","msg":"Skipping default Caddyfile because no path is set"}
{"level":"debug","ts":1660598485.5433612,"logger":"docker-proxy","msg":"Swarm service","service":"caddy_caddy"}
{"level":"debug","ts":1660598485.5434368,"logger":"docker-proxy","msg":"Swarm service","service":"whoami_whoami"}
{"level":"debug","ts":1660598504.33116,"logger":"docker-proxy","msg":"Skipping default Caddyfile because no path is set"}
{"level":"debug","ts":1660598504.3325257,"logger":"docker-proxy","msg":"Swarm service","service":"caddy_caddy"}
{"level":"info","ts":1660598504.3326678,"logger":"docker-proxy","msg":"New Caddyfile","caddyfile":"{\n\tacme_dns cloudflare {env.CF_API_TOKEN}\n\tdebug\n\temail {env.EMAIL}\n\tlog {\n\t\toutput file /var/log/caddy/access.log\n\t}\n}\n"}
{"level":"info","ts":1660598504.3327222,"logger":"docker-proxy","msg":"New Config JSON","json":"{\"logging\":{\"logs\":{\"default\":{\"writer\":{\"filename\":\"/var/log/caddy/access.log\",\"output\":\"file\"},\"level\":\"DEBUG\"}}}}"}
{"level":"info","ts":1660598504.3327355,"logger":"docker-proxy","msg":"Sending configuration to","server":"localhost"}
{"level":"info","ts":1660598504.3330293,"logger":"admin.api","msg":"received request","method":"POST","host":"localhost:2019","uri":"/load","remote_ip":"127.0.0.1","remote_port":"60444","headers":{"Accept-Encoding":["gzip"],"Content-Length":["156"],"Content-Type":["application/json"],"User-Agent":["Go-http-client/1.1"]}}
{"level":"info","ts":1660598504.3331783,"logger":"admin","msg":"admin endpoint started","address":"tcp/localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
{"level":"info","ts":1660598504.3354015,"logger":"tls.cache.maintenance","msg":"stopped background certificate maintenance","cache":"0xc00079e620"}
{"level":"info","ts":1660598504.3354926,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
{"level":"info","ts":1660598504.3355007,"logger":"admin.api","msg":"load complete"}
{"level":"error","ts":1660598504.3355718,"logger":"tls.issuance.acme.acme_client","msg":"cleaning up solver","identifier":"whoami.mysmarthome.network","challenge_type":"dns-01","error":"deleting temporary record for zone mysmarthome.network.: Delete \"https://api.cloudflare.com/client/v4/zones/4c38d8a7f0598c0cc42ab69d65eeb822/dns_records/d850a62731e1a775173bcf71be609ebb\": context canceled"}
{"level":"warn","ts":1660598504.335651,"logger":"tls.issuance.acme.acme_client","msg":"HTTP request failed; retrying","url":"https://acme.zerossl.com/v2/DV90/authz/VEDdb7XsfTKhreSi2deyvw","error":"performing request: Post \"https://acme.zerossl.com/v2/DV90/authz/VEDdb7XsfTKhreSi2deyvw\": context canceled"}
{"level":"error","ts":1660598504.3356633,"logger":"tls.issuance.acme.acme_client","msg":"deactivating authorization","identifier":"whoami.mysmarthome.network","authz":"https://acme.zerossl.com/v2/DV90/authz/VEDdb7XsfTKhreSi2deyvw","error":"attempt 1: https://acme.zerossl.com/v2/DV90/authz/VEDdb7XsfTKhreSi2deyvw: context canceled"}
{"level":"info","ts":1660598504.3357298,"logger":"docker-proxy","msg":"Successfully configured","server":"localhost"}
{"level":"error","ts":1660598504.3357797,"logger":"tls.obtain","msg":"could not get certificate from issuer","identifier":"whoami.mysmarthome.network","issuer":"acme.zerossl.com-v2-DV90","error":"[whoami.mysmarthome.network] solving challenges: waiting for solver certmagic.solverWrapper to be ready: context canceled (order=https://acme.zerossl.com/v2/DV90/order/a3VnjdjYTLrJttV4SOF2yA) (ca=https://acme.zerossl.com/v2/DV90)"}
{"level":"info","ts":1660598504.3357904,"logger":"tls.obtain","msg":"releasing lock","identifier":"whoami.mysmarthome.network"}
{"level":"error","ts":1660598504.335832,"logger":"tls","msg":"job failed","error":"whoami.mysmarthome.network: obtaining certificate: [whoami.mysmarthome.network] Obtain: [whoami.mysmarthome.network] solving challenges: waiting for solver certmagic.solverWrapper to be ready: context canceled (order=https://acme.zerossl.com/v2/DV90/order/a3VnjdjYTLrJttV4SOF2yA) (ca=https://acme.zerossl.com/v2/DV90)"}
{"level":"info","ts":1660598504.3367987,"logger":"admin","msg":"stopped previous server","address":"tcp/localhost:2019"}
{"level":"debug","ts":1660598507.0168848,"logger":"docker-proxy","msg":"Skipping default Caddyfile because no path is set"}
{"level":"info","ts":1660598507.0184,"logger":"docker-proxy","msg":"New Caddyfile","caddyfile":"# Empty caddyfile"}
{"level":"warn","ts":1660598507.0185142,"logger":"docker-proxy","msg":"Caddyfile to json warning","warn":"[Caddyfile:1: Caddyfile input is not formatted; run the 'caddy fmt' command to fix inconsistencies]"}
{"level":"info","ts":1660598507.0185258,"logger":"docker-proxy","msg":"New Config JSON","json":"{}"}
{"level":"info","ts":1660598507.018539,"logger":"docker-proxy","msg":"Sending configuration to","server":"localhost"}
{"level":"info","ts":1660598507.0188575,"logger":"admin.api","msg":"received request","method":"POST","host":"localhost:2019","uri":"/load","remote_ip":"127.0.0.1","remote_port":"60460","headers":{"Accept-Encoding":["gzip"],"Content-Length":["41"],"Content-Type":["application/json"],"User-Agent":["Go-http-client/1.1"]}}
{"level":"info","ts":1660598507.0189083,"msg":"redirected default logger","from":"/var/log/caddy/access.log","to":"stderr"}
{"level":"info","ts":1660598507.0192502,"logger":"docker-proxy","msg":"Successfully configured","server":"localhost"}