Welcome! Log In Create A New Profile

Advanced

Re: Re: proxy_upstream_next while no live upstreams

Maxim Dounin
May 10, 2017 10:44AM
Hello!

On Wed, May 10, 2017 at 10:27:16PM +0800, Wu Bingzheng wrote:

> Maybe you miss something in Question 2. The server 192.168.0.5 never fails.
> I think nginx should not return 502 if there is at least one server never fails.
> Exactly speaking, the server never fails in the last 1 hour and the fail_timeout is the default 10 second.

How do you know that the server never fails?

The "no live upstreams" error indicate that it failed from nginx
point of view, and was considered unavailable.

Note that "failure" might not be something specifically logged by
nginx, but a response with a specific http code you've configured
in proxy_next_upstream, see http://nginx.org/r/proxy_next_upstream.

--
Maxim Dounin
http://nginx.org/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_upstream_next while no live upstreams

Wu Bingzheng May 10, 2017 04:28AM

Re: proxy_upstream_next while no live upstreams

Maxim Dounin May 10, 2017 08:46AM

Re:Re: proxy_upstream_next while no live upstreams

Wu Bingzheng May 10, 2017 10:30AM

Re: Re: proxy_upstream_next while no live upstreams

Maxim Dounin May 10, 2017 10:44AM

Re:Re: Re: proxy_upstream_next while no live upstreams

Wu Bingzheng May 12, 2017 01:36AM

Re: Re: Re: proxy_upstream_next while no live upstreams

Maxim Dounin May 12, 2017 06:40AM

Re:Re: Re: Re: proxy_upstream_next while no live upstreams

Wu Bingzheng May 13, 2017 12:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 208
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