TLS timeout for docker registry


I am having some issues running the docker registry in GitLab using the omnibus installation on RedHat with all the defaults. I’m following the instructions on this page here and I have HTTPS enabled on my server and working so I know the certificate is all good. I have this line in the gitlab.rb file

registry_external_url 'https://myurl:4567'

just as in the instructions and everything else is default. Then when I try to docker login .... the error I am getting is (for any username and password):

Error response from daemon: Get net/http: TLS handshake timeout.

What could possibly be the issue? Just to be clear, GitLab is hosting a registry for me, yes? I don’t have to point it to an already existing registry

Thank you.

1 Like