pypa / setuptools

Official project repository for the Setuptools build system
https://pypi.org/project/setuptools/
MIT License
2.5k stars 1.19k forks source link

Intermittent failures downloading ez_setup.py (bootstrap) #192

Closed ghost closed 8 years ago

ghost commented 10 years ago

Originally reported by: Anonymous


The server gives "Rate limit for this resource has been exceeded"


ghost commented 10 years ago

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Updated references to bootstrap module to use new bootstrap.pypa.io locations. Fixes #192.

ghost commented 10 years ago

Original comment by dstufft (Bitbucket: dstufft, GitHub: dstufft):


TLS deployed, you can now use https://bootstrap.pypa.io/

ghost commented 10 years ago

Original comment by dstufft (Bitbucket: dstufft, GitHub: dstufft):


This is in progress to be fixed. I have it setup behind a CDN at http://bootstrap.pypa.io/ but we're waiting on the provider to issue an certificate so it can be moved behind TLS.

ghost commented 10 years ago

Original comment by richbodo (Bitbucket: richbodo, GitHub: richbodo):


FYI. It's still an issue.

ghost commented 10 years ago

Original comment by snapetom (Bitbucket: snapetom, GitHub: Unknown):


Hello, has there been any work around for this issue?

Fabtools uses a hardcoded URL (https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py) to download ez_setup.py. Since Atlassian is throttling it, it's breaking the install.

ghost commented 10 years ago

Original comment by dstufft (Bitbucket: dstufft, GitHub: dstufft):


Sure, it'll have to be behind a .python.org domain somewhere though, or a .ssl.a.fastly.net domain name in order to get TLS.

Another option is to see about getting *.pypa.io behind Fastly and host them there.

ghost commented 10 years ago

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


@dstufft Do we have any options with fastly to serve the ez_setup.py bootstrap script?

ghost commented 10 years ago

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


By the way, I expect the error message to be intermittent as the rate drops again.

ghost commented 10 years ago

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


That's a real shame. Sounds as if we may have to work with Atlassian to exempt this resource or host it behind a CDN. Of course, hosting behind a CDN means issues with cache invalidation.

I'll have to think about this more.