Skip to content

Login failure 502 bad gateway #4186

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
burningimlam opened this issue Nov 25, 2024 · 4 comments · May be fixed by #4398
Open

Login failure 502 bad gateway #4186

burningimlam opened this issue Nov 25, 2024 · 4 comments · May be fixed by #4398
Labels

Comments

@burningimlam
Copy link

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug

When I installed npm and logged in, 502 bad gateway appeared

I have tried to replace the image version and change the installation location. A problem was found when the npm mirror was started he got stuck at Fetching https://ip-ranges.amazonaws.com/ip-ranges.json
Since the system is now booted normally, please forgive me for not providing a complete error log
Nginx Proxy Manager Version
2.10.4,latest

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

Operating System

Additional context

@burningimlam
Copy link
Author

#3965

I executed the command in the link to get the system to start properly

commands:

NPM_CTR_NAME=nginxproxymanager
docker exec $NPM_CTR_NAME sed -i 's/\.then(internalIpRanges\.fetch)//g' /app/index.js
docker restart $NPM_CTR_NAME

@lybtt
Copy link

lybtt commented Nov 28, 2024

#3965

I executed the command in the link to get the system to start properly

commands:

NPM_CTR_NAME=nginxproxymanager
docker exec $NPM_CTR_NAME sed -i 's/\.then(internalIpRanges\.fetch)//g' /app/index.js
docker restart $NPM_CTR_NAME

Indeed, it seems that the request is being blocked.

@makeup1122
Copy link

没有完全启动导致的502,我是因为国内访问https://ip-ranges.amazonaws.com/ip-ranges.json困难, 添加DNS 8.8.8.8 解决了

@ghostlitao
Copy link

没有完全启动导致的502,我是因为国内访问https://ip-ranges.amazonaws.com/ip-ranges.json困难, 添加DNS 8.8.8.8 解决了

Yes , Just because it is not fully started, it will cause 502. I am using the intranet and cannot access the internat.
After the

app-1  | [12/11/2024] [4:57:23 AM] [IP Ranges] › ✖  error
``` shows Error , every thing works fine .

@cg-zhou cg-zhou linked a pull request Feb 26, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants