-
Notifications
You must be signed in to change notification settings - Fork 3k
DNS Challenge with Cloudflare fails #3305
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
Comments
@dkhelms maybe a stupid question, but did you update the API key in the example that is shown when you select the Cloudflare DNS provider from the dropdown list? If you did update that key with a valid key from your Cloudflare account, can you resolve api.cloudflare.com (for example with "nslookup api.cloudflare.com"? |
Yes, I updated the key as well. The problem was the newest version of NPM. I had to go back to 2.9.14 to renew the cert and make everything start working again. |
same bug on v2.10.4 |
Have you solved this problem?also v2.10.4 |
Sorry, but I never did. |
You are welcome to try the It has certbot v2.8.0 (previously was v2.5.0) and also means DNS plugins will be using v2.8.0 as well. |
@jc21 How do you do that? right now mine is having the same issues and would try anything. |
same issue for me, using the docker container. |
+1 on this... using proxmox lxc, first try failed, second one finished without errors... |
@jc21 - tried I use duckdns.org and run nginxproxymanager in a docker container on synology using portainer. The error message:
Looking forward for hints or an solution :-) |
I solved the problem. My cause was that DNSSEC was not configured correctly, visit this site to see if DNSSEC is configured correctly. I found this issue by looking directly at the log.
|
I also tested it in a clean virtual machine with an "own" IP address and it worked. Thank you for your nice work!
|
I had the same issue and found a lot of open or stale issues around this repo. What I found is that when I tried to manually install the certbot-dns-cloudflare when executing a bash in the docker container, for some reason the container couldn't reach the appropriate packages. What I did is add "network-mode: host" to the docker compose file and after that I could manually install and get the certificate working. I hope this helps people. I'm not going to react to other issues so I hope people find this. EDIT: |
Getting similar errors here. Suddenly certs stopped being renewed. When trying to renew manually getting this error:
Don't know anything about updating python, this is a docker container, just pulled the latest available. |
I am also having this issue error logs say this `Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-25" --agree-tos --email "email@gmail.com" --domains "*.domain.top,domain.top" --authenticator dns-cloudflare --dns-cloudflare-credentials "/etc/letsencrypt/credentials/credentials-25"
|
I had the same issue, Need to reinstall pip and pip install cloudflare==2.19.* |
I can't do that because I am running it through hass
…On Fri, Jun 28, 2024 at 10:17 PM paradox1612 ***@***.***> wrote:
I had the same issue, Need to reinstall pip and pip install
cloudflare==2.19.*
https://blog.thekush.dev/how-to-fix-nginx-manager-certbot_dns_cloudflare-_internal-dns_cloudflare-plugin-error/
—
Reply to this email directly, view it on GitHub
<#3305 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM545AWXP5665XGGHWLLTYTZJYRONAVCNFSM6AAAAAA7AEBQPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXHA3TIOBVGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I had the same problem with Cloudflare plugin: using NPM on Docker, with docker swarm managing it and using DNS to access the NPM instance. The log is below: 2024-07-01 20:05:38,016:DEBUG:certbot._internal.log:Exiting abnormally: The above exception was the direct cause of the following exception: Traceback (most recent call last): |
you can do : |
I unfortunately can't use pip because I am running NPM in home assistant. |
It worked, thanks! [7/1/2024] [9:16:54 PM] [Certbot ] › ▶ start Installing cloudflare...
|
Is importante to say that, this works for me, but for the running container, if eventually needs to restart, probably will be an error on renew and need to do it again for other certificates. |
this worked for me |
this worked for me!!!! |
So, there's a chance that you have my case: both piHole and NPM as docker containers.
|
jc21/nginx-proxy-manager:latest
docker image?Describe the bug
I try to use DNS Challenge with Cloudflare to get a cert but it doesn't work.
Nginx Proxy Manager Version
2.10.4
To Reproduce
Expected behavior
For a cert to be issued.
Screenshots
Operating System
I am using Ubuntu 22.04 with the newest version of Portainer
Additional context
Here are the errors:
The text was updated successfully, but these errors were encountered: