Not sure this is related to devpi. Maybe points at a solution?

On Oct 31, 2013 6:19 PM, "Dave Dash" <> wrote:
So we've been running devpi internall for a few weeks, 1.1 and now 1.2.  One thing we've seen occasionally is pip running into this SSLError below.  Apache Bench doesn't show any oddities when we try to hit devpi directly.  Our SSL settings are the same we use with all our internal sites.  It's fronted by nginx:
  ssl on;
  ssl_certificate ***;
  ssl_certificate_key ***;
  ssl_prefer_server_ciphers on;
  ssl_session_cache shared:SSL:10m;
  add_header Strict-Transport-Security max-age=86400;


Traceback (most recent call last):

File "/home/travis/virtualenv/python2.7/local/lib/python2.7/site-packages/pip/", line 134, in main

status =, args)

File "/home/travis/virtualenv/python2.7/local/lib/python2.7/site-packages/pip/commands/", line 236, in run

requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)

File "/home/travis/virtualenv/python2.7/local/lib/python2.7/site-packages/pip/", line 1092, in prepare_files

self.unpack_url(url, location, self.is_download)

File "/home/travis/virtualenv/python2.7/local/lib/python2.7/site-packages/pip/", line 1238, in unpack_url

retval = unpack_http_url(link, location, self.download_cache, self.download_dir)

File "/home/travis/virtualenv/python2.7/local/lib/python2.7/site-packages/pip/", line 602, in unpack_http_url

resp = _get_response_from_url(target_url, link)

File "/home/travis/virtualenv/python2.7/local/lib/python2.7/site-packages/pip/", line 638, in _get_response_from_url

resp = urlopen(target_url)

File "/home/travis/virtualenv/python2.7/local/lib/python2.7/site-packages/pip/", line 176, in __call__

response = self.get_opener(scheme=scheme).open(url)

File "/usr/lib/python2.7/", line 400, in open

response = self._open(req, data)

File "/usr/lib/python2.7/", line 418, in _open

'_open', req)

File "/usr/lib/python2.7/", line 378, in _call_chain

result = func(*args)

File "/home/travis/virtualenv/python2.7/local/lib/python2.7/site-packages/pip/", line 155, in https_open

return self.do_open(self.specialized_conn_class, req)

File "/usr/lib/python2.7/", line 1180, in do_open

r = h.getresponse(buffering=True)

File "/usr/lib/python2.7/", line 1030, in getresponse


File "/usr/lib/python2.7/", line 407, in begin

version, status, reason = self._read_status()

File "/usr/lib/python2.7/", line 365, in _read_status

line = self.fp.readline()

File "/usr/lib/python2.7/", line 447, in readline

data = self._sock.recv(self._rbufsize)

File "/usr/lib/python2.7/", line 241, in recv


File "/usr/lib/python2.7/", line 160, in read


SSLError: The read operation timed ou

You received this message because you are subscribed to the Google Groups "devpi-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit