caddy-docker-proxy
caddy-docker-proxy copied to clipboard
looking up info for HTTP challenge
I seem to get this kind of info into the logs
{"level":"error","ts":1629708967.7232833,"logger":"tls.issuance.acme","msg":"looking up info for HTTP challenge","host":"subdomain.domain-staging.com","error":"no information found to solve challenge for identifier: subdomain.domain-staging.com"}
my caddy configuration is:
image: myregistry.com:myimage:mytag
container_name: stats
restart: always
labels:
caddy_0: stats.domain-dev.com
caddy_0.reverse_proxy: "{{upstreams 3000}}"
caddy_1: stats.domain-staging.com
caddy_1.reverse_proxy: "{{upstreams 3000}}"
it seems that for some domains in the same config it's generating the certificates without any issue, but it seems that i still get these errors
Sorry for the late reply.
How many caddy docker proxy server replicas do you have?
Looking only at the error message, it seems that a replica got a request to solve the http challenge, but it doesn't have the challenge answer to provide because the challenge was initiated by another replica.
When using many replicas it's important to configure a shared storage using some storage plugin listed in https://caddyserver.com/docs/modules/ . Or to share a volume as described in volumes section.
Closing due to lack of additional information