502 error when trying to load gitlab

Hi all,

I’m trying to load GItlab and it gives a 502 error. I’m on gitlab-ce 13.12.15-ce.

This is my gitlab logs when I try to get to site:
==> /var/log/gitlab/nginx/gitlab_error.log <==
2024/01/03 17:00:36 [alert] 32277#0: accept4() failed (9: Bad file descriptor)

==> /var/log/gitlab/gitlab-workhorse/current <==
{“correlation_id”:“01HK84A4J0ZT1JGS5HK75W9QFQ”,“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”:“2024-01-03T17:00:36Z”,“uri”:“/”}
{“content_type”:“text/html; charset=utf-8”,“correlation_id”:“01HK84A4J0ZT1JGS5HK75W9QFQ”,“duration_ms”:0,“host”:“gitlab.acceleweb.com”,“level”:“info”,“method”:“GET”,“msg”:“access”,“proto”:“HTTP/1.1”,“referrer”:“”,“remote_addr”:“72.79.44.143:0”,“remote_ip”:“72.79.44.143”,“route”:“”,“status”:502,“system”:“http”,“time”:“2024-01-03T17:00:36Z”,“ttfb_ms”:0,“uri”:“/”,“user_agent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36”,“written_bytes”:2940}

==> /var/log/gitlab/nginx/gitlab_access.log <==
72.79.44.143 - - [03/Jan/2024:17:00:36 +0000] “GET / HTTP/2.0” 502 2940 “” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36” -

==> /var/log/gitlab/gitlab-workhorse/current <==
{“correlation_id”:“01HK84A4JNR4FY1PVACK26D0YC”,“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”:“2024-01-03T17:00:36Z”,“uri”:“/favicon.ico”}
{“content_type”:“text/html; charset=utf-8”,“correlation_id”:“01HK84A4JNR4FY1PVACK26D0YC”,“duration_ms”:0,“host”:“gitlab.acceleweb.com”,“level”:“info”,“method”:“GET”,“msg”:“access”,“proto”:“HTTP/1.1”,“referrer”:“https://gitlab.acceleweb.com/“,“remote_addr”:“72.79.44.143:0”,“remote_ip”:“72.79.44.143”,“route”:”“,“status”:502,“system”:“http”,“time”:“2024-01-03T17:00:36Z”,“ttfb_ms”:0,“uri”:”/favicon.ico",“user_agent”:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36”,“written_bytes”:2940}

==> /var/log/gitlab/nginx/gitlab_access.log <==
72.79.44.143 - - [03/Jan/2024:17:00:36 +0000] “GET /favicon.ico HTTP/2.0” 502 2940 “https://gitlab.acceleweb.com/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36” -

I think the culprit is this, but can’t find any reason why:
{“correlation_id”:“01HK84A4J0ZT1JGS5HK75W9QFQ”,“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”:“2024-01-03T17:00:36Z”,“uri”:“/”}

Anyone have a fix?