mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #2139] 502 Bad Gateway after adding proxy host #1536
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#1536
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 @dormancygrace on GitHub (Jul 5, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2139
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
after installing NPM on Oracle Ampere VM with Ubuntu 22.04 and adding any host I'm getting 502 Bad Gateway (openresty). On Oracle Ampere VM with Oracle Linux 8 no such problem, NPM works as expected.
Nginx Proxy Manager Version
2.9.18
Operating System
Oracle Ampere VM, Ubuntu 22.04 (arm64), Portainer, Docker 20.10.17
@rmiddle commented on GitHub (Jul 10, 2022):
I opened a duplicate issue #2148 based on the error in the log that was happening when I was getting the same error on the same system.
@dormancygrace commented on GitHub (Jul 10, 2022):
I don't use db, so it's another case
@XLixl4snSU commented on GitHub (Oct 17, 2022):
Did you find a solution for this? Experiencing the same and was going crazy because my configuration works on other (amd64) ubuntu machines.
@dormancygrace commented on GitHub (Oct 17, 2022):
nope =(
@XLixl4snSU commented on GitHub (Oct 17, 2022):
That's sad. It's so weird, it works on other arm distros, why doesn't it here? Isn't the point of docker providing a smooth experience on every platform?
@rmiddle commented on GitHub (Oct 18, 2022):
Try the SQL version and not the mysql version. If the mysql isn't working NPM will give you a 502 Bad Gateway error.
@XLixl4snSU commented on GitHub (Oct 18, 2022):
@rmiddle I'm not using any db, just the plain SQLite table with the standard docker compose configuration file.
Also I don't see any significant errors in the logs
@XLixl4snSU commented on GitHub (Oct 23, 2022):
It does now work for me but I'm really unsure why. Maybe an ubuntu or docker update fixed some underlying problem.
@kankadev commented on GitHub (Mar 16, 2023):
Have the same issue. I just deployed the container.
I want to connect my subdomain yacht.example.org to http://localhost:8000. If I open yacht.example.org in the browser I see "502 Bad Gateway".
docker ps:
@rmiddle commented on GitHub (Mar 16, 2023):
Localhost points at the container's, not the host. Instead, you need to use the Host's IP for it to work.
@carlito31 commented on GitHub (Sep 4, 2023):
Hi, Is there a solution for that ?
I create a new instance in Oracle cloud and I need to put Ip public instead of host ip to work.
Finally I find this : sudo cp /etc/iptables/rules.v4 /etc/iptables/rules.v4.bak && sudo truncate -s 0 /etc/iptables/rules.v4
And it works
@chrwei commented on GitHub (Jan 11, 2024):
instead of clearing the IP tables rules, use the cloud console to add ingress rules
open Networking, virtual cloud networks, drill down though your network, subnet, and security list and add a new ingress rule. for the CIDR use {your public ip}/32 and for destination ports use what you plan to use for for your other containers.
I also and to add one for port 81 for the admin, but used my home IP connection for that CIDR for some extra security. my home Ip rarely changes.
@github-actions[bot] commented on GitHub (Aug 7, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (Aug 15, 2025):
Issue was closed due to inactivity.