nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

[ip-ranges.amazonaws.com](ip-ranges.amazonaws.com) is blocked by GFW, deployment will never continue

Open artefaritaKuniklo opened this issue 1 year ago • 4 comments

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.

artefaritaKuniklo avatar Oct 13 '24 09:10 artefaritaKuniklo

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

jsonvot avatar Dec 25 '24 02:12 jsonvot

@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.

artefaritaKuniklo avatar Dec 25 '24 07:12 artefaritaKuniklo

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

github-actions[bot] avatar Jun 28 '25 02:06 github-actions[bot]

You can disable fetching the ip-ranges by setting:

    environment:
      IP_RANGES_FETCH_ENABLED: 'false'

huubvh95 avatar Dec 09 '25 13:12 huubvh95