Reputation: 156
I made a specific runner on my own server, when I try to docker login to gitlab registry, I face with the error message that says "Error response from daemon: Get https://registry.gitlab.com/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" Is there any solution to this problem?
Upvotes: 5
Views: 16743
Reputation: 153
My mistake was that I changed the IP of my gitlab instance. While I changed the DNS entry for the gitlab application, I forgot to change the DNS entry for the gitlab registry.
Upvotes: 1
Reputation: 156
After a lot of searches, I find out that I must specify the DNS configuration in /etc/resolv.conf path, in my case, nameserver 8.8.8.8 was not working because of my location and I had to change it, then login was successful.
Upvotes: 2