Question
504 Gateway Time-out NGINX + Unicorn Ubuntu 14 Ruby on Rails
2014/06/16 17:17:56 [error] 17282#0: *153 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 123.125.71.46, server: _, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "tutorials.veasoftware.com" 2014/06/16 17:23:12 [error] 17282#0: *162 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 185.5.153.114, server: _, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "www.veasoftware.com" 2014/06/16 17:37:44 [error] 17282#0: *172 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 189.177.5.146, server: _, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "www.veasoftware.com" 2014/06/16 17:37:47 [error] 17282#0: *175 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 67.22.168.113, server: _, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "veasoftware.com", referrer: "http://www.google.com/url?sa=D&q=http://veasoftware.com/&usg=AFQjCNHVnRaJX4JHeEnScPmw_naIwCMFyw" 2014/06/16 17:40:07 [error] 17282#0: *180 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 180.76.5.149, server: _, request: "GET /2013/10/10/how-to-add-iads/ HTTP/1.1", upstream: "http://127.0.0.1:8080/2013/10/10/how-to-add-iads/", host: "www.veasoftware.com"unicorn.log
E, [2013-12-20T02:08:44.787584 #4461] ERROR -- : reaped # worker=1 I, [2013-12-20T02:08:44.787734 #4461] INFO -- : worker=1 spawning... /home/rails/config/boot.rb:4:in `require': no such file to load -- bundler/setup (LoadError) from /home/rails/config/boot.rb:4 from /home/rails/config/application.rb:1:in `require' from /home/rails/config/application.rb:1 from /home/rails/config/environment.rb:2:in `require' from /home/rails/config/environment.rb:2 from config.ru:4:in `require' from config.ru:4 from /usr/lib/ruby/vendor_ruby/rack/builder.rb:51:in `instance_eval' from /usr/lib/ruby/vendor_ruby/rack/builder.rb:51:in `initialize' from config.ru:1:in `new' from config.ru:1 E, [2013-12-20T02:08:44.790693 #4461] ERROR -- : reaped # worker=0 I, [2013-12-20T02:08:44.790899 #4461] INFO -- : worker=0 spawning... I, [2013-12-20T02:08:44.791952 #6246] INFO -- : worker=1 spawned pid=6246 /home/rails/config/boot.rb:4:in `require': no such file to load -- bundler/setupDoes anyone have any suggestions?
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.
×