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: 22.214.171.124, 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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart.
If you run into issues leave a comment, or add your own answer to help others.