[Zope3-dev] Re: error by calling a html page

Tres Seaver tseaver at zope.com
Thu Feb 26 10:31:44 EST 2004


Roger ineichen wrote:
> If I call a html page on the server 
> sometimes I get the following error
> but the resulting html page is ok.
> 
> ...
> Traceback (most recent call last):
>   File "C:\projektCompiler\current\src\zope\server\taskthreads.py", line 48,
> in handlerThread
>     task.service()
>   File "C:\projektCompiler\current\src\zope\server\http\httptask.py", line
> 79, in service
>     self.channel.end_task(self.close_on_finish)
>   File "C:\projektCompiler\current\src\zope\server\serverchannelbase.py",
> line 220, in end_task
>     self.close_when_done()
>   File "C:\projektCompiler\current\src\zope\server\dualmodechannel.py", line
> 191, in close_when_done
>     while self._flush_some():
>   File "C:\projektCompiler\current\src\zope\server\dualmodechannel.py", line
> 183, in _flush_some
>     num_sent = self.send(chunk)
>   File "c:\Python23\lib\asyncore.py", line 334, in send
>     raise socket.error, why
> error: (10054, 'Connection reset by peer')
> ...
> 
> Does anybody have the same error or
> can anybody say what's wrong?

This error shows up only in your debug log / sytem_error object, right? 
  It indicates that the user killed the browser before Medusa had 
finished pushing the page;  basically, you don't need to worry about it, 
except that it may be a warning sign that your pages are taking too long 
to render.

Tres.
-- 
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com




More information about the Zope3-dev mailing list