<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thank you very much for your reply, Anoop.<div class="">I will collect the upstream logs and I will let you know.</div><div class=""><br class=""></div><div class="">Have a great day.</div><div class="">Mauro<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 22 May 2021, at 03:58, Anoop Alias <<a href="mailto:anoopalias01@gmail.com" class="">anoopalias01@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">The private_ip:5044 is closing the connection before completing the request.<div class=""><br class=""></div><div class="">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 class=""><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" class="">mauro.tridici@cmcc.it</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br class="">
Dear Users,<br class="">
<br class="">
I’m noticing a these error messages in /var/log/nginx/error.log.<br class="">
<br class="">
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" class="">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br class="">
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" class="">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br class="">
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" class="">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br class="">
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" class="">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br class="">
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" class="">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br class="">
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" class="">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br class="">
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" class="">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br class="">
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" class="">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br class="">
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" class="">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br class="">
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" class="">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br class="">
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" class="">0.0.0.0:5044</a>, upstream: "private_ip:5044", bytes from/to client:321/7709, bytes from/to upstream:7709/321<br class="">
<br class="">
Basically, it seems that the error is related to a particular (authorized) IP address.<br class="">
This remote FILEBEAT client is sending data to LOGSTASH server via NGINX.<br class="">
<br class="">
Do you some suggestion to fix this annoying issue?<br class="">
<br class="">
Thank you in advancee,<br class="">
Mauro<br class="">
_______________________________________________<br class="">
nginx mailing list<br class="">
<a href="mailto:nginx@nginx.org" target="_blank" class="">nginx@nginx.org</a><br class="">
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank" class="">http://mailman.nginx.org/mailman/listinfo/nginx</a></blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail_signature"><div dir="ltr" class=""><div class=""><b class="">Anoop P Alias</b> <div class=""><br class=""></div></div></div></div>
_______________________________________________<br class="">nginx mailing list<br class=""><a href="mailto:nginx@nginx.org" class="">nginx@nginx.org</a><br class="">http://mailman.nginx.org/mailman/listinfo/nginx</div></blockquote></div><br class="">
<br class=""></div></body></html>