Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move looking up info for HTTP validation to warn level #290

Conversation

mbardelmeijer
Copy link
Contributor

This PR moves looking up info for HTTP {challenge,validation} from an error to a warning level.

The reasoning for this is as follows: we see with our certmagic deploy that the .well-known/acme-challenge/xxx paths are automatically checked by old issuers that still think they are managing the domain. These acme-challenge paths are then checked by certmagic to solve the challenge, but as it's an unknown challenge token, this fails.

It's still a relevant message to log, although not at the error level, IMHO.

Fixes #268

@francislavoie
Copy link
Member

Makes sense to me. I've seen these in the wild on the Caddy forums on occasion, and I agree they're not errors, they should be warnings.

Copy link
Member

@mholt mholt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I think that's reasonable. Thanks!

@mholt mholt merged commit c1a6da7 into caddyserver:master May 24, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to disable logs with no information found to solve challenge for identifier
3 participants