<div dir="ltr">The private_ip:5044 is closing the connection before completing the request.<div><br></div><div>You should check the log in the upstream server for why it is doing this. Perhaps a security module or something that drop connection immediately etc</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 21, 2021 at 2:46 PM Mauro Tridici <<a href="mailto:mauro.tridici@cmcc.it">mauro.tridici@cmcc.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Dear Users,<br>
<br>
I’m noticing a these error messages in /var/log/nginx/error.log.<br>
<br>
021/05/21 10:57:25 [error] 21145#0: *7 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: <a href="http://0.0.0.0:5044" rel="noreferrer" target="_blank">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br>
2021/05/21 10:58:07 [error] 21145#0: *9 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: <a href="http://0.0.0.0:5044" rel="noreferrer" target="_blank">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br>
2021/05/21 10:58:46 [error] 21145#0: *11 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: <a href="http://0.0.0.0:5044" rel="noreferrer" target="_blank">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br>
2021/05/21 10:59:19 [error] 21145#0: *13 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: <a href="http://0.0.0.0:5044" rel="noreferrer" target="_blank">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br>
2021/05/21 10:59:57 [error] 21145#0: *15 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: <a href="http://0.0.0.0:5044" rel="noreferrer" target="_blank">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br>
2021/05/21 11:00:55 [error] 21145#0: *17 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: <a href="http://0.0.0.0:5044" rel="noreferrer" target="_blank">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br>
2021/05/21 11:01:38 [error] 21145#0: *19 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: <a href="http://0.0.0.0:5044" rel="noreferrer" target="_blank">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br>
2021/05/21 11:02:33 [error] 21145#0: *21 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: <a href="http://0.0.0.0:5044" rel="noreferrer" target="_blank">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br>
2021/05/21 11:03:06 [error] 21145#0: *23 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: <a href="http://0.0.0.0:5044" rel="noreferrer" target="_blank">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br>
2021/05/21 11:03:39 [error] 21145#0: *25 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: <a href="http://0.0.0.0:5044" rel="noreferrer" target="_blank">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br>
2021/05/21 11:04:33 [error] 21145#0: *27 recv() failed (104: Connection reset by peer) while proxying connection, client: public_ip, server: <a href="http://0.0.0.0:5044" rel="noreferrer" target="_blank">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br>
<br>
Basically, it seems that the error is related to a particular (authorized) IP address.<br>
This remote FILEBEAT client is sending data to LOGSTASH server via NGINX.<br>
<br>
Do you some suggestion to fix this annoying issue?<br>
<br>
Thank you in advancee,<br>
Mauro<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><b>Anoop P Alias</b> <div><br></div></div></div></div>