mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #3328] first login with 502 bad gateway,what should I do #2240
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#2240
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 @HaSaKiYasuooo on GitHub (Nov 16, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3328
this is my docker-compose.yml file
version: '3'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
environment:
DB_MYSQL_HOST: "db"
DB_MYSQL_PORT: 3306
DB_MYSQL_USER: "npm"
DB_MYSQL_PASSWORD: "(PASSWORD)"
DB_MYSQL_NAME: "npm"
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
db:
image: 'jc21/mariadb-aria:latest'
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: '(PASSWORD)'
MYSQL_DATABASE: 'npm'
MYSQL_USER: 'npm'
MYSQL_PASSWORD: '(PASSWORD)'
volumes:
#- ./data/mysql:/var/lib/mysql
- ./mysql:/var/lib/mysql
when I login with admin@example.com and changeme,I revieve the 502 bad gateway,how can i resolve it?
@pvnkrockjesvs commented on GitHub (Nov 19, 2023):
Same with my install I use for months. Tried a fresh install, same problem as op
@HaSaKiYasuooo commented on GitHub (Nov 20, 2023):
ar/run/docker.sock:发布“http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create?name=npm”:拨打unix /var/run/docker.sock:连接:权限否认。
请参阅“docker run --help”。
arch@archlinux ~/nginx2 [126]> sudo docker run -d \ (base)
--name=npm
-p 6080:80
-p 81:81
-p 6443:443
-v /home/npm/data:/data
-v /home/npm/letsencrypt:/etc/letsencrypt
--restart=always
jc21/nginx-proxy-manager:latest
81端口的入口需要用本地127.0.0.1:81才能进入,这个配置在服务器以后还需要做个ssh端口转发才能进入设置...
@lastsamurai26 commented on GitHub (Nov 21, 2023):
how you are opening the Side ?
http://ip:81 or https://ip:81 ?
i cant reproduce the issue
@HaSaKiYasuooo commented on GitHub (Nov 21, 2023):
Use the local address 127.0.0.1:81. If you are booting on a remote vps, then you need to map the remote port 81 to the local machine. Use ssh port forwarding commands
@lastsamurai26 commented on GitHub (Nov 22, 2023):
I am using this on a Cloud VPS, my compose looks like this:
after creating a domain for port 81, I deactivate port 81 again so that the NPM dashboard can only be reached via the domain.
maybe the error is somewhere there
http://IPVPS:81
@rsebi commented on GitHub (Nov 27, 2023):
Just performed an upgrade from 2.9.1 to latest image and cant login to admin panel anymore.

@rsebi commented on GitHub (Nov 28, 2023):
After bit of research , i found another post with possible fix:
https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3237
Managed to apply the fix as outlined and it worked.
@github-actions[bot] commented on GitHub (May 28, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@Akmalwy commented on GitHub (Aug 29, 2024):
i have the same problem
and this is the log from my nginx-proxy-manager :
❯ Starting backend ...
node: symbol lookup error: node: undefined symbol: , version GLIBC_2.2.5
❯ Starting backend ...
node: symbol lookup error: node: undefined symbol: , version GLIBC_2.2.5
❯ Starting backend ...
node: symbol lookup error: node: undefined symbol: , version GLIBC_2.2.5
❯ Starting backend ...
node: symbol lookup error: node: undefined symbol: , version GLIBC_2.2.5
@zsio commented on GitHub (Sep 2, 2024):
i have the same problem
@MarkRotNF commented on GitHub (Sep 8, 2024):
I also had the gateway error.
docker psshowed that " nginxproxymanager-db-1" (jc21/mariadb-aria:latest) ist "restarting" (in loop).docker-compose up(without -d) returned:I was able to fix it with the following:

cd to the mysql folder (should be the path thats in the docker-compose.yaml "db:" -> "volumes:". E.g. "./mysql" as in my case.
docker-compose downsudo mv aria_log. XXXXXXXXX bak.aria_log.XXXXXXXXXdocker-compose up -d(similar to described here: https://serverfault.com/questions/893626/mysql-wont-start-mysqld-got-signal-11)
(I'm not sure if this was due to insufficient free storage space. Mine was almost full.)
@pureexe commented on GitHub (Dec 23, 2024):
I have the same problem. Turn out it conflicts with the UFW firewall on my machine. So, disable UFW make it working correctly.
@merrime-n commented on GitHub (Apr 28, 2025):
After a couple of minutes, the issue was automatically resolved for me.
@alectric-tr commented on GitHub (Jun 27, 2025):
Same issue here as well. Same outcome as @okaeiz, the issue resolved itself after a few minutes.
@Prathyush-KKK commented on GitHub (Jul 16, 2025):
yup leave the container running, it gets resolved on its own
@github-actions[bot] commented on GitHub (Jan 22, 2026):
Issue is now considered stale. If you want to keep it open, please comment 👍