What version of Apache are you using. Some slightly older Apache 2.2.X
versions had issues with SSL which may have resulted in this. Don't
remember what version issues were addressed in. Think you may be fine
if using Apache 2.2.16 or newer.

Graham

On 17 February 2011 02:21, Ad <[email protected]> wrote:
> Hi there,
>
> I'm not sure where the right place to ask this is so I hope you don't
> mind me asking here. I have a django view which is calling
> request.raw_post_data and getting an IOError. So the traceback looks
> like:
>
> IOError at /api1/bulk/
>
> request data read error
>
> # /var/www/carboncloud.com/fp3/django-trunk/django/http/__init__.py in
> _get_raw_post_data
>                      self._raw_post_data = self.read(content_length)
>
> # /var/www/carboncloud.com/fp3/django-trunk/django/http/__init__.py in
> read
>              return self._stream.read(*args, **kwargs)
>
> I believe this is happening because apache is timing out. From the
> apache error log:
>
> [Wed Feb 16 17:11:10 2011] [error] [client 86.24.194.171] (70007)The
> timeout specified has expired: mod_wsgi (pid=26792): Unable to get
> bucket brigade for request., referer: https://.../
>
> Now to me this looks like the client is simply leaving a tcp
> connection up and not sending any data. However - the client is
> actually receiving the response to this request and an error dialog is
> showing up on the client side. So clearly the connection is still up.
>
> Platform information:
>
> Ubuntu maverick
> Apache version 2.2.16-1ubuntu3.1
> libapache2-mod-wsgi 3.2-2
> Django 1.2
>
> The connection is an SSL connection.
> mod_wsgi is in daemon mode
> Apache timeout is 300 seconds
>
> Thanks for any help,
> Adam
>
> --
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/modwsgi?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to