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

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

Open
loveu5522 opened this issue Feb 6, 2023 · 6 comments

Comments

@loveu5522
Copy link

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)
@loveu5522 loveu5522 added the bug label Feb 6, 2023
@SteProTech
Copy link

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

@davix3f
Copy link

davix3f commented Feb 11, 2023

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
Copy link

michi91 commented Feb 13, 2023

same for me!

@davix3f
Copy link

davix3f commented Feb 13, 2023

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
Copy link

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

Copy link

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

@github-actions github-actions bot added the stale label Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants