502 Bad Gateway when using repo zip in pip
In a Django project I'm working on, I'm using a zip of a version of a repo in my requirements.txt file and installing it with pip. I often get
502 Bad Gateway error messages when trying to install the zip. Here's the output:
Could not install requirement http://bitbucket.org/onepercentclub/suds/get/6a98691d1188.zip (from -r requirements.txt (line 87)) because of HTTP error HTTP Error 502: Bad Gateway for URL http://bitbucket.org/onepercentclub/suds/get/6a98691d1188.zip
I have to try several times before I don't get 502 errors. This seems to be the case for regular downloads too. Any idea what's going on?