[GH-ISSUE #4064] [ip-ranges.amazonaws.com](ip-ranges.amazonaws.com) is blocked by GFW, deployment will never continue #2647

Open
opened 2026-02-26 07:36:19 +03:00 by kerem · 4 comments
Owner

Originally created by @artefaritaKuniklo on GitHub (Oct 13, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4064

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

image

although amazonaws.com can be accessed from China mainland successfully, it' subdomain ip-ranges.amazonaws.com cannot, which is hard coded in backend/internal/ip_ranges.js.

Nginx Proxy Manager Version

latest --> 2 (linux/amd64)

To Reproduce
Steps to reproduce the behavior:

  1. Just deploy it on any VPS within GFW, and you will see the request of ip-range has no response

Expected behavior

Screenshots

image

Operating System

root@[REDACTED]:~# neofetch
       _,met$$$$$gg.          root@[REDACTED]
    ,g$$$$$$$$$$$$$$$P.       ----------------
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 12 (bookworm) x86_64
 ,$$P'              `$$$.     Host: CVM 3.0
',$$P       ,ggs.     `$$b:   Kernel: 6.1.0-26-amd64
`d$$'     ,$P"'   .    $$$    Uptime: 1 day, 39 mins
 $$P      d$'     ,    $$P    Packages: 612 (dpkg)
 $$:      $$.   -    ,d$$'    Shell: bash 5.2.15
 $$;      Y$b._   _,d$P'      Resolution: 1024x768
 Y$$.    `.`"Y$$$$P"'         Terminal: /dev/pts/0
 `$$b      "-.__              CPU: AMD EPYC 7K62 (2) @ 2.595GHz
  `Y$$                        GPU: 00:02.0 Cirrus Logic GD 5446
   `Y$$.                      Memory: 565MiB / 1838MiB
     `$$b.
       `Y$$b.
          `"Y$b._
              `"""

Additional context

This machine was bought from Tencent Co. Ltd. by my boss before I could prevent him from doing so cause Tencent is a company with a terrible reputation in China mainland. Forking your repo may help, but I don't think this url should be hard coded while a mirror site is needed here.

Originally created by @artefaritaKuniklo on GitHub (Oct 13, 2024). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4064 <!-- Are you in the right place? - If you are looking for support on how to get your upstream server forwarding, please consider asking the community on Reddit. - If you are writing code changes to contribute and need to ask about the internals of the software, Gitter is the best place to ask. - If you think you found a bug with NPM (not Nginx, or your upstream server or MySql) then you are in the *right place.* --> **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** <!-- A clear and concise description of what the bug is. --> ![image](https://github.com/user-attachments/assets/ff9c4750-ba06-4fd8-88cd-1734e46e95ed) although [amazonaws.com](amazonaws.com) can be accessed from China mainland successfully, it' subdomain [ip-ranges.amazonaws.com](ip-ranges.amazonaws.com) cannot, which is hard coded in `backend/internal/ip_ranges.js`. **Nginx Proxy Manager Version** <!-- What version of Nginx Proxy Manager is reported on the login page? --> latest --> 2 (linux/amd64) **To Reproduce** Steps to reproduce the behavior: 1. Just deploy it on any VPS within GFW, and you will see the request of ip-range has no response **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> **Screenshots** <!-- If applicable, add screenshots to help explain your problem. --> ![image](https://github.com/user-attachments/assets/5ed74a27-4dae-4645-915e-365a809acc2d) **Operating System** <!-- Please specify if using a Rpi, Mac, orchestration tool or any other setups that might affect the reproduction of this error. --> ```shell root@[REDACTED]:~# neofetch _,met$$$$$gg. root@[REDACTED] ,g$$$$$$$$$$$$$$$P. ---------------- ,g$$P" """Y$$.". OS: Debian GNU/Linux 12 (bookworm) x86_64 ,$$P' `$$$. Host: CVM 3.0 ',$$P ,ggs. `$$b: Kernel: 6.1.0-26-amd64 `d$$' ,$P"' . $$$ Uptime: 1 day, 39 mins $$P d$' , $$P Packages: 612 (dpkg) $$: $$. - ,d$$' Shell: bash 5.2.15 $$; Y$b._ _,d$P' Resolution: 1024x768 Y$$. `.`"Y$$$$P"' Terminal: /dev/pts/0 `$$b "-.__ CPU: AMD EPYC 7K62 (2) @ 2.595GHz `Y$$ GPU: 00:02.0 Cirrus Logic GD 5446 `Y$$. Memory: 565MiB / 1838MiB `$$b. `Y$$b. `"Y$b._ `""" ``` **Additional context** <!-- Add any other context about the problem here, docker version, browser version, logs if applicable to the problem. Too much info is better than too little. --> This machine was bought from Tencent Co. Ltd. by my boss before I could prevent him from doing so cause Tencent is a company with a terrible reputation in China mainland. Forking your repo may help, but I don't think this url should be hard coded while a mirror site is needed here.
Author
Owner

@jsonvot commented on GitHub (Dec 25, 2024):

@artefaritaKuniklo No matter where you are from, please use the correct term for China.

<!-- gh-comment-id:2561547767 --> @jsonvot commented on GitHub (Dec 25, 2024): @artefaritaKuniklo No matter where you are from, please use the correct term for China.
Author
Owner

@artefaritaKuniklo commented on GitHub (Dec 25, 2024):

@artefaritaKuniklo No matter where you are from, please use the correct term for China.

Sorry for that offensive mistake and corrected it. I just felt overwhelmingly disgusted and exhausted by such an idiot problem. I understand that my action is incorrect while still can not understand the rationality of internet blocking & censoring.

<!-- gh-comment-id:2561681419 --> @artefaritaKuniklo commented on GitHub (Dec 25, 2024): > @artefaritaKuniklo No matter where you are from, please use the correct term for China. Sorry for that offensive mistake and corrected it. I just felt overwhelmingly disgusted and exhausted by such an idiot problem. I understand that my action is incorrect while still can not understand the rationality of internet blocking & censoring.
Author
Owner

@github-actions[bot] commented on GitHub (Jun 28, 2025):

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

<!-- gh-comment-id:3014841301 --> @github-actions[bot] commented on GitHub (Jun 28, 2025): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@huubvh95 commented on GitHub (Dec 9, 2025):

You can disable fetching the ip-ranges by setting:

    environment:
      IP_RANGES_FETCH_ENABLED: 'false'
<!-- gh-comment-id:3632326254 --> @huubvh95 commented on GitHub (Dec 9, 2025): You can disable fetching the ip-ranges by setting: ``` environment: IP_RANGES_FETCH_ENABLED: 'false' ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#2647
No description provided.