NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
20.97k stars 2.42k forks source link

Bad gateway upon initial login #3120

Open kdmiller45 opened 11 months ago

kdmiller45 commented 11 months ago

I have Unbuntu 22.04 Docker 24.0.5 build ced0996 nginx Alpine nginx Proxy manager ver 2.10.4

I just finished installing nginx proxy manager and am now getting Bad gateway, I saw many had the same issue, but no definite solution can we revisit this issue.

What logs/files do you need please give names and default location I did nothing Custome since I am new at this

Keith

kdmiller45 commented 11 months ago

Really no help what soever

kdmiller45 commented 11 months ago

npm-app container log [8/15/2023] [5:43:54 PM] [Global ] › ✖ error ER_HOST_NOT_PRIVILEGED: Host '172.20.0.3' is not allowed to connect to this MariaDB server [8/15/2023] [5:43:55 PM] [Global ] › ✖ error ER_HOST_NOT_PRIVILEGED: Host '172.20.0.3' is not allowed to connect to this MariaDB server [8/15/2023] [5:43:56 PM] [Global ] › ✖ error ER_HOST_NOT_PRIVILEGED: Host '172.20.0.3' is not allowed to connect to this MariaDB server [8/15/2023] [5:43:57 PM] [Global ] › ✖ error ER_HOST_NOT_PRIVILEGED: Host '172.20.0.3' is not allowed to connect to this MariaDB server

kdmiller45 commented 11 months ago

Where do I get forum help, this site appears to not offer help for the product

kdmiller45 commented 11 months ago

No Go

On Sat, Aug 19, 2023 at 2:34 PM DJonnyMC @.***> wrote:

Did u try these?: user: npm pw: npm

— Reply to this email directly, view it on GitHub https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3120#issuecomment-1684934359, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVT234M2AX3TLFQZ72GMETXWCXELANCNFSM6AAAAAA3OP723U . You are receiving this because you authored the thread.Message ID: @.***>

-- Keith D. Miller

pingZan commented 10 months ago

don't put the nginx folder inside the root folder,. put it in the other user folder, it solved my previous problem I think the problem is with file permissions

pingZan commented 10 months ago

image

as in the picture, you can still use the root user

nmatton commented 10 months ago

I have the same issue. I updated to the last version and then get this error. Previous version was OK. The bad gateway error comes from trying to get the api/tokens endpoint, which returns the 502 error

nmatton commented 10 months ago

related to this #3052

Moonbase59 commented 9 months ago

A little late, but maybe this helps: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3237#issuecomment-1746906763

github-actions[bot] commented 3 months ago

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