Comment 11 for bug 567180

Revision history for this message
Leonard Richardson (leonardr) wrote :

I experimented with setting a very short timeout when creating the Launchpad object. Here's the error I got.

  File "/home/leonardr/.buildout/eggs/httplib2-0.6.0-py2.6.egg/httplib2/__init__.py", line 901, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/home/leonardr/.buildout/eggs/lazr.restfulclient-0.9.14-py2.6.egg/lazr/restfulclient/_browser.py", line 166, in _conn_request
    conn, request_uri, method, body, headers)
  File "/home/leonardr/.buildout/eggs/httplib2-0.6.0-py2.6.egg/httplib2/__init__.py", line 871, in _conn_request
    response = conn.getresponse()
  File "/home/leonardr/bin/python/lib/python2.6/httplib.py", line 974, in getresponse
    response.begin()
  File "/home/leonardr/bin/python/lib/python2.6/httplib.py", line 391, in begin
    version, status, reason = self._read_status()
  File "/home/leonardr/bin/python/lib/python2.6/httplib.py", line 349, in _read_status
    line = self.fp.readline()
  File "/home/leonardr/bin/python/lib/python2.6/socket.py", line 397, in readline
    data = recv(1)
  File "/home/leonardr/bin/python/lib/python2.6/ssl.py", line 96, in <lambda>
    self.recv = lambda buflen=1024, flags=0: SSLSocket.recv(self, buflen, flags)
  File "/home/leonardr/bin/python/lib/python2.6/ssl.py", line 222, in recv
    raise x
ssl.SSLError: The read operation timed out

Of course, this was during the read phase, not the write phase.