Gitlab Registry -Setup

After configuring external registry for gitlab, could not able to login using docker login command to registry

Describe your question in as much detail as possible:

  • What are you seeing, and how does it differ from what you expect to see?

➜ ~ docker login
Username: saskumar1
Get “”: Get “”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

  • Consider including screenshots, error messages, and/or other helpful visuals

2022-08-17_01:38:11.79277 time=“2022-08-17T01:38:11.792Z” level=info msg=“listening on” environment=production go_version=go1.17.6 instance_id=28146987-c194-4e35-817f-b74188a2dd34 service=registry version=v3.31.0-gitlab
2022-08-17_01:47:17.89039 time=“2022-08-17T01:47:17.890Z” level=warning msg=“error authorizing context: authorization token required” correlation_id=01GAMQQJ00K1YAYYRDYNZXG2JN go_version=go1.17.6 root_repo= version=v3.31.0-gitlab
2022-08-17_01:47:17.89046 {“content_type”:“application/json”,“correlation_id”:“01GAMQQJ00K1YAYYRDYNZXG2JN”,“duration_ms”:1,“host”:“”,“level”:“info”,“method”:“GET”,“msg”:“access”,“proto”:“HTTP/1.1”,“referrer”:“”,“remote_addr”:“”,“remote_ip”:“”,“status”:401,“system”:“http”,“time”:“2022-08-17T01:47:17.890Z”,“ttfb_ms”:1,“uri”:“/v2/”,“user_agent”:“Docker-Client/20.10.14 (darwin)”,“written_bytes”:87}
2022-08-17_02:19:11.79625 time=“2022-08-17T02:19:11.796Z” level=info msg=“PurgeUploads starting: olderThan=2022-08-10 02:19:11.796135322 +0000 UTC m=-602339.980282990, actuallyDelete=true”
2022-08-17_02:19:11.79629 time=“2022-08-17T02:19:11.796Z” level=info msg=“Purge uploads finished. Num deleted=0, num errors=1”

  • What version are you on (Hint: /help) ? and are you using self-managed or
    Self Gitlab-14.10.5

  • What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?

Thanks for taking the time to be thorough in your request, it really helps! :blush: