NginxProxyManager / NginxProxyManager/nginx-proxy-manager
The latest v2.12.4 version has an abnormal error in applying for a certificate !
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 34.2k
- Forks
- 3.9k
- Avg merge
- 21h 12m
- Merged PRs (30d)
- 20
Description
Checklist
- Have you pulled and found the bug in the
jc21/nginx-proxy-manager:latestDocker image? - Yes
- Are you sure you are not using someone else's Docker image?
- Yes
- Have you searched for similar issues (both resolved and unresolved)?
- Yes
Description error
Adding SSL certificate failed. Unable to use CloudFlare's DNS to apply for certificate. The error message is as follows:
CommandError: ERROR: Cannot install certbot-dns-cloudflare==4.0.0 and cloudflare==4.0.* because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
at /app/lib/utils.js:16:13
at ChildProcess.exithandler (node:child_process:430:5)
at ChildProcess.emit (node:events:524:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
Nginx Proxy Manager Version
v2.12.4
Reproduce
Steps to reproduce this behavior:
- Go to "SSL Certificates"
- Click "Add SSL Certificate"
- Fill in the information and turn on the option "Use DNS Challenge"
- Select "Cloudflare" in "DNS Provider"
- Replace the values of email and api_key
- Open the terms of service I agree to
- Save or submit
- View the error
Expected behavior
Unable to apply for a successful certificate
Screenshot
None
Operating system
Debian11
Other context
Latest version of docker and compose v2.38.1.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at /app/lib/utils.js and trace the SSL certificate flow for the Cloudflare DNS challenge. Inspect how certbot-dns-cloudflare==4.0.0 and cloudflare==4.0.* are installed, reproduce the reported dependency-resolution failure, and verify that submitting a Cloudflare DNS challenge completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python, typescript
- Domain
- backend, cloud, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100