Hi,

I'm using web2py with the Rocket webserver over SSL. Every now and
than I'm getting this error message when I'm uploading a file. If I'm
trying to upload the same file some seconds later everything is
working.

Any hints on that strange error? Should I migrate to lighttp?


Error traceback
Traceback (most recent call last):
  File "/home/dv/web2py/gluon/main.py", line 339, in wsgibase
    parse_get_post_vars(request, environ)
  File "/home/dv/web2py/gluon/main.py", line 222, in
parse_get_post_vars
    request.body = copystream_progress(request) ### stores request
body
  File "/home/dv/web2py/gluon/main.py", line 95, in
copystream_progress
    copystream(source, dest, size, chunk_size)
  File "/home/dv/web2py/gluon/fileutils.py", line 304, in copystream
    data = src.read(chunk_size)
  File "/usr/lib/python2.5/socket.py", line 328, in read
    data = self._sock.recv(left)
  File "/usr/lib/python2.5/site-packages/ssl/__init__.py", line 97, in
<lambda>
    self.recv = lambda x, flags=0: SSLSocket.recv(self, x, flags)
  File "/usr/lib/python2.5/site-packages/ssl/__init__.py", line 221,
in recv
    raise x
SSLError: The read operation timed out

Reply via email to