I am getting this problem while pushing the images to registry.
I'm using Ubuntu server inside Ubuntu docker installed, and inside the docker created docker registry container and I have an issue while while registry is integrating with gitlab.
Both gitlab and registry are on same server.
I have created a registry under same domain of gitlab.
no code
Get https://someurl:8000/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Deleting all other DNS server settings except 8.8.8.8 resolved the issue for me.
On mac OS:

I was getting the same error (on Windows):

In my case, it was an issue with the proxy. So I:

This solved the error:

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With