Bad Gateway
Created by: Sgt-Tailor
After a full installation of GitLab, I tried to connect to it using the ip, but get a bad gateway error. Here are some logs:
gitlab production.log:
Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Rendered notify/new_user_email.html.haml within layouts/notify (20.4ms)
Sent mail to [email protected] (503ms) Started GET "/" for 127.0.0.1 at 2013-04-14 22:26:41 +0200 Processing by DashboardController#index as HTML Completed 401 Unauthorized in 4ms Started GET "/users/sign_in" for 127.0.0.1 at 2013-04-14 22:26:42 +0200 Processing by Devise::SessionsController#new as HTML Rendered devise/shared/_links.erb (4.9ms) Rendered devise/sessions/new.html.haml within layouts/devise (169.2ms) Compiled jquery.ui.gitlab.css (1ms) (pid 19940) Compiled jquery.atwho.css (0ms) (pid 19940) Compiled chosen.css (753ms) (pid 19940) Compiled application.css (17424ms) (pid 19940) Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-04-14 22:30:22 +0200 Processing by DashboardController#index as HTML Completed 401 Unauthorized in 4ms Started GET "/users/sign_in" for 127.0.0.1 at 2013-04-14 22:30:22 +0200 Processing by Devise::SessionsController#new as HTML Rendered devise/shared/_links.erb (4.9ms) Rendered devise/sessions/new.html.haml within layouts/devise (67.6ms) Started GET "/" for 127.0.0.1 at 2013-04-14 22:30:40 +0200 Processing by DashboardController#index as HTML Completed 401 Unauthorized in 2ms Started GET "/users/sign_in" for 127.0.0.1 at 2013-04-14 22:30:40 +0200 Processing by Devise::SessionsController#new as HTML Rendered devise/shared/_links.erb (5.1ms) Rendered devise/sessions/new.html.haml within layouts/devise (51.0ms) Compiled jquery.js (11ms) (pid 4119) Compiled jquery.effects.core.js (1ms) (pid 4119) Compiled jquery.effects.blind.js (166ms) (pid 4119) Compiled jquery.effects.bounce.js (7ms) (pid 4119) Compiled jquery.effects.clip.js (7ms) (pid 4119) Compiled jquery.effects.drop.js (7ms) (pid 4119) Compiled jquery.effects.explode.js (7ms) (pid 4119) Compiled jquery.effects.fade.js (7ms) (pid 4119) Compiled jquery.effects.fold.js (7ms) (pid 4119) Compiled jquery.effects.highlight.js (7ms) (pid 4119) Compiled jquery.effects.pulsate.js (7ms) (pid 4119) Compiled jquery.effects.scale.js (7ms) (pid 4119) Compiled jquery.effects.shake.js (7ms) (pid 4119)
Unicorn log:
I, [2013-04-14T22:25:39.801480 #19858] INFO -- : Refreshing Gem list I, [2013-04-14T22:26:19.634031 #19858] INFO -- : listening on addr=/home/gitlab/git$ I, [2013-04-14T22:26:19.643592 #19858] INFO -- : master process ready I, [2013-04-14T22:26:19.671085 #19937] INFO -- : worker=0 ready I, [2013-04-14T22:26:19.682896 #19940] INFO -- : worker=1 ready E, [2013-04-14T22:27:13.699993 #19858] ERROR -- : worker=1 PID:19940 timeout (31s > $ E, [2013-04-14T22:27:13.719682 #19858] ERROR -- : reaped #<Process::Status: pid 1994$ I, [2013-04-14T22:27:13.750787 #20010] INFO -- : worker=1 ready I, [2013-04-14T22:27:39.463504 #19858] INFO -- : reaped #<Process::Status: pid 1993$ I, [2013-04-14T22:27:39.463792 #19858] INFO -- : reaped #<Process::Status: pid 2001$ I, [2013-04-14T22:27:39.464066 #19858] INFO -- : master complete I, [2013-04-14T22:28:33.459521 #3529] INFO -- : Refreshing Gem list I, [2013-04-14T22:29:20.156988 #3529] INFO -- : unlinking existing socket=/home/git$ I, [2013-04-14T22:29:20.157462 #3529] INFO -- : listening on addr=/home/gitlab/gitl$ I, [2013-04-14T22:29:20.164954 #3529] INFO -- : master process ready I, [2013-04-14T22:29:20.403282 #4122] INFO -- : worker=1 ready I, [2013-04-14T22:29:20.403858 #4119] INFO -- : worker=0 ready E, [2013-04-14T22:30:53.237322 #3529] ERROR -- : worker=0 PID:4119 timeout (31s > 30$ E, [2013-04-14T22:30:53.264024 #3529] ERROR -- : reaped #<Process::Status: pid 4119 $ I, [2013-04-14T22:30:53.477814 #4226] INFO -- : worker=0 ready E, [2013-04-14T22:31:11.271903 #3529] ERROR -- : worker=1 PID:4122 timeout (31s > 30$ E, [2013-04-14T22:31:11.307692 #3529] ERROR -- : reaped #<Process::Status: pid 4122 $ I, [2013-04-14T22:31:11.514745 #4311] INFO -- : worker=1 ready E, [2013-04-14T22:31:59.360366 #3529] ERROR -- : worker=0 PID:4226 timeout (31s > 30$ E, [2013-04-14T22:31:59.402659 #3529] ERROR -- : reaped #<Process::Status: pid 4226 $ I, [2013-04-14T22:31:59.609176 #4314] INFO -- : worker=0 ready E, [2013-04-14T22:38:13.784160 #3529] ERROR -- : worker=1 PID:4311 timeout (31s > 30$ E, [2013-04-14T22:38:13.784492 #3529] ERROR -- : worker=0 PID:4314 timeout (31s > 30$ E, [2013-04-14T22:38:13.838430 #3529] ERROR -- : reaped #<Process::Status: pid 4311 $ E, [2013-04-14T22:38:13.838869 #3529] ERROR -- : worker=0 PID:4314 timeout (31s > 30$ E, [2013-04-14T22:38:13.849527 #3529] ERROR -- : reaped #<Process::Status: pid 4314 $ I, [2013-04-14T22:38:14.085727 #4970] INFO -- : worker=1 ready I, [2013-04-14T22:38:14.087409 #4973] INFO -- : worker=0 ready E, [2013-04-14T22:38:45.886425 #3529] ERROR -- : worker=0 PID:4973 timeout (31s > 30$ E, [2013-04-14T22:38:45.944179 #3529] ERROR -- : reaped #<Process::Status: pid 4973 $ I, [2013-04-14T22:38:46.160311 #4980] INFO -- : worker=0 ready E, [2013-04-14T22:38:56.956581 #3529] ERROR -- : worker=1 PID:4970 timeout (31s > 30$ E, [2013-04-14T22:38:57.000724 #3529] ERROR -- : reaped #<Process::Status: pid 4970 $ I, [2013-04-14T22:38:57.235993 #4983] INFO -- : worker=1 ready I, [2013-04-14T22:51:10.604187 #7554] INFO -- : executing ["/home/gitlab/gitlab/ven$ I, [2013-04-14T22:51:10.604515 #7554] INFO -- : forked child re-executing... I, [2013-04-14T22:51:12.198192 #7554] INFO -- : inherited addr=/home/gitlab/gitlab/$ I, [2013-04-14T22:51:12.199177 #7554] INFO -- : Refreshing Gem list I, [2013-04-14T22:51:53.575822 #7554] INFO -- : master process ready I, [2013-04-14T22:51:53.937051 #7592] INFO -- : worker=0 ready I, [2013-04-14T22:51:53.941258 #7595] INFO -- : worker=1 ready
gitlab_error.log: 2013/04/14 22:31:11 [error] 3379#0: *6 upstream prematurely closed connection while $ 2013/04/14 22:31:59 [error] 3379#0: *6 upstream prematurely closed connection while $ 2013/04/14 22:38:13 [error] 3379#0: *13 upstream prematurely closed connection while$ 2013/04/14 22:38:57 [error] 3379#0: *22 upstream prematurely closed connection while$ 2013/04/14 22:52:23 [error] 7575#0: *1 upstream prematurely closed connection while $ 2013/04/14 23:04:05 [error] 8295#0: *2 upstream prematurely closed connection while $