Welcome! Log In Create A New Profile

Advanced

upstream prematurely closes cnx => 502 Bad Gateway to client

March 03, 2016 05:10AM
Nginx’ers,

I trying to figure out why I'm randomly are seeing requests having issues with a nginx 1.7.4 when proxying to an upstream pool like:

2016/03/03 10:24:21 [error] 15905#0: *3252814 upstream prematurely closed connection while reading response header from upstream, client: 10.45.69.25, server: , request: "POST /<redacted url> HTTP/1.1", upstream: "http://10.45.69.28:8081/<redacted url>", host: "mxosCl:8081"
2016/03/03 10:30:02 [error] 15905#0: *3237632 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 10.45.69.99, server: , request: "POST /<redacted url> HTTP/1.1", upstream: "http://10.45.69.25:8081/<redacted url>", host: "mxosCl:8081"
2016/03/03 10:30:02 [error] 15905#0: *3237670 upstream prematurely closed connection while reading response header from upstream, client: 10.45.69.99, server: , request: "POST /<redacted url> HTTP/1.1", upstream: "http://10.45.69.28:8081/<redacted url>", host: "mxosCl:8081"
2016/03/03 10:30:03 [error] 15905#0: *3237670 upstream prematurely closed connection while reading response header from upstream, client: 10.45.69.99, server: , request: "DELETE /<redacted url> HTTP/1.1", upstream: "http://10.45.69.26:8081/<redacted url>", host: "mxosCl:8081"

upstream servers doesn't log any issues, it seems. clients get a 502 Bad Gateway for such requests.

TIA

/Steffen

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

upstream prematurely closes cnx => 502 Bad Gateway to client

stefws March 03, 2016 05:10AM

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

stefws March 03, 2016 05:57AM

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

B.R. March 03, 2016 06:54AM

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

stefws March 04, 2016 02:12AM

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

stefws March 04, 2016 05:00AM

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

stefws March 04, 2016 05:00AM

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

Aleksandar Lazic March 04, 2016 05:50AM

Re: upstream prematurely closes cnx => 502 Bad Gateway to client

stefws March 04, 2016 08:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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