[ip-ranges.amazonaws.com](ip-ranges.amazonaws.com) is blocked by GFW, deployment will never continue
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker 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
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:
- Just deploy it on any VPS within GFW, and you will see the request of ip-range has no response
Expected behavior
Screenshots
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 No matter where you are from, please use the correct term for China.
@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.
Issue is now considered stale. If you want to keep it open, please comment :+1:
You can disable fetching the ip-ranges by setting:
environment:
IP_RANGES_FETCH_ENABLED: 'false'