Mailing List Archive

Error waiting for wsgi.input data
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
Re: Error waiting for wsgi.input data [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Op 18-10-11 22:28, Etienne Desautels schreef:
> Anyone having an idea?
>
> If it's what I think (a limit in the internal network) what can I
> do?

Same problem here, and it can be refered to the HTTPS / Chrome 14+ /
POST issue. Alvaro knows what it is about.


Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEAREKAAYFAk6d4bwACgkQYH1+F2Rqwn1kwACfRmzQ6iSFyadrRANGmuokKhIy
jDMAnjSZq+QJ6ZtAnICnLlBldYqnCfV3
=WJd9
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee
Re: Error waiting for wsgi.input data [ In reply to ]
> Same problem here, and it can be refered to the HTTPS / Chrome 14+ /
> POST issue. Alvaro knows what it is about.

Is there any known workarounds in the meantime?

Is Alvaro working on it or have a solution?

Regards

Etienne
_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee
Re: Error waiting for wsgi.input data [ In reply to ]
Try to switch off to http rev proxy because it works at least for me
at: https://wklej.to (you can check by sending post there).


Pozdrawiam
Jędrzej Nowak



On Fri, Oct 21, 2011 at 7:42 PM, Etienne Desautels <tiit@sympatico.ca> wrote:
>
>> Same problem here, and it can be refered to the HTTPS / Chrome 14+ /
>> POST issue. Alvaro knows what it is about.
>
> Is there any known workarounds in the meantime?
>
> Is Alvaro working on it or have a solution?
>
> Regards
>
> Etienne
> _______________________________________________
> Cherokee mailing list
> Cherokee@lists.octality.com
> http://lists.octality.com/listinfo/cherokee
>
_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee