Ollama 'Pull Model Manifest' Errors, Explained by Code
What follows "pull model manifest" tells you the cause: 412 version, 401 sign-in, ssh no key, no such host, timeouts and proxies. How to fix each one.
By Cogniq Labs ResearchEvidence policy

Every Ollama download starts by fetching a manifest, a short list of the files that make up the model. When that fails you get a message beginning pull model manifest. Everything after that colon is the real error. The code in Ollama's source simply puts those words in front of whatever went wrong, so read to the end of the line.
Find your error
| After "pull model manifest:" | Meaning | Go to |
|---|---|---|
file does not exist |
No model with that name and tag | Section 1 |
412: ...requires a newer version of Ollama |
Your Ollama is too old for this model | Section 2 |
412: this model requires macOS |
This variant does not run on your platform | Section 2 |
401 or unauthorized: access denied |
Sign-in or permission problem | Section 3 |
ssh: no key found |
The local signing key is empty or damaged | Section 4 |
... no such host |
The name could not be resolved (DNS) | Section 5 |
i/o timeout or TLS handshake timeout |
The network is blocking or very slow | Section 5 |
x509: certificate signed by unknown authority |
Something is intercepting HTTPS | Section 6 |
insecure protocol http |
A plain HTTP registry without the insecure flag | Section 7 |
Other numbers follow the same pattern: for a response of 400 or higher, Ollama prints the status code followed by whatever the registry sent. That text is usually the explanation.
1. File does not exist
When the registry answers "not found", Ollama reports it as file does not exist. It does not mean a file on your computer is missing.
- Check the spelling of the model name.
- Check the tag, the part after the colon. A model can exist while the tag you asked for does not.
- For a model from a user or another registry, check the whole path.
Open the model's page and copy the exact command it shows.
2. Error 412
This comes from the registry, and the text says why. In one reported case, the message was "The model you are attempting to pull requires a newer version of Ollama that may be in pre-release", with a pointer to the releases page. In another, it was "this model requires macOS".
For the version message:
- Check your version with
ollama --version. - Update to the latest release.
- If it still fails, the model may need a pre-release. The releases page lists them. Use one only if you accept that it is less tested.
Updating the command line is not enough if the server is still the old one. On Linux, restart the service after updating. In Docker, pull a newer image and recreate the container.
For a platform message, the variant you chose is built for different hardware. Pick another tag of the same model.
3. Error 401 or access denied
When the registry asks for authentication, Ollama signs a request with a key kept in your .ollama folder, gets a token and tries again. If that does not satisfy the registry, you see a 401 or unauthorized: access denied.
- For private or account-only models, sign in:
ollama signin. The FAQ also describes adding your public key to your account by hand. - Check that you spelled the namespace correctly. Asking for someone else's private model fails this way.
- Remember which user runs the server. On Linux with the standard installer, the service runs as the
ollamauser, whose key is under/usr/share/ollama/.ollama, not your home folder. Signing in or adding a key for the wrong user changes nothing.
4. ssh: no key found
This message comes from the library that reads the signing key. The code loads id_ed25519 from the .ollama folder and parses it. If the file is empty or damaged, often after a full disk or an interrupted first start, parsing fails.
Ollama creates a new key at server start only if the file does not exist, so a broken file stays broken. Move it aside and restart:
# Linux, standard service install
sudo mv /usr/share/ollama/.ollama/id_ed25519 /usr/share/ollama/.ollama/id_ed25519.bak
sudo mv /usr/share/ollama/.ollama/id_ed25519.pub /usr/share/ollama/.ollama/id_ed25519.pub.bak
sudo systemctl restart ollama
On macOS the folder is ~/.ollama, and on Windows it is .ollama in your user folder. If you had added the old public key to your Ollama account, add the new one.
5. DNS and timeouts
These messages come from the network layer, before Ollama's registry has said anything.
no such hostmeans the registry name could not be turned into an address. Check your DNS, VPN and any network filtering. In Docker, a container may have different DNS settings from the host.i/o timeoutandTLS handshake timeoutmean the connection started but did not complete in time. Try another network to find out whether yours is the problem.
Test from the same machine, and the same container:
curl -v https://registry.ollama.ai/v2/
You do not need a successful response. Any HTTP reply shows the network path works; a hang or a DNS error shows where it breaks.
Behind a proxy, set HTTPS_PROXY where the server reads its environment. On Linux with systemd, use systemctl edit ollama.service:
[Service]
Environment="HTTPS_PROXY=http://proxy.example.com:3128"
The FAQ says to avoid HTTP_PROXY: Ollama pulls models over HTTPS only, and setting it may interrupt client connections to the server. In Docker, pass -e HTTPS_PROXY=... when starting the container.
6. Certificate errors
x509: certificate signed by unknown authority usually means a corporate proxy or security tool is re-encrypting your traffic with its own certificate. The fix is to trust that certificate, not to switch verification off. The FAQ gives a Docker example that adds the certificate to the image:
FROM ollama/ollama
COPY my-ca.pem /usr/local/share/ca-certificates/my-ca.crt
RUN update-ca-certificates
On a normal install, add the certificate to the system's trusted certificates and restart Ollama. Ask your network team for the correct file.
7. Insecure protocol
If you point at your own registry over plain http://, Ollama refuses unless you pass the insecure flag:
ollama pull --insecure http://myregistry.local:5000/library/mymodel
Use this only on a network you control.
Disk space and permissions
Two problems look like network trouble and are not.
A full disk. Models are large, and a disk that fills during a download or a first start can leave half-written files, including the key file in section 4. Check free space on the drive that holds the models. To move them, the FAQ says to set OLLAMA_MODELS to the new folder and restart the server. The default locations are:
| System | Model folder |
|---|---|
| macOS | ~/.ollama/models |
| Linux (standard install) | /usr/share/ollama/.ollama/models |
| Windows | C:\Users\<username>\.ollama\models |
Permissions. If you move the models on Linux, the ollama user must be able to read and write the new folder. The FAQ gives the command: sudo chown -R ollama:ollama <directory>.
A five-minute order of attack
- Copy the whole line and find your case in the table at the top.
- Run
ollama --versionand update if you are behind. - Copy the model name and tag from the model's page.
- Run
curl -v https://registry.ollama.ai/v2/from the same machine or container. - Check disk space, and which user the server runs as.
- Set
OLLAMA_DEBUG=1, pull again and read the log.
Most cases are settled by the second or third step, because an old version and a mistyped tag are quick to rule out and easy to fix.
When the download starts and then stalls
If the manifest arrives and the download stops part-way, that is a different stage. The download code fetches the model in parts, retries a part that stalls, and gives up after repeated failures with max retries exceeded. It also prints a hint that if stalling persists, you can stop and run ollama pull again to find a faster connection. Partly downloaded parts are kept, so running the pull again continues instead of starting over.
If downloads are only slow on Windows 10 with WSL2, the FAQ describes disabling Large Send Offload on the WSL network adapter.
If you script model downloads, for example when building a container image, check the exit status of the pull and print its output to the log. A silent failure at this step produces an image without a model, and the first sign is an error much later when something tries to run it.
What we do not know
Registry messages are written by the service, not the program, so new ones can appear without any change to Ollama. Network errors depend on your environment in ways no guide can predict. If your error is not listed, set OLLAMA_DEBUG=1, repeat the pull and read the server log, which usually records the address requested and the response received. If Ollama itself cannot be reached, that is a connection problem, not a download problem.
Sources
Frequently asked questions
What does "pull model manifest" mean in Ollama?
Before downloading a model, Ollama fetches its manifest, a short list of the files the model is made of. If that request fails, the error begins with "pull model manifest" and the text after the colon gives the actual reason.
How do I fix "pull model manifest 412"?
The registry is refusing this model for your setup. Usually the model needs a newer Ollama, sometimes a pre-release, so update. Some model variants are for a particular platform, such as macOS only, so choose a different tag.
What causes "pull model manifest ssh no key found"?
Ollama signs requests with a key in the .ollama folder, and the file is empty or damaged. Move the id_ed25519 files aside and restart Ollama, which creates a new key when none exists.
Why does Ollama say "file does not exist" when pulling?
The registry has no model with that name and tag. Check the spelling and the tag on the model's page, since a missing tag returns the same error.
How do I pull models behind a proxy?
Set HTTPS_PROXY for the Ollama server, not HTTP_PROXY. Ollama downloads over HTTPS only, and its FAQ warns that setting HTTP_PROXY can interrupt client connections to the server.
Related reading
Ollama 'Model Requires More System Memory': The Fix
What Ollama's two memory numbers actually measure, why Docker and WSL report less than you have, which versions show this error, and how to fix it.
llama.cpp 'Failed to Fit Params': What It Means
The failed to fit params line in llama.cpp is a warning, not the crash. What the fit step adjusts, what each reason means, and which flags to change.
Ollama 'Process Has Terminated': Read the Error
Ollama's "process has terminated" error means the model process stopped. The text after the colon usually says why. How to read it and fix each cause.