民间 我有一个问题,我在kong的错误日志中持续看到这些消息
.............................
[info] 9748#0: *61537 recv() failed (104: Connection reset by peer) while sending to client, client: 1.2.3.4, server: kong, request: "POST /foo HTTP/1.1", upstream: "http://foo.com/fooapi"
..............................
我对正在发生的事情进行了TCP转储并分析了转储
我可以清楚地看到Kong服务器在发送响应(http状态代码200,带有FIN,ACK)后关闭连接,客户端使用RST,ACK
响应我有两个问题
我已经启用了Keepalive nginx.conf(所以Kong服务器不应该关闭连接)
http {
keepalive_timeout 60;
keepalive_requests 10000;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
include 'nginx-kong.conf';
}
我做错了什么?