Client.Timeout exceeded Docker Origin: Platform & cloud OSI layer 7 · Application Last updated 15 Oct 2026

Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded)

Docker couldn’t reach the registry in time — a network, DNS, proxy or firewall problem between your machine and the registry.

Exact message you may see Client.Timeout exceeded while awaiting headersrequest canceled while waiting for connectionnet/http: TLS handshake timeout
Seen on: Docker

Meaning

The Docker daemon (not your shell) makes registry requests, so proxies set only in your terminal don’t apply. Corporate proxies, VPNs, IPv6 problems and DNS failures are the usual causes.

Common causes

  • Corporate proxy not configured for the Docker daemon
  • DNS can’t resolve registry hosts
  • Firewall/VPN blocking outbound 443
  • Flaky IPv6 route

⚡ Quick fix

  1. Configure the daemon proxy (Docker Desktop → Resources → Proxies, or systemd drop-in)
  2. Set DNS in daemon.json
  3. Retry off the VPN to confirm

Detailed fix by platform

Linux

  1. bash
    sudo mkdir -p /etc/systemd/system/docker.service.d
    printf '[Service]
    Environment="HTTPS_PROXY=http://proxy:3128"
    ' | sudo tee /etc/systemd/system/docker.service.d/proxy.conf
    sudo systemctl daemon-reload && sudo systemctl restart docker

Docker

  1. bash
    # /etc/docker/daemon.json
    { "dns": ["8.8.8.8", "1.1.1.1"] }

How to diagnose

  1. Reach — curl -v https://registry-1.docker.io/v2/ from the host
  2. Proxy — docker info | grep -i proxy
  3. DNS — nslookup registry-1.docker.io

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Platform & cloud. Errors that are often confused with or caused by this one (click to open):

0x80070035 — 0x80070035: The network path was not found (System error 53) (Windows)0x800700350x80072EE7 — Error 0x80072EE7 (Windows Update / Microsoft Store: server name could not be resolved) (Windows)0x80072EE70x8024402C — Windows Update error 0x8024402C (cannot connect to update server) (Windows)0x8024402C14 UNAVAILABLE — gRPC Error: 14 UNAVAILABLE: No connection established / failed to connect to all addresses (API)14 UNAVAILABLE2003 — MySQL ERROR 2003 (HY000): Can't connect to MySQL server on 'host:3306' (111) (MySQL)2003407 — HTTP 407 Proxy Authentication Required (HTTP)407511 — HTTP 511 Network Authentication Required (HTTP)511AbortError — AbortError: The user aborted a request. / signal is aborted without reason (JavaScript)AbortErrorClient.Ti…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.