Welcome! Log In Create A New Profile

Advanced

Re: getting intermittent '502 bad gateway ' error.

Maxim Dounin
August 03, 2014 03:58PM
Hello!

On Sat, Aug 02, 2014 at 05:09:54AM -0400, shobhit wrote:

> We are using nodejs(v 0.10.29 ) ,express,nginx( version 1.4.6) with
> mongodb(v 2.6.3) replicaset and getting intermittent 502 bad gateway error.
> pm2 logs is unable to log error though nginx aerror.log is showing
>
> recv() failed (104: Connection reset by peer) while reading response
> header from upstream, client: xxx.xxx.xxx.xxx, server: somedomain.com,
> request: "GET /img/abc.png HTTP/1.1", upstream:
> "http://127.0.0.1:3000/img/abc.png", host: "domain.com", referrer:
> "http://domain.com/admin/"

This means that the connection was reset by your backend. You
have to look into the backend to find out what goes on there.

--
Maxim Dounin
http://nginx.org/

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

getting intermittent '502 bad gateway ' error.

shobhit August 02, 2014 05:09AM

Re: getting intermittent '502 bad gateway ' error.

Maxim Dounin August 03, 2014 03:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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