Welcome! Log In Create A New Profile

Advanced

Re: Info messages in the log: Connection reset by peer) while sending to client

October 03, 2017 02:08AM
HI!

I think this log message isĀ irrelevant with the keepalive directive inside your upstream configuration block, it just tell you the connection was reset by the client side.

On 3 October 2017 at 12:48:02, sachin.shetty@gmail.com (nginx-forum@forum.nginx.org) wrote:

Hi,

I had an upstream defined in my config with keepalive 60. But the server is
a legacy one and does not handle keep alive properly.

So I removed the keepalive attribute and the errors I was seeing on the
client from the upstream went away.

But now I see a ton these info log lines:

2017/10/03 04:37:51 [info] 1933#0: *6091340 recv() failed (104: Connection
reset by peer) while sending to client, client: 164.40.242.212, server:
kong, request: "POST
/public-api/v1/fs/Shared/functional_tests_2017_10_03_06_37_49_068 HTTP/1.1",
upstream:
"http://10.116.4.42:7280/public-api/v1/fs/Shared/functional_tests_2017_10_03_06_37_49_068",
host: "wdio.qa-egnyte.com"

I dont see any functional errors in our system, and the info log seems
harmless, but I was still curious to understand what this means and if it
has any side effects at scale.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,276657,276657#msg-276657

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

Info messages in the log: Connection reset by peer) while sending to client

sachin.shetty@gmail.com October 03, 2017 12:47AM

Re: Info messages in the log: Connection reset by peer) while sending to client

tokers October 03, 2017 02:08AM

Re: Info messages in the log: Connection reset by peer) while sending to client

sachin.shetty@gmail.com October 03, 2017 05:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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