Hey there, I have a self-hosted Gitlab Omnibus installation on a server. Everything appears to be working fine, I am able to access gitlab and the container registry. My certs are valid and working and container registry shows up just fine in the features in the admin area. I have the container registry set up on registry.gitlab.mydomain.com:5050
The Problem: So my issue is that I can’t run docker login registry.gitlab.mydomain.com:5050
. Here’s the error I keep getting:
INFO[0017] Error logging in to endpoint, trying next endpoint error="Get \"https://registry.gitlab.mydomain.com:5050/v2/\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"
Get "https://registry.gitlab.mydomain.com:5050/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
I’ve confirmed that it is accessible at that URL, the cert is valid, and it’s turned on. I tried from another machine and got the same issue.
I tried running docker login from the server hosting gitlab using docker login localhost:5050
and for some reason, that worked just fine but on any other machine it seems to not work at all.
I’m also not running it behind a reverse proxy so I’m accessing it directly via port 5050.
Any help would be greatly appreciated, Thanks!