nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

Fails to add a let's encrypt certificate

Open cma84 opened this issue 3 years ago • 12 comments

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug

Hello everyone.

I just deployed the NPM docker and when I go to add a DuckDNS certificate I get the attached error.

I have performed the python version upgrade but the same thing keeps happening.

pi@raspberrypi:~ $ pip3 --version Error Nginx.txt

pip 22.0.4 from /home/pi/.local/lib/python3.9/site-packages/pip (python 3.9)

I have recreated the docker, restarted the Raspberry Pi but I still get the error.

Nginx Proxy Manager Version 2.9.16

Operating System Rpi 2B OS: Raspbian 11 bullseye Kernel: armv7l Linux 5.10.103-v7+

cma84 avatar Mar 10 '22 12:03 cma84

I am having the same issue with trying to add for cloudflare!

shabubu avatar Mar 11 '22 05:03 shabubu

I am having the same issue with trying to add for cloudflare!

Hi shabubu.

Try version 2.9.12 with that I have managed to work.

Regards

cma84 avatar Mar 11 '22 06:03 cma84

I'm also having the same issue when trying to use CloudFlare.

Vexlix avatar Mar 11 '22 18:03 Vexlix

+1 for cloudflare, same error

AndyYangUK avatar Mar 11 '22 20:03 AndyYangUK

I also rolled back to a different version and it worked fine. Given this was the first time I was setting it up in docker on a pi I thought something was wrong and tried shelling in and manually fixing build dependencies but eventually I realized this had to be a bug from a recent version when very few had ever complained about this.

shabubu avatar Mar 12 '22 00:03 shabubu

I also rolled back to a different version and it worked fine. Given this was the first time I was setting it up in docker on a pi I thought something was wrong and tried shelling in and manually fixing build dependencies but eventually I realized this had to be a bug from a recent version when very few had ever complained about this.

Which version did you go back to?

Vexlix avatar Mar 12 '22 04:03 Vexlix

I also rolled back to a different version and it worked fine. Given this was the first time I was setting it up in docker on a pi I thought something was wrong and tried shelling in and manually fixing build dependencies but eventually I realized this had to be a bug from a recent version when very few had ever complained about this.

Which version did you go back to?

@cma84 suggested 2.9.12. Rollng back to this version worked for me as well.

AndyYangUK avatar Mar 12 '22 18:03 AndyYangUK

I was having the same issue with Cloudflare on 2.9.16, but rolling back to 2.9.14 worked for me, so I believe the bug was introduced between 2.9.14 and 2.9.16.

krazos avatar Mar 21 '22 13:03 krazos

I solved the issue, First Update . apt update apt-get install build-essential libssl-dev libffi-dev python3-dev cargo pip install certbot-dns-duckdns~=0.6 Second , add SSL certificate WITHOUT usisng DNS challenge. I am using Cloudflare.

technoKotsos avatar Apr 04 '22 19:04 technoKotsos

If it doesn't solve for using cloudflare while using DNS challenge then it is not a solved issue. The only way I personally use it is with DNS challenge.

shabubu avatar Apr 04 '22 20:04 shabubu

The pip of nmp runs inside the container. You should check the pip path in the container. In the country of network censorship, you need to set a proxy for pip in the container. I use this method to solve many pip problems.

shaojs321 avatar Jan 12 '23 09:01 shaojs321

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

github-actions[bot] avatar Feb 22 '24 01:02 github-actions[bot]

Has anyone ran into this problem recently? Last I checked it was still broken (4 months ago)

shabubu avatar Feb 22 '24 17:02 shabubu