mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #1004] Unable to obtain LE Certificate #843
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#843
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LiohMoeller on GitHub (Apr 9, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1004
I am trying to set up LE Certificates for a specific host, but always get the following error:
2021-04-09 10:04:33,837:DEBUG:certbot._internal.reporter:Reporting to user: The following errors were reported by the server:
Domain: mydomain.xyz
Type: connection
Detail: Fetching http://mydomain.xyz/.well-known/acme-challenge/3CH5dAf75xZ3hJ5AMqtkLix6JP2G1pbi2UWLN4CChDI: Connection reset by peer
Domain: www.mydomain.xyz
Type: connection
Detail: Fetching http://www.mydomain.xyz/.well-known/acme-challenge/zEAly2rGTXwZUWKEQsp5AVJZH8Hn1SbuyR3xo1R9HLc: Connection reset by peer
To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address. Additionally, please check that your computer has a publicly routable IP address and that no firewalls are preventing the server from communicating with the client. If you're using the webroot plugin, you should also verify that you are serving files from the webroot path you provided.
2021-04-09 10:04:33,837:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/certbot/_internal/auth_handler.py", line 91, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File "/usr/lib/python3.8/site-packages/certbot/_internal/auth_handler.py", line 180, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
DNS is setup correctly and the domains are reachable via 80 and 443 from the internet.
What am I missing?
@LiohMoeller commented on GitHub (Apr 12, 2021):
The issue was related to IPv6 being enabled on the host. The default configuration using docker-compose does not enable IPv6 on the docker network.
A solution is to manually configure the network manually in docker-compose.yml like:
In addition, recent Docker versions include ip6tables for IPv6-NAT which can be enabled in: /etc/docker/daemon.json
Disabling userland-proxy is recommended if real-IP should be visible in Proxy Logs.
@github-actions[bot] commented on GitHub (Mar 14, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (Apr 26, 2025):
Issue was closed due to inactivity.