Welcome! Log In Create A New Profile

Advanced

upstream sent unsupported FastCGI protocol version: 104

Posted by odimitrov 
upstream sent unsupported FastCGI protocol version: 104
February 12, 2011 06:52AM
Can someone help me:
Why is this error :

2011/02/12 13:29:47 [error] 3418#0: *26 upstream sent unsupported FastCGI protocol version: 104, client: 10.10.10.100, server: 10.10.10.252, request: "GET /other/22660-2011-No-Pants-Ride---NY.html HTTP/1.1", host: "10.10.10.252", referrer: "http://10.10.10.252/other/23084-In-photos--Taiwanese-soldiers---Road-to-Heaven-test.html"



nginx -v
nginx version: nginx/0.7.67


location ~ \.php$ {



fastcgi_pass unix:/tmp/.fastcgi.root/socket;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/www$fastcgi_script_name;
include fastcgi_params;
fastcgi_buffers 256 4k;


fastcgi_cache_key "$request_method|$host|$request_uri";
fastcgi_ignore_headers 'Expires' 'Cache-Control';
fastcgi_cache fuck;

fastcgi_store_access group:rw all:r;
fastcgi_cache_valid 200 302 1m;
fastcgi_cache_valid 301 7d;
fastcgi_cache_valid any 5m;
fastcgi_cache_use_stale error timeout invalid_header http_500;
fastcgi_no_cache $nocache;

http {
fastcgi_cache_path /var/cache/nginx levels=1:2 keys_zone=fuck:100m inactive=10m max_size=100m;
fastcgi_temp_path /var/cache/nginx/temp 1 2;



root@ubuntu:/home/ogi# php -v
PHP 5.3.3-1ubuntu9.3 with Suhosin-Patch (cli) (built: Jan 12 2011 16:07:38)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
Re: upstream sent unsupported FastCGI protocol version: 104
February 12, 2011 07:24AM
recv() failed (95: Operation not supported) while reading response header from upstream

this error is also too much for me :) All these errors are UP when i try to use fastcgi_cache. Without fastcgi_cache everything works. The fastcgi_cache work on (http://10.10.10.252) index.php pages. I use CMS - Joomla where i have SEF urls specific configuration. Maybe there is the key of solving this :( config:
[code]
if ($request_method = POST ) {
rewrite ^(/addphp) /addphp/index.php?$1 last;
rewrite ^(/administrator) /administrator/index.php?q=$1 last;
rewrite (.*) /index.php?q=$1 last;
break;
}


location / {
root /var/www;
try_files $uri $uri/ /index.php?q=$request_uri;
index index.html index.htm index.php;
}


error_page 404 = @404;

location = @404 {
root /var/www;
rewrite ^(.*)$ /index.php?q=$1 last;
}

[/code]



Edited 2 time(s). Last edit at 02/12/2011 07:33AM by odimitrov.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 188
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready