Closed mzalendo254 closed 3 years ago
nginx access log
172.247.109.26 - - [15/Aug/2019:10:38:02 +0000] "GET / HTTP/1.1" 200 32761 "https://178.128.246.249/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 SE 2.X MetaSr 1.0"
172.247.109.168 - - [15/Aug/2019:10:38:02 +0000] "GET / HTTP/1.1" 200 32761 "http://178.128.246.249/" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 SE 2.X MetaSr 1.0"
60.191.38.77 - - [15/Aug/2019:10:49:02 +0000] "GET / HTTP/1.1" 200 32761 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0"
60.191.38.77 - - [15/Aug/2019:13:55:42 +0000] "GET / HTTP/1.1" 200 32761 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0"
212.83.146.233 - - [15/Aug/2019:18:04:48 +0000] "GET / HTTP/1.1" 200 32761 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0"
141.101.104.203 - - [15/Aug/2019:19:53:51 +0000] "GET / HTTP/1.1" 200 32761 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36"
172.69.54.79 - - [16/Aug/2019:00:49:50 +0000] "GET / HTTP/1.1" 200 32761 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36"
77.247.110.236 - - [16/Aug/2019:04:57:47 +0000] "GET //a2billing/customer/templates/default/footer.tpl HTTP/1.1" 404 1722 "-" "python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-957.21.3.el7.x86_64"
41.80.249.140 - - [16/Aug/2019:05:32:43 +0000] "GET / HTTP/1.1" 200 32761 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36"
141.101.77.180 - - [16/Aug/2019:06:24:14 +0000] "GET / HTTP/1.1" 200 32761 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36"
nginx error log
2019/04/25 13:17:23 [error] 11594#11594: *4 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 162.158.42.36, server: beta.vellum.co.ke, request: "GET / HTTP/1.1", upstream: "http://unix:/var/www/vellum/shared/tmp/sockets/puma.sock/", host: "beta.vellum.co.ke"
2019/04/25 13:25:31 [error] 16613#16613: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 162.158.42.36, server: beta.vellum.co.ke, request: "GET / HTTP/1.1", upstream: "http://unix:/var/www/vellum/shared/tmp/sockets/puma.sock/", host: "beta.vellum.co.ke"
2019/04/25 13:25:43 [error] 16613#16613: *3 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 162.158.42.36, server: beta.vellum.co.ke, request: "GET / HTTP/1.1", upstream: "http://unix:/var/www/vellum/shared/tmp/sockets/puma.sock/", host: "beta.vellum.co.ke"
2019/04/25 13:28:43 [error] 16613#16613: *5 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 162.158.42.36, server: beta.vellum.co.ke, request: "GET / HTTP/1.1", upstream: "http://unix:/var/www/vellum/shared/tmp/sockets/puma.sock/", host: "beta.vellum.co.ke"
Probably related to #1905
Stale issue message
When I deploy an application with capistrano-puma, everything goes according to plan including the starting of the app server, 'puma'. However when I try to access the web app on the browser I get the following error (Errno::EIO)`
/var/www/mercury/shared/bundle/ruby/2.5.0/gems/puma-4.1.0/lib/puma/events.rb:69:in
write': Input/output error @ io_writev -Configs
deploy.erb
Capfile
deploy/production.rb
Nginx Config File