mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #354] Internal Error after requesting Cert: bind() to [::]:80 failed (13: Permission denied) #304
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#304
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 @orangebutblue on GitHub (Apr 8, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/354
I've tested this on two separate machines on my network already. Once in Debian, once in Ubuntu. I used the normal NPM container (latest) and used the suggested ports (8080:8080, 8181:8181, 8443:8443)
I login, change the default password, create a new proxy-host and request a new certificate and hit save.
Then I get 'Internal Error'. According to the logs, the cert was successfully requested, NPM is trying to restart nginx - but fails with this error:
Which is weird, because it's not supposed to be listening on 80 anyway. So now, NPM wont even start anymore.
Then I went to /docker/appdata/nginx-proxy-manager/nginx/proxy_host/1.conf and looked at the config which says:
When I change that to listen [::]:8080; I can start it back up again. But when I go to 8181 and look at the proxy-hosts the newly created host is in the list, but the status is "unknown".
After edit it, and just resave it (without any changes), the status turns to "offline".
So, I thought maybe my port-forwarding is busted, which it isnt, because if I type in: sub.mydomain.com (which is the same proxy-host I defined in NPM) I get the default landing page:
"Congratulations!
You've successfully started the Nginx Proxy Manager."
So the port-forwarding is correct. But it wont work.
@BenHall-1 commented on GitHub (Apr 8, 2020):
I'm also getting this error. Same situation.
@MikelillOi commented on GitHub (Apr 8, 2020):
Me too. In older versions it works very well
@orangebutblue commented on GitHub (Apr 8, 2020):
Which version works for you?
@ndaringer commented on GitHub (Apr 8, 2020):
Rolling back did not fix it for me.
@DanielPiccoli commented on GitHub (Apr 8, 2020):
shit, exactly the same in here...
@mdisieno commented on GitHub (Apr 8, 2020):
same here on the jlesage version as well.
@MikelillOi commented on GitHub (Apr 8, 2020):
v2.0.14 in docker is working for me but I created a new container
@pr0xyfl00d3r commented on GitHub (Apr 8, 2020):
same issue for me
@nightcomdev commented on GitHub (Apr 8, 2020):
where is written that those are suggested ports? just wonder because when I was setting up container those ports are suggested:
ports: # Public HTTP Port: - '80:80' # Public HTTPS Port: - '443:443' # Admin Web Port: - '81:81'those are ports suggested in Setup
https://nginxproxymanager.com/setup/
As for list of hosts I have same problem with newest container. List of domains is gone but proxy is working fine. Went back to 2.2.1 and working correct.
@mdisieno commented on GitHub (Apr 8, 2020):
rolled back to 2.2.1 on jlesage, back to working. Seems to be a 2.2.2 bug.
@orangebutblue commented on GitHub (Apr 8, 2020):
using the docker:
https://hub.docker.com/r/jlesage/nginx-proxy-manager
@nightcomdev commented on GitHub (Apr 8, 2020):
but that's different repository I guess, author of this script have this repository
https://hub.docker.com/r/jc21/nginx-proxy-manager
@jc21 commented on GitHub (Apr 8, 2020):
Correct. I am not supporting
jlesagedocker images.I'm using v2.2.2 on Centos without any problems
Docker version 19.03.8, build afacb8b. The errors about port permissions looks like it's a non-root user trying to open ports below 1024. Since docker runs as root and you have to run docker commands under a root umbrella, this doesn't make a lot of sense when docker is used in a standard setup (no idea about unraid, synology or other docker hosts).@DanielPiccoli commented on GitHub (Apr 10, 2020):
running jlesage/nginx-proxy-manager:v1.7.0 working again now.
@nightcomdev commented on GitHub (Apr 10, 2020):
I suggest to use docker from author, you are always can be sure it's safe and up to date.