Welcome! Log In Create A New Profile

Advanced

Nginx didn't try the next available backend server

April 10, 2019 02:21AM
Hi,

My Nginx is configured with:
proxy_next_upstream error timeout http_429 http_503;

But I find it won't try the next available upstream server with the following error returned:

2019/04/05 20:11:41 [error] 85#85: *4903418 recv() failed (104: Connection reset by peer) while reading response header from upstream....

The "error" part for the proxy_next_upstream states:
error
an error occurred while establishing a connection with the server, passing a request to it, or reading the response header;

I understand the error above would fall into the "or reading the response header;", but why it didn't work?

BR,
Allen
Subject Author Posted

Nginx didn't try the next available backend server

allenhe April 10, 2019 02:21AM

Re: Nginx didn't try the next available backend server

Jeffrey 'jf' Lim April 10, 2019 04:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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