[Zope-dev] FastCGI protocol error

Thilo Mezger Thilo Mezger <mezger@innominate.de>
4 Feb 2000 09:27:45 GMT


hi,

i'm using zope-2.1.1 with apache-1.3.9 and mod_fast/snap_oct using a 
socket to communicate with the zserver.  once in a while (every 100th
request or so) i get this problem here (see log files below).  and the
very same happens with zope-2.1.3 on my machine at home. OS is
linux-2.2.14...

i'm willing to do some debugging myself (later this afternoon or
during the weekend) but i wanted to know if others have this
problem as well or have any idea...

cheers
thilo



-----------------------------[ apache's error_log ]------------------------
[Fri Feb  4 10:15:29 2000] [error] [client 10.0.0.25] FastCGI: comm with server 
"/var/httpd/html/Zope" aborted: protocol error: invalid version: 61 != FCGI_VERSION(1)


-----------------------------[ zserver's log ]-----------------------------
2000-02-04T09:15:29 ERROR(200) ZServer uncaptured python exception,
 closing channel <__repr__ (self) failed for object at 87b47b0
 (addr='\377\277\001')> (socket.error:(32, 'Broken pipe')
 [/usr/local/lib/Zope-2.1.1-src/ZServer/medusa/asynchat.py|initiate_send|211]
 [/usr/local/lib/Zope-2.1.1-src/ZServer/medusa/asyncore.py|send|237])


-------------------------------[ apache's returns this ]-------------------
HTTP/1.1 200 OK
Date: Fri, 04 Feb 2000 09:15:28 GMT
Server: Apache/1.3.9 (Unix)  (Red Hat/Linux) mod_fastcgi/2.2.3
X-Powered-By: Zope (www.zope.org), Python (www.python.org)
Content-Length: 12011
Connection: close
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>200 OK</TITLE>
</HEAD><BODY>
<H1>OK</H1>
The server encountered an internal error or
misconfiguration and was unable to complete
your request.<P>
Please contact the server administrator,
 root@localhost and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.<P>
More information about this error may be available
in the server error log.<P>
</BODY></HTML>
----------------------------------------------------------------------------




-- 
mezger@innominate.de
                                                        innominate AG
                                                    networking people
fon: +49.30.308806-11 fax: -77 web: http://innominate.de pgp: /pgp/tm