Hi,
(sorry for posting on both lists)
I have a Django (1.3) site running on Cherokee (1.2.99) / uWSGI (0.9.8.6) / Ubuntu 10.04.
When a user working from the internal network want to save an object from the admin sometimes she got a blank page back and I receive this error (only 2 last lines of traceback):
...
File "/home/sites/virtualenvs/prod/lib/python2.6/site-packages/django/http/multipartparser.py", line 375, in next
data = self.flo.read(self.chunk_size)
File "/home/sites/virtualenvs/prod/lib/python2.6/site-packages/django/http/multipartparser.py", line 405, in read
return self._file.read(num_bytes)
IOError: error waiting for wsgi.input data
<WSGIRequest
GET:<QueryDict: {}>,
POST:<could not parse>,
COOKIES:{'csrftoken': 'ff524e5a0d8cdd2fccf2919684a0c96b',
'sessionid': 'fb1e62eb90793cd06a7ae7a4c7495a12'},
META:{'CONTENT_LENGTH': '4379',
'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------122872775310383',
...
When I tried to do the same thing NOT from the internal network (across the internet) I do NOT get the error. All works fine.
One thing I noticed is that the Content Length is always > 4096.
I tried to change the File Descriptors limit (I set it to 8192) in Cherokee and also the socket-timeout (-z) of uwsgi (I set it to 30) with no luck.
I think it's probably a limit (< 4096) put somewhere in the internal network system that cause that.
Anyone having an idea?
If it's what I think (a limit in the internal network) what can I do?
Thanks
Etienne
_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee
(sorry for posting on both lists)
I have a Django (1.3) site running on Cherokee (1.2.99) / uWSGI (0.9.8.6) / Ubuntu 10.04.
When a user working from the internal network want to save an object from the admin sometimes she got a blank page back and I receive this error (only 2 last lines of traceback):
...
File "/home/sites/virtualenvs/prod/lib/python2.6/site-packages/django/http/multipartparser.py", line 375, in next
data = self.flo.read(self.chunk_size)
File "/home/sites/virtualenvs/prod/lib/python2.6/site-packages/django/http/multipartparser.py", line 405, in read
return self._file.read(num_bytes)
IOError: error waiting for wsgi.input data
<WSGIRequest
GET:<QueryDict: {}>,
POST:<could not parse>,
COOKIES:{'csrftoken': 'ff524e5a0d8cdd2fccf2919684a0c96b',
'sessionid': 'fb1e62eb90793cd06a7ae7a4c7495a12'},
META:{'CONTENT_LENGTH': '4379',
'CONTENT_TYPE': 'multipart/form-data; boundary=---------------------------122872775310383',
...
When I tried to do the same thing NOT from the internal network (across the internet) I do NOT get the error. All works fine.
One thing I noticed is that the Content Length is always > 4096.
I tried to change the File Descriptors limit (I set it to 8192) in Cherokee and also the socket-timeout (-z) of uwsgi (I set it to 30) with no luck.
I think it's probably a limit (< 4096) put somewhere in the internal network system that cause that.
Anyone having an idea?
If it's what I think (a limit in the internal network) what can I do?
Thanks
Etienne
_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee