Most of the time, FastCGI works fine. However, every few page views in a while it returns the following error page (I'm copying the page's source). Notice the HTTP headers were printed in the error page - FastCGI apparently mistakenly thought they were part of the actual content: HTTP/1.1 200 OK Date: Sun, 14 May 2000 07:26:23 GMT Server: Apache/1.3.11 (Unix) mod_ssl/2.5.0 OpenSSL/0.9.4 mod_fastcgi/2.2.3-SNAP-Apr29-17.29 PHP/3.0.14 X-Powered-By: Zope (www.zope.org), Python (www.python.org) Content-Length: 6669 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> <HR> <ADDRESS>Apache/1.3.11 Server at www.example.com Port 80</ADDRESS> </BODY></HTML> and the logs say: [Sun May 14 02:26:20 2000] [error] [client 212.29.231.2] FastCGI: comm with server "/Services/www/website/zope" aborted: protocol error: invalid version: 73 != FCGI_VERSION(1) [Sun May 14 02:26:23 2000] [error] [client 212.29.231.2] FastCGI: comm with server "/Services/www/website/zope" aborted: protocol error: invalid version: 110 != FCGI_VERSION(1) -- Itamar S.T. itamar@maxnm.com
Itamar Shtull-Trauring wrote:
Most of the time, FastCGI works fine. However, every few page views in a while it returns the following error page (I'm copying the page's source). Notice the HTTP headers were printed in the error page - FastCGI apparently mistakenly thought they were part of the actual content:
This was a problem that used to afflict Zope 2.1.4 (and still does :-), but later versions were supposed to have fixed. Which version are you running? Regards, Daryl Tester
Daryl Tester wrote:
Notice the HTTP headers were printed in the error page - FastCGI apparently mistakenly thought they were part of the actual content:
This was a problem that used to afflict Zope 2.1.4 (and still does :-), but later versions were supposed to have fixed. Which version are you running?
Zope 2.1.6. -- Itamar S.T. itamar@maxnm.com
Itamar Shtull-Trauring wrote:
This was a problem that used to afflict Zope 2.1.4 (and still does :-), but later versions were supposed to have fixed. Which version are you running?
Zope 2.1.6.
Panic. Maybe only the CVS version is fixed? I started out using FastCGI, struck this problem, and then shifted to mod_pcgi2. Things have been sweet ever since. Regards, Daryl Tester
-----Original Message----- From: dt@zen.localdomain [mailto:dt@zen.localdomain]On Behalf Of Daryl Tester Sent: Sunday, May 14, 2000 8:46 AM To: Itamar Shtull-Trauring Cc: zope@zope.org Subject: Re: [Zope] Problems with FastCGI
Itamar Shtull-Trauring wrote:
This was a problem that used to afflict Zope 2.1.4 (and still does :-), but later versions were supposed to have fixed. Which version are you running?
Zope 2.1.6.
Panic. Maybe only the CVS version is fixed?
I started out using FastCGI, struck this problem, and then shifted to mod_pcgi2. Things have been sweet ever since.
Yes. It was fixed in CVS...a long time ago, actually (Nov. 1999). I'm not sure why it hasn't been updated in any of the latest releases. Replace ZServer/FCGIServer.py with the latest CVS and that will take care of it. I've been using FastCGI since support first came out for it. Other than this problem, I haven't had any. http://classic.zope.org/cgi-bin/cvsweb.cgi/Zope2/ZServer/FCGIServer.py _______________________ Ron Bickers Logic Etc, Inc. rbickers@logicetc.com
Ron Bickers wrote:
Yes. It was fixed in CVS...a long time ago, actually (Nov. 1999). I'm not sure why it hasn't been updated in any of the latest releases.
Replace ZServer/FCGIServer.py with the latest CVS and that will take care of it. I've been using FastCGI since support first came out for it. Other than this problem, I haven't had any.
That seemed to work - thanks! -- Itamar S.T. itamar@maxnm.com
participants (3)
-
Daryl Tester -
Itamar Shtull-Trauring -
Ron Bickers