502 Whoops, GitLab is taking too much time to respond.

Hello everyone,

I am relatively new to the Unix environement, For a school computer science project I need to setup a gitlab jenkins workflow and everything has been fine until now, I installed gitlab locally, created a repo/project, pushed a few updates, everything worked. Then I struggled to make jenkins work, tried everything I found , tried with different jdk (for some the issue has been resolved by using v8, others v11,...) reinstalled everything countless times but nothing did the trick... Finally fresh boot this morning and Jenkins was working, great !... But Gitlab doesn't work anymore... I looked into the ports and tried to put everything on different ports but so far I haven't been able to make them work both at the same time. Could anyone help me please ?

Here's the result of the command : sudo gitlab-ctl tail when I try to load gitlab page on http://localhost/

==> /var/log/gitlab/gitlab-workhorse/current <==
{"correlation_id":"01GMBV11PRBNXB7DM4DK2V7TBT","duration_ms":0,"error":"badgateway: failed to receive response: dial unix /var/opt/gitlab/gitlab-rails/sockets/gitlab.socket: connect: connection refused","level":"error","method":"GET","msg":"","time":"2022-12-15T22:28:42+01:00","uri":"/favicon.ico"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01GMBV11PRBNXB7DM4DK2V7TBT","duration_ms":0,"host":"localhost","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"http://localhost/","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"","status":502,"system":"http","time":"2022-12-15T22:28:42+01:00","ttfb_ms":0,"uri":"/favicon.ico","user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 OPR/94.0.0.0","written_bytes":2940}

==> /var/log/gitlab/nginx/gitlab_access.log <==
127.0.0.1 - - [15/Dec/2022:22:28:42 +0100] "GET /favicon.ico HTTP/1.1" 502 2940 "http://localhost/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 OPR/94.0.0.0" -

And here's the result of the command sudo gitlab-ctl status

run: alertmanager: (pid 17561) 6847s; run: log: (pid 17182) 6887s
run: gitaly: (pid 17437) 6849s; run: log: (pid 15854) 6979s
run: gitlab-exporter: (pid 17448) 6849s; run: log: (pid 17036) 6905s
run: gitlab-workhorse: (pid 17402) 6850s; run: log: (pid 16859) 6924s
run: grafana: (pid 17592) 6846s; run: log: (pid 17327) 6861s
run: logrotate: (pid 26596) 3392s; run: log: (pid 15693) 6991s
run: nginx: (pid 16872) 6920s; run: log: (pid 16927) 6917s
run: node-exporter: (pid 17428) 6850s; run: log: (pid 16940) 6913s
run: postgres-exporter: (pid 17585) 6847s; run: log: (pid 17224) 6881s
run: postgresql: (pid 15919) 6974s; run: log: (pid 15935) 6973s
run: prometheus: (pid 17534) 6848s; run: log: (pid 17110) 6893s
run: puma: (pid 37507) 2s; run: log: (pid 16751) 6935s
run: redis: (pid 15720) 6986s; run: log: (pid 15728) 6985s
run: redis-exporter: (pid 17450) 6849s; run: log: (pid 17063) 6899s
run: sidekiq: (pid 16761) 6932s; run: log: (pid 16779) 6929s
Edited Dec 15, 2022 by Stan Hu
Assignee Loading
Time tracking Loading