Welcome! Log In Create A New Profile

Advanced

Ошибки в логах: no live upstreams while connecting to upstream

August 18, 2011 10:14AM
Доброе время суток!

Конфигурация сети следующая:
1. frontand nginx
2. backend тоже 2 -а nginx сервера,

Иак вот, на первом сервере в логе часто, валятся ошибки такого вида:

2011/08/18 10:07:32 [error] 23884#0: *857809852 no live upstreams while connecting to upstream, client: <client_ip> server: <backendN-name>, request: "GET /./Packages.bz2 HTTP/1.1", upstream: "http://upstreams/./Packages.bz2", host: "somehost"


конфиг по-умолчанию frontend-а
upstream {
backend1_IP:90;
backend2_IP:120;
}
server {
listen frontend-IPn:80;
server_name backendN-name;
location / {
proxy_pass http://upstreams;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
}
}


конфигурация backend:

server {
listen backend1_IP:90;
server_name localhost;
location / {
perl ncrewrite::handler2;
}
}

Что посоветуете сделать?
хотелось бы, конечно, между ними frontend <--> backend http/1.1, но nginx не поддерживает с апстримом 1.1....

Спасибо!
Subject Author Posted

Ошибки в логах: no live upstreams while connecting to upstream

toootooo August 18, 2011 10:14AM

Re: Ошибки в логах: no live upstreams while connecting to upstream

Maxim Dounin August 18, 2011 10:26AM

Re: Ошибки в логах: no live upstreams while connecting to upstream

toootooo August 19, 2011 02:47AM

Re: Ошибки в логах: no live upstreams while connecting to upstream

toootooo August 19, 2011 06:49AM

Re: Ошибки в логах: no live upstreams while connecting to upstream

Daniel Podolsky August 19, 2011 06:56AM

Re: Ошибки в логах: no live upstreams while connecting to upstream

sergey.kobzar August 19, 2011 07:12AM

Re: Ошибки в логах: no live upstreams while connecting to upstream

toootooo August 19, 2011 07:40AM

Re: Ошибки в логах: no live upstreams while connecting to upstream

toootooo August 19, 2011 08:40AM

Re: Ошибки в логах: no live upstreams while connecting to upstream

toootooo August 22, 2011 04:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 322
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready