NginxProxyManager / NginxProxyManager/nginx-proxy-manager

The latest v2.12.4 version has an abnormal error in applying for a certificate !

Open
#4,647 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug stale
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:latest Docker 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:

  1. Go to "SSL Certificates"
  2. Click "Add SSL Certificate"
  3. Fill in the information and turn on the option "Use DNS Challenge"
  4. Select "Cloudflare" in "DNS Provider"
  5. Replace the values ​​of email and api_key
  6. Open the terms of service I agree to
  7. Save or submit
  8. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.