Hi, i'm having the next traceback when I try to upload a file in the
production server:

Traceback (most recent call last):
  File "/srv/web2py/gluon/main.py", line 442, in wsgibase
    parse_get_post_vars(request, environ)
  File "/srv/web2py/gluon/main.py", line 276, in parse_get_post_vars
    request.body = copystream_progress(request) ### stores request
body
  File "/srv/web2py/gluon/main.py", line 144, in copystream_progress
    copystream(source, dest, size, chunk_size)
  File "/srv/web2py/gluon/fileutils.py", line 366, in copystream
    data = src.read(chunk_size)
  File "/usr/lib/python2.6/socket.py", line 377, in read
    data = self._sock.recv(left)
timeout: timed out

The problem comes when I try to upload a 1.2mb zip file. If I upload a
text file with less mb, there is no problem. And there is no problem
with the web2py own server. Only in the production machine.

The machine is running web2py 1.98.1 under Debian GNU/Linux 6.0.2
(squeeze) with python 2.6


Does anybody knows whats happening?

Thanks in advance

Reply via email to