NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
22.05k stars 2.54k forks source link

add Let's Encrypt ssl Prompt for this error,How can I solve this problem #2593

Open loveu5522 opened 1 year ago

loveu5522 commented 1 year ago

add Let's Encrypt ssl Prompt for this error,How can I solve this problem

Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-24" --agree-tos --email "weng8858@qq.com" --domains "*.weerr.cn" --authenticator dns-dnspod --dns-dnspod-credentials "/etc/letsencrypt/credentials/credentials-24" An unexpected error occurred: ModuleNotFoundError: No module named 'zope' Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-x1vhtsg9/log or re-run Certbot with -v for more details.

at ChildProcess.exithandler (node:child_process:402:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1100:16)
at Socket. (node:internal/child_process:458:11)
at Socket.emit (node:events:513:28)
at Pipe. (node:net:301:12)
SteProTech commented 1 year ago

hope this get fixed soon, this also shows "Communication with the API failed" error. maybe it got something to do with the api

davix3f commented 1 year ago

I'm getting the "Communication with API failed, are you sure NPM is running correctly" error too, I can't request any new certificate nor renew my existing ones. I didn't change anything in my docker compose or anything, this issue just came up by itself. I also can't find any solution on this on the internet.

michi91 commented 1 year ago

same for me!

davix3f commented 1 year ago

I'm getting the "Communication with API failed, are you sure NPM is running correctly" error too, I can't request any new certificate nor renew my existing ones. I didn't change anything in my docker compose or anything, this issue just came up by itself. I also can't find any solution on this on the internet.

I "solved" the issue by destroying my docker container, destroying the proxmox lxc where npm was hosted, and starting all over again. I downloaded the certificates before, so I applied them as custom now. Took me some time, but luckily I was managing just 15 hosts so not to big of a deal, But I still wonder how can something break, if I don't touch any config file.

EDIT: "Test server reachability" Still does not work, at all, even on this brand new setup. I guess the funcionality is just uselessly broken at this point.

oslo254804746 commented 1 year ago

Test server reachability do not working

[3/4/2023] [11:26:38 AM] [SSL      ] › ℹ  info      Renew Complete
`QueryBuilder#allowEager` method is deprecated. You should use `allowGraph` instead. `allowEager` method will be removed in 3.0
`QueryBuilder#eager` method is deprecated. You should use the `withGraphFetched` method instead. `eager` method will be removed in 3.0
QueryBuilder#omit is deprecated. This method will be removed in version 3.0
Model#$omit is deprected and will be removed in 3.0.
[3/4/2023] [11:33:24 AM] [SSL      ] › ℹ  info      Testing http challenge for xxx.xxx.cn
Uncaught SyntaxError: Unexpected end of JSON input

FROM
./run: line 19:   617 Trace/breakpoint trap   (core dumped) node --abort_on_uncaught_exception --max_old_space_size=250 index.js

I change to use traefik with let`s encrypt, and it work finesl

github-actions[bot] commented 7 months ago

Issue is now considered stale. If you want to keep it open, please comment :+1: