Report this

What is the reason for this report?

[error] * upstream timed out (110: Connection timed out) while reading response header from upstream

Posted on July 19, 2013

So I recently deployed a Ruby on Rails app using Nginx, Unicorn, and Capistrano. Everything was working great (and I had used cap :deploy) to deploy changes. Made some recent changes to my site, deployed today and am getting these errors in my nginx/error.log

2013/07/19 19:05:16 [error] 21484#0: *8 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 67.180.201.178, server: , request: “GET / HTTP/1.1”, upstream: “http://unix:/tmp/unicorn.socialmath.sock:/”, host: “mrbarrette.com

I’ve tried google, but haven’t found anything that worked. Any thoughts on where to look for a fix or an idea for a fix? Thanks much in advance!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.