Ollama: digest mismatch, file must be downloaded again (downloaded model file does not match the checksum)
Ollama downloaded the model, but the file’s checksum does not match the expected one, so it is discarded.
The message
Error: digest mismatch, file must be downloaded again: want sha256:…, got sha256:…
Affects: Ollama
Why is this happening?
After each download, Ollama calculates the SHA256 checksum of each file and compares it with the value from the model description. If it differs, Ollama deletes the file again and stops. In reports, this is very often caused by company proxies, VPNs, or antivirus software that break encrypted connections (HTTPS inspection) and change the content or return it empty. Other causes are interrupted downloads and, in some cases, faulty RAM.
How to fix it
- Just start the download again with
ollama pull <modellname>. Ollama has already deleted the faulty file itself and will download it again. - Check the message: If it ends with
got sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855, the downloaded file was empty. Then a proxy, VPN, or filter almost certainly blocked the download. - If you are online in a company network, over VPN, or with antivirus HTTPS inspection, try the download without VPN or on another network (for example, a mobile hotspot). If it works there, IT needs to exclude the Ollama addresses (for example,
registry.ollama.ai) from HTTPS inspection. - If you have to go through a proxy, set the environment variable
HTTPS_PROXY(notHTTP_PROXY) and make sure the proxy certificate is installed as a system certificate. Then exit Ollama via the taskbar icon and restart it. - If the error occurs in every network and with many models, RAM could also be the cause: several affected users had faulty RAM sticks.
- For details, open the file
server.logwithexplorer %LOCALAPPDATA%\Ollamaand look at the lines around the download.
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: llama runner process has terminated: exit status 0xc0000409 (model process crashed)
- Open WebUI: Ollama: 500, message='Internal Server Error' (Ollama reached, but model cannot respond)
- Ollama: model "…" not found, try pulling it first (model missing on this server)
- Ollama: POST predict … /completion: EOF / wsarecv: An existing connection was forcibly closed by the remote host (model process crashed in the middle of the response)
- Ollama: pull model manifest: file does not exist (model name or tag does not exist)
Sources
- https://github.com/ollama/ollama/issues/941
- https://github.com/ollama/ollama/issues/9846
- https://github.com/ollama/ollama/blob/main/server/images.go
- 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.