-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
caddy 2.6.1 - throws exceptions and doesn't seem to renew the cert #5082
Comments
That error is coming from here https://github.com/libdns/cloudflare/blob/e5327b93fc81c687dca3c0eaed1584d98a50750e/client.go#L103, it leads me to believe there's something wrong with your Cloudflare account, that your domain isn't actually in your account 🤔 but I'm not sure.
I think this is a bug that was just fixed in certmagic, it'll be in the next release caddyserver/certmagic@55fc6a9 unless it's a different one (please double-check @mholt). I don't think this is critical in this case though. |
Thanks Francis. Yeah, the panic should be fixed, and I'll update the dependency shortly. As for this error, @paulo-erichsen:
I would need you to post your unredacted logs to be sure, but it sounds like your system's DNS is misconfigured. It appears to be resolving the nearest zone as "com." which obviously you do not control in your Cloudflare account :) You will please need to post your full unredacted config and logs in order for us to help you, if this is a bug in CertMagic/Caddy, otherwise the evidence points to a local DNS misconfiguration. |
thank you @francislavoie and @mholt for your answers! that helped me fix the issue. Feel free to close this ticket (unless you'd like to track that exception here) Like you've mentioned the issue was indeed my DNS server. @mholt in case it's still helpful, I've uploaded the log file here. The only thing I've redacted from it is the domain name |
It's always DNS 😉 Glad you figured it out. And no worries, it happens often. Whenever people come in with issues like this and are like, "It worked for the last It's not just you though, everyone does this, including me. Thanks for following up and confirming! |
I'm having 2 issues with caddy
I'm wondering if anyone can point me in the right direction for how to get things going again
how I build caddy
version
Caddyfile.j2 (it is provisioned through ansible
logs
The text was updated successfully, but these errors were encountered: