Free | No tracking | Every fact with a source|German and English

Error / Home and connection

Ollama: max retries exceeded during download (ollama pull aborts)

The model download aborts after several retries because the connection to the download server keeps dropping.

The message

Error: max retries exceeded: unexpected EOF

Affects: Ollama

Why is this happening?

Ollama downloads models in chunks from a Cloudflare storage service. If the connection drops, Ollama tries several times and then gives up with “max retries exceeded.” Common causes are unstable connections, proxies, VPNs, or company firewalls, DNS problems (extra text “no such host”), or temporary issues with the provider. Older Ollama versions also had a bug when resuming downloads.

How to fix it

  1. Just run the same command again: ollama pull <modell>. The download will continue from where it stopped. If it gets stuck, cancel it with Strg+C and repeat the command.
  2. Update Ollama to the latest version from ollama.com, because a bug in resuming downloads has been fixed.
  3. If the message says “no such host,” your PC cannot resolve the download server. Test with ping <hostname aus der Meldung>. If that does not work, enter a different DNS server in your adapter’s network settings, for example 1.1.1.1 or 8.8.8.8.
  4. Behind a company proxy or a firewall with HTTPS inspection: Set the environment variable HTTPS_PROXY (not HTTP_PROXY) and install the proxy’s certificate as a system certificate. Then quit Ollama via the taskbar icon and restart it.
  5. Turn off a VPN as a test or try a different network, for example your phone’s hotspot. If it works there, the issue is with your network.
  6. Check whether there is enough free space on the drive with the model folder (by default C:\Users\<name>\.ollama\models).
  7. Windows 10 with WSL2 and very slow downloads: In the properties of the network adapter vEthernet (WSL), disable the options “Large Send Offload Version 2” for IPv4 and IPv6.

Better not: Do not delete the entire model folder just because a download aborts: The next ollama pull will continue from where it stopped.

Set up from scratch again

If it still doesn’t work after that, a fresh setup step by step often helps:

Terms for this

Similar errors

Sources

Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.