代理连接时,Nginx错误recv()失败(104:由对等方重置连接)

时间:2016-07-12 08:56:19

标签: nginx

我正在使用Nginx for HTTP& TCP负载平衡。 HTTP工作正常,但我正在低于TCP负载平衡的错误。我正在使用Nginx ngx_stream_core_module模块。

nginx版本:nginx / 1.9.13

Nginx错误日志:

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

任何人都可以帮助我理解为什么我会收到这个错误吗?

有没有办法为来自Nginx的tcp请求启用访问日志?

0 个答案:

没有答案