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
- Just run the same command again:
ollama pull <modell>. The download will continue from where it stopped. If it gets stuck, cancel it withStrg+Cand repeat the command. - Update Ollama to the latest version from ollama.com, because a bug in resuming downloads has been fixed.
- 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. - Behind a company proxy or a firewall with HTTPS inspection: Set the environment variable
HTTPS_PROXY(notHTTP_PROXY) and install the proxy’s certificate as a system certificate. Then quit Ollama via the taskbar icon and restart it. - 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.
- Check whether there is enough free space on the drive with the model folder (by default
C:\Users\<name>\.ollama\models). - 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:
- Your own ChatGPT with Ollama and Open WebUI
Run a language model locally on Windows - with the Ollama app, suitable models for 8 to 24 GB, context length, command line, and Open WebUI…
Terms for this
Similar errors
- Ollama: could not connect to ollama app, is it running? (Ollama server is not running or can’t be reached)
- Ollama: something went wrong, please see the ollama server logs for details (command doesn't get a usable response from the server)
- Ollama: Port 11434 already in use (bind: address already in use)
- Open WebUI or AnythingLLM can't find Ollama
- Docker Desktop: WSL needs updating / WSL 2 installation is incomplete
Sources
- https://github.com/ollama/ollama/issues/4520
- https://github.com/ollama/ollama/issues/1770
- https://github.com/ollama/ollama/issues/9320
- https://docs.ollama.com/faq
Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.