Skip to content

Instantly share code, notes, and snippets.

@abbood
Created November 14, 2016 07:10
Show Gist options
  • Save abbood/b88c369499d84f78831935b1b1656044 to your computer and use it in GitHub Desktop.
Save abbood/b88c369499d84f78831935b1b1656044 to your computer and use it in GitHub Desktop.
gitlab 502 error
==> /var/log/gitlab/gitlab-rails/production.log <==
Started GET "/acme" for 10.0.2.2 at 2016-11-14 07:08:55 +0000
Processing by GroupsController#show as HTML
Parameters: {"id"=>"acme"}
Read fragment views/groups/4-20161114065217865914000/projects/2-20161114070659732247000/groups/show/application_settings/5-20161113184919713293000/v2.3/3d121bd8b0daa59352f41e22c94edf3b (0.3ms)
Completed 200 OK in 519ms (Views: 304.6ms | ActiveRecord: 46.0ms)
==> /var/log/gitlab/nginx/gitlab_access.log <==
10.0.2.2 - - [14/Nov/2016:07:08:56 +0000] "GET /acme HTTP/2.0" 200 25745 "https://127.0.0.1:8443/acme/iOS" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36"
==> /var/log/gitlab/gitlab-workhorse/current <==
2016-11-14_07:08:56.53978 127.0.0.1:8443 @ - - [2016-11-14 07:08:55.83684394 +0000 UTC] "GET /acme HTTP/1.1" 200 25441 "https://127.0.0.1:8443/acme/iOS" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36" 0.702464
==> /var/log/gitlab/unicorn/current <==
2016-11-14_07:09:05.40565 /opt/gitlab/embedded/bin/gitlab-unicorn-wrapper: fork: Cannot allocate memory
2016-11-14_07:09:06.75211 forwarding INT to unicorn master 3786
2016-11-14_07:09:06.85394 /opt/gitlab/embedded/bin/gitlab-unicorn-wrapper: line 123: wait_for: No record of process 4036
==> /var/log/gitlab/gitlab-workhorse/current <==
2016-11-14_07:09:09.02092 2016/11/14 07:09:09 error: GET "/projects/new?namespace_id=4": badgateway: failed after 7.167s: net/http: transport closed before response was received
2016-11-14_07:09:09.03078 2016/11/14 07:09:09 ErrorPage: serving predefined error page: 502
2016-11-14_07:09:09.03095 127.0.0.1:8443 @ - - [2016-11-14 07:09:01.833568432 +0000 UTC] "GET /projects/new?namespace_id=4 HTTP/1.1" 502 2422 "https://127.0.0.1:8443/acme" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36" 7.197345
==> /var/log/gitlab/nginx/gitlab_access.log <==
10.0.2.2 - - [14/Nov/2016:07:09:09 +0000] "GET /projects/new?namespace_id=4 HTTP/2.0" 502 2575 "https://127.0.0.1:8443/acme" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36"
==> /var/log/gitlab/gitlab-workhorse/current <==
2016-11-14_07:09:09.06684 2016/11/14 07:09:09 error: GET "/projects/new?namespace_id=4": badgateway: failed after 0.001s: dial unix /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: connect: connection refused
2016-11-14_07:09:09.06695 2016/11/14 07:09:09 ErrorPage: serving predefined error page: 502
==> /var/log/gitlab/unicorn/unicorn_stderr.log <==
I, [2016-11-14T07:09:09.068384 #3786] INFO -- : reaped #<Process::Status: pid 3833 exit 0> worker=0
==> /var/log/gitlab/gitlab-workhorse/current <==
2016-11-14_07:09:09.07664 127.0.0.1:8443 @ - - [2016-11-14 07:09:09.060726162 +0000 UTC] "GET /projects/new?namespace_id=4 HTTP/1.1" 502 2422 "https://127.0.0.1:8443/acme" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36" 0.008297
==> /var/log/gitlab/nginx/gitlab_access.log <==
10.0.2.2 - - [14/Nov/2016:07:09:09 +0000] "GET /projects/new?namespace_id=4 HTTP/2.0" 502 2575 "https://127.0.0.1:8443/acme" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36"
==> /var/log/gitlab/unicorn/unicorn_stderr.log <==
I, [2016-11-14T07:09:09.078518 #3786] INFO -- : reaped #<Process::Status: pid 3835 exit 0> worker=1
I, [2016-11-14T07:09:09.078836 #3786] INFO -- : reaped #<Process::Status: pid 3841 exit 0> worker=2
I, [2016-11-14T07:09:09.078967 #3786] INFO -- : reaped #<Process::Status: pid 3844 exit 0> worker=3
I, [2016-11-14T07:09:09.079109 #3786] INFO -- : master complete
==> /var/log/gitlab/gitlab-workhorse/current <==
2016-11-14_07:09:09.19302 2016/11/14 07:09:09 Send static file "/opt/gitlab/embedded/service/gitlab-rails/public/favicon.ico" ("") for GET "/favicon.ico"
2016-11-14_07:09:09.19861 127.0.0.1:8443 @ - - [2016-11-14 07:09:09.19279152 +0000 UTC] "GET /favicon.ico HTTP/1.1" 200 5430 "https://127.0.0.1:8443/projects/new?namespace_id=4" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36" 0.005712
==> /var/log/gitlab/nginx/gitlab_access.log <==
10.0.2.2 - - [14/Nov/2016:07:09:09 +0000] "GET /favicon.ico HTTP/2.0" 200 5545 "https://127.0.0.1:8443/projects/new?namespace_id=4" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36"
==> /var/log/gitlab/unicorn/current <==
2016-11-14_07:09:13.41431 starting new unicorn master
==> /var/log/gitlab/unicorn/unicorn_stderr.log <==
I, [2016-11-14T07:09:14.493377 #4052] INFO -- : Refreshing Gem list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment