client closed prematurely connection while sending to client, in nginx -


i have error in nginx error.log:

2010/12/05 17:11:49 [info] 7736#0: *1108 client closed prematurely connection while sending client,  client: 188.72.80.201, server:***.biz, request: "get /forum/ http/1.1",  upstream:"http://***:3000/forum/", host: "***.biz" 

i have 500 response code on site everytime. how can fix this?

thank you.

i tackled problem myself long hours today , found solution:
please note fix affects when using load balancer(s)

check load balancer idle timeout. had elb idle timeout set 60 seconds (default) , request hanging, closed connection after given time. elb before nginx, nginx logging "client" (in case elb), closing connection.

so if using elb, go to:
ec2 -> load balancers -> select correct 1 -> scroll down in description , change idle timeout if using other load balancers, check configuration , timeouts.

also keep in mind still might needing change proxy timeouts etc.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -