title: Nginx error recv() failed (104: Connection reset by peer) while proxying connection
body: <p>I am using Nginx for HTTP &amp; TCP load balancing. HTTP is working fine, But i am getting below error for TCP load balancing. I am using Nginx ngx_stream_core_module module. </p>
  
  <p>nginx version: nginx/1.9.13</p>
  
  <p>Nginx error Logs :</p>
  
  <pre><code>2016/07/12 07:46:16 [error] 16737#16737: *32006 recv() failed (104: Connection reset by peer) while proxying connection, client: 27.50.X.X, server: 0.0.0.0:3030, upstream: "10.7.0.12:3030", bytes from/to client:354/318, bytes from/to upstream:318/354
  2016/07/12 07:48:53 [error] 16737#16737: *32048 recv() failed (104: Connection reset by peer) while proxying connection, client: 27.50.X.X, server: 0.0.0.0:3030, upstream: "10.7.0.12:3030", bytes from/to client:324/292, bytes from/to upstream:292/324
  2016/07/12 07:51:40 [error] 16737#16737: *32109 recv() failed (104: Connection reset by peer) while proxying connection, client: 27.50.X.X, server: 0.0.0.0:3030, upstream: "10.7.0.12:3030", bytes from/to client:324/292, bytes from/to upstream:292/324
  </code></pre>
  
  <p>Can anyone help me to understand why I am getting this errors ?</p>
  
  <p>Is there any way to enable access logs for tcp requests coming to Nginx?</p>