Comment 12 for bug 567180

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

Setting httplib2.debuglevel=1 will cause information about the HTTP requests you make to be written to standard output (not error).

I forced a timeout to occur during the initial POST, and I got the same ssl.SSLError I pasted in the previous comment.

I should mention that when a timeout occurs when the server is sending data to the client, this error is written to the server-side log:

2010-04-21T15:13:37 ERROR root Exception during task
Traceback (most recent call last):
  File "/home/leonardr/canonical/lp-sourcedeps/eggs/zope.server-3.6.1-py2.5.egg/zope/server/taskthreads.py", line 48, in handlerThread
    task.service()
  File "/home/leonardr/canonical/lp-sourcedeps/eggs/zope.server-3.6.1-py2.5.egg/zope/server/serverchannelbase.py", line 207, in service
    task.service()
  File "/home/leonardr/canonical/lp-sourcedeps/eggs/zope.server-3.6.1-py2.5.egg/zope/server/http/httptask.py", line 79, in service
    self.channel.close_when_done()
  File "/home/leonardr/canonical/lp-sourcedeps/eggs/zope.server-3.6.1-py2.5.egg/zope/server/dualmodechannel.py", line 195, in close_when_done
    while self._flush_some():
  File "/home/leonardr/canonical/lp-sourcedeps/eggs/zope.server-3.6.1-py2.5.egg/zope/server/dualmodechannel.py", line 187, in _flush_some
    num_sent = self.send(chunk)
  File "/usr/lib/python2.5/asyncore.py", line 331, in send
    result = self.socket.send(data)

When a timeout occurs when the client is sending data to the server, no error message is written to the server-side log.