You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
level=error correlation_id= duration_ms=0 error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory
#2919
i spent the last two days trying to figure out what could be wrong with my installation and i could not figure it out and i need some help identifying the root cause of the the above mentioned problem maybe someon could spot something i can see!!
These are the steps i used to reproduce the above error:
environment
Gitlab 16.10.0
Postgresql 13.14
Ubuntu 22.04
Containerd 1.6.28
nerdctl 1.7.5
steps to reproduce
created a database / user / credentials in a remote postgresql 13
i created a bash script(*1) to start the gitlab instance using a .env file with env-from-file , as i try to avoid compose style of docker
i started a local redis container which exposes its redis port to the localhost (lets say 10.10.2.8:6789 )
in the gitlab environments i configured redis, postgresql and an openid connect authentication
i started the gitlab container instance which start and even claim
the logs look almost beautifull! except that when i try to access the web frontend i get a 502 waiting for gitlab to boot and unfrotunately the instance does proceed further so i checked the logs one by one, the only logs files that seem to tell me that there is something wrong with puma is gitlab-workhorst.log file which shows the following:
time="2024-03-27T04:04:40+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:04:50+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:05:00+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:05:10+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:05:20+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:05:30+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:05:40+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:05:50+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:06:00+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:06:10+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:06:20+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:06:30+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:06:40+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:06:50+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:07:00+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:07:10+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:07:20+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:07:30+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:07:40+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:07:50+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:08:00+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:08:10+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:08:20+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:08:30+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:08:40+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:08:50+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:09:00+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=time="2024-03-27T04:09:10+01:00"level=errorcorrelation_id=duration_ms=0error="badgateway: failed to receive response: dial unix /home/git/gitlab/tmp/sockets/gitlab.socket: connect: no such file or directory"method=GETuri=
so i checked the container to see if the socket is created or not:
Hi all,
i spent the last two days trying to figure out what could be wrong with my installation and i could not figure it out and i need some help identifying the root cause of the the above mentioned problem maybe someon could spot something i can see!!
These are the steps i used to reproduce the above error:
environment
steps to reproduce
the logs look almost beautifull! except that when i try to access the web frontend i get a 502 waiting for gitlab to boot and unfrotunately the instance does proceed further so i checked the logs one by one, the only logs files that seem to tell me that there is something wrong with puma is gitlab-workhorst.log file which shows the following:
so i checked the container to see if the socket is created or not:
so it seems the socket is not there lets now check the puma logs:
im able to reproduce this behaviour with the above configuration.
Thanks for you help!
The text was updated successfully, but these errors were encountered: