[Zope] Proxe error

Clemens Robbenhaar robbenhaar@espresto.com
Mon, 4 Nov 2002 16:47:37 +0100


 > Mmm, I have no idea.
 > 
 > Maybe Dieter or Chris or the other experts?

sure I am not one of the experts :) but anyway:

 > 
 > -----Original Message-----
 > From: Oliver Marx [mailto:Oliver@tekk.dk]
 > Sent: 04 November 2002 03:17
 > To: Hedley Roos
 > Subject: Re: [Zope] Proxe error
 > 
 > 
 > Well, but the Zope then crashes for 2 sek and is then up again. Other 
 > pages on the Zope server seems to work fine.
 > 
 > Does Zope have a auto-recover function? Is that what I'm seeing?
 > 
 > \Oliver
 > 
 > Hedley Roos wrote:
 > 
 > > I get that message (except for /admin/submit_handler of course) if I 
 > > have a
 > > VirtualHostMonster and my Zope is not running.
 > >
 > > Hedley
 > >
 > > -----Original Message-----
 > > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
 > > Oliver Marx
 > > Sent: 04 November 2002 12:59
 > > To: zope@zope.org
 > > Subject: [Zope] Proxe error
 > >
 > >
 > > Dear List
 > >
 > > Platform:
 > > FreeBSD 4.6, Zope 2.5.1, CMF 1.3, Apache
 > >
 > > Apache is in front of the Zope server.
 > >
 > > Error message:
 > > The proxy server received an invalid response from an upstream server.
 > > The proxy server could not handle the request POST /admin/submit_handler.
 > >
 > > Reason: Document contains no data
 > >


 I get similar errors when there is an ugly exception in the ZPublisher,
e.g. when trying to send HTTP-Headers in unicode. If the exceptions
happens "very late", this seems kills the thread -- Zope closes
the connection instead of sending an error page.

 If this happens, there is an error message in the var/stupid.log - if Your
problem is similar, You should find some there. However my Zope usually run out
of threads after a while, as it did not fork new threads to replace the
killed ones. Maybe Zope behaves different, if not started with an '-t N'
option as in my case?
  
 This phenomenon happened 2.5.1. Sorry but I cannot reproduce it the
with 2.6.0, as my way to produce a "late exception" has been fixed in 2.6.0.

Clemens


 > > Problem is that the error occurs "some" times. It is *not* browser
 > > dependt.
 > >
 > > Any ideas?
 > >
 > > \Oliver
 > >