Welcome! Log In Create A New Profile

Advanced

epoll_wait() reported that client prematurely closed connection

Posted by rgurijala 
epoll_wait() reported that client prematurely closed connection
February 11, 2022 10:13AM
2022/02/11 09:46:49 [info] 29#0: *1298546 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too (104: Connection reset by peer) while sending request to upstream,

We are getting this error with 499 status code after 5 mins. Nginx is unable to process request more than 5 mins.
Nginx is running in K8S.

Please help me how to fix it?

Config:

client_max_body_size 10m;
client_body_buffer_size 128k;

proxy_redirect off;
proxy_connect_timeout 5;
proxy_send_timeout 90;
proxy_read_timeout 600;
proxy_buffers 32 4k;
proxy_buffer_size 8k;
proxy_request_buffering on;
proxy_http_version 1.1;



Edited 1 time(s). Last edit at 02/11/2022 10:21AM by rgurijala.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 98
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready