Welcome! Log In Create A New Profile

Advanced

failed (104: Connection reset by peer) while proxying connection

Mauro Tridici
May 21, 2021 05:18AM
Dear Users,

I’m noticing a these error messages in /var/log/nginx/error.log.

021/05/21 10:57:25 [error] 21145#0: *7 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: 0.0.0.0:5044, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321
2021/05/21 10:58:07 [error] 21145#0: *9 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: 0.0.0.0:5044, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321
2021/05/21 10:58:46 [error] 21145#0: *11 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: 0.0.0.0:5044, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321
2021/05/21 10:59:19 [error] 21145#0: *13 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: 0.0.0.0:5044, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321
2021/05/21 10:59:57 [error] 21145#0: *15 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: 0.0.0.0:5044, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321
2021/05/21 11:00:55 [error] 21145#0: *17 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: 0.0.0.0:5044, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321
2021/05/21 11:01:38 [error] 21145#0: *19 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: 0.0.0.0:5044, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321
2021/05/21 11:02:33 [error] 21145#0: *21 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: 0.0.0.0:5044, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321
2021/05/21 11:03:06 [error] 21145#0: *23 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: 0.0.0.0:5044, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321
2021/05/21 11:03:39 [error] 21145#0: *25 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: 0.0.0.0:5044, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321
2021/05/21 11:04:33 [error] 21145#0: *27 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: 0.0.0.0:5044, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321

Basically, it seems that the error is related to a particular (authorized) IP address.
This remote FILEBEAT client is sending data to LOGSTASH server via NGINX.

Do you some suggestion to fix this annoying issue?

Thank you in advancee,
Mauro
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

failed (104: Connection reset by peer) while proxying connection

Mauro Tridici May 21, 2021 05:18AM

Re: failed (104: Connection reset by peer) while proxying connection

Anoop Alias May 21, 2021 10:00PM

Re: failed (104: Connection reset by peer) while proxying connection

Mauro Tridici May 22, 2021 03:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 73
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready