Hi,

I have a testing web2py environment running on a system on port 8000,
and then apache2 using mod_proxy to redirect requests to a virtual
host on port 80 to the web2py rocket server. This is the apache config
for the vhost:

---------------

<VirtualHost *:80>
 ...

  <Proxy *>
        Order deny,allow
        Allow from all
  </Proxy>

  ProxyPass / http://127.0.0.1:8000/
  ProxyPassReverse / http://127.0.0.1:8000/

</VirtualHost>

---------------

When I upload a file to a form, I get this error from the Framework:

Traceback (most recent call last):
  File "/var/www/web2py_klnetcenter/gluon/main.py", line 447, in
wsgibase
    parse_get_post_vars(request, environ)
  File "/var/www/web2py_klnetcenter/gluon/main.py", line 275, in
parse_get_post_vars
    request.body = copystream_progress(request) ### stores request
body
  File "/var/www/web2py_klnetcenter/gluon/main.py", line 143, in
copystream_progress
    copystream(source, dest, size, chunk_size)
  File "/var/www/web2py_klnetcenter/gluon/fileutils.py", line 376, in
copystream
    data = src.read(chunk_size)
  File "/usr/lib/python2.6/socket.py", line 353, in read
    data = self._sock.recv(left)
timeout: timed out

It seems to be happening even before my controler is run, just when
receiving the "post" variables. ¿Any idea what might be wrong?

Thanks very much.

Reply via email to