<help> IOError: Client read error (Timeout?)

3 views
Skip to first unread message

Steve

unread,
Jul 3, 2006, 8:44:32 AM7/3/06
to Django developers
Hi, guys.
This is a problem that troubled me for months, but maybe it is very
easy to you.

I guess it is an problem that has something relation with mod-python or
cookie, but I am not sure. Since many corresponding softwares I use,
between our production and develope server, are the same except
Linux/Debian version. But on production server, SOMETIMES this error
will be encountered, while on develop server, this error NEVER happens.

The behavior that cause this error is an ajax call, that will generate
some HTML elements on the pages. Simply to say, it is something like,
when I click a button in the page, there will be some TABLES added to
the current page. Then comes the problem, sometimes it works,
sometimes, it fails when I am using IE. But in firefox, it is always
okay.

<B>The following are the error log get from django:<B>

Traceback (most recent call last):

File "/usr/lib/python2.3/site-packages/django/core/handlers/base.py",
line 113, in get_response
request_repr = repr(request)

File
"/usr/lib/python2.3/site-packages/django/core/handlers/modpython.py",
line 16, in __repr__
return
'<ModPythonRequest\npath:%s,\nGET:%s,\nPOST:%s,\nCOOKIES:%s,\nMETA:%s,\nuser:%s>'
% \

File
"/usr/lib/python2.3/site-packages/django/core/handlers/modpython.py",
line 45, in _get_post
self._load_post_and_files()

File
"/usr/lib/python2.3/site-packages/django/core/handlers/modpython.py",
line 28, in _load_post_and_files
self._post, self._files =
httpwrappers.QueryDict(self.raw_post_data),
datastructures.MultiValueDict()

File
"/usr/lib/python2.3/site-packages/django/core/handlers/modpython.py",
line 95, in _get_raw_post_data
self._raw_post_data = self._req.read()

IOError: Client read error (Timeout?)

Request repr() unavailable

<B> software version I am using <B>

Apache2 : 2.0.55-4
Mod-pyton: 3.1.3-3
Django: 0.91 r2509
Linux/Debian: 2.6.12.2, error happenes at this server, which is our
production server
Linux/Debian: 2.6.8.1, this one works fine, which is our development
server
Browser: IE 6.0 sp2 <firefox always works fine>

Any suggestions will be appreicated. Thanks.

BR~
ChengQi

Reply all
Reply to author
Forward
0 new messages