← All articles

Tools9 min read

Ollama pull error: fix a missing model tag, TLS timeout or failed download

Find out why Ollama will not download a model. Reproduce a missing tag and a TLS timeout, check networking and storage, and confirm the pull completed.

Igor Karmazin · AI Technical Product Operations

Ollama won’t pull

When Ollama will not download a model, save the last line of the error and identify the stage that failed. At pulling manifest, Ollama is still requesting the model's description. A percentage indicates that it is fetching one of the files. If ollama list already contains the model, investigate a failing prompt as a separate problem. Those three situations call for different checks.

We tested all three download outcomes in isolated containers running Ollama 0.40.19. A deliberately nonexistent tag produced file does not exist. A controlled test proxy stalled the connection and produced TLS handshake timeout. The real tag qwen2.5:0.5b downloaded successfully and appeared in the local list. The archive contains the terminal results and a checklist. We did not fill a production drive to test a disk error. Download the practical checklist and results.

Start with the error you actually have

What you see First check What tells you the check passed
could not connect or connection refused on a local address ollama list and the app or service state The client returns the list from the expected server
pull model manifest: file does not exist Match the model name and tag against its catalogue entry The command contains the exact identifier of the intended variant
TLS handshake timeout, an I/O timeout or a DNS error The URL in the error, the Ollama process's network and its proxy The actual destination responds from the same environment
An individual layer stalls after progress begins Last server log lines, access to the storage host and space on the model volume The layer downloads and verifies successfully
no space left on device or permission denied The destination volume and the service account's rights The correct volume has free space and accepts writes
The model is listed but run fails Model startup, RAM and GPU memory A separate short prompt completes

Run ollama --version and ollama list. A list containing only column headers is reasonable after a fresh installation. An error connecting to the server means the client could not even fetch that list. Open the Ollama application on macOS or Windows. On Linux, check how the service runs. If your laptop's client points to a different machine through OLLAMA_HOST, the server's logs and storage are the relevant ones. Initial Ollama setup · Ollama troubleshooting documentation.

Fix a manifest error by checking the exact tag

In ollama pull qwen2.5:0.5b, everything before the colon identifies the model and everything after it identifies the tag. A model family may offer different parameter counts, quantisation levels or input types. Copy a command from the official Tags page for the specific variant you need. Omitting the tag to see what happens can select a much larger latest variant. Official Qwen2.5 tag list.

The test container returned this for a nonexistent tag:

Error: pull model manifest: file does not exist

The two commands below then succeeded on the same server. Ollama listed ID a8b0c5157701 and showed a size of 397 MB. The public catalogue reports 398 MB. That small model is practical for checking the download path. The result does not measure its answers on your work.

ollama pull qwen2.5:0.5b
ollama list

If you can see the exact tag in the catalogue but its command fails, try one small model whose exact public tag is known to work. A successful control narrows the problem to the requested variant, the client version or access to that particular repository. A different registry or private model introduces its own namespace and access requirements. Confirm access in the official account or registry before editing the local model directory. Control model page · Pull API.

Diagnose a TLS handshake timeout from the right machine

For the second test, Ollama connected through a proxy that accepted CONNECT and then stopped responding. The same correct tag produced net/http: TLS handshake timeout through that proxy and downloaded through the normal route. This establishes that even a genuine tag can fail at the connection stage. A timeout on your device alone does not identify which part of your network caused it.

On macOS or Linux, start with a GET to the manifest URL for the same tag. This command discards the body and prints the HTTP status. In Windows PowerShell, invoke curl.exe and use NUL in place of /dev/null.

curl -sS --connect-timeout 8 --max-time 20 -o /dev/null -w "%{http_code}\n" https://registry.ollama.ai/v2/library/qwen2.5/manifests/0.5b

The separate control request in our test returned 200. That confirms the manifest responded in that environment at that time. A successful manifest request leaves the downloads themselves to check. A storage endpoint may use a different host or a redirect. If you have download progress before the error, use the actual failing host and time in the server logs. Opening the Ollama homepage on a laptop tells you little about a container's connection to a different host. curl command reference.

Ollama documents HTTPS_PROXY for networks that require a proxy. Check the environment of the Ollama server process. A variable in an interactive shell may have no effect on an app launched earlier, a service started by systemd or an existing container. If your organisation uses a proxy certificate, use the approved trust configuration and restart the intended instance according to the platform's documentation. If a browser and the server behave differently, compare their network route and trust configuration. Ollama proxy setup.

If a file repeatedly stops at the same point

Record the layer, the amount transferred and the time. Run one request at a time for this check, so a second download does not compete for the same connection. If a small model works and the large model repeatedly stops after about the same interval, compare the timestamps in the logs. That gives the network administrator something concrete to correlate with a connection-duration limit. If the stopping point varies, check reports of unreliable connections and write failures.

Read the control GET literally. A curl status of 000 indicates that it received no HTTP response, so read its separate error line. A 401 or 403 calls for checking access and proxy policy. A 404 calls for checking the exact path and tag. A 200 lets you proceed to the log entries for the layer download. A successful response from a desktop browser is much less informative when the daemon takes a different network path.

Check space and permissions where Ollama stores models

Ollama writes model layers to the server's model directory. The defaults are ~/.ollama/models on macOS, %USERPROFILE%\.ollama\models on Windows and /usr/share/ollama/.ollama/models for the standard Linux service. OLLAMA_MODELS can change that path. Docker installations use a mounted volume for persistent data. The local user, a Linux service account and a container may be writing to different volumes even when the command looks the same. Official model storage paths.

On Mac or Linux, pass the actual directory to df -h and check its filesystem. If there is enough space, read the write error closely. Verify that the runtime account owns or can write to the directory and that the mount is writable. On Windows, identify the drive containing the actual directory and check that drive's free space. A model's catalogue size helps with planning, but temporary files and existing models also occupy the volume.

Use ollama list to decide if you can free space by removing an individual unused model. A full catalogue reset would waste time for a wrong tag or a TLS issue. If you move the working model store, keep the old copy until ollama list from the restarted server shows the expected models at the new location. For Docker, verify the mounted data path before assuming unused space on the host is also available to the process. Ollama Docker storage.

Read the right log and verify that the recovery worked

Record the complete command, Ollama's version, the time, the failed stage and the final two or three lines of server output. On macOS, the latest server log is usually ~/.ollama/logs/server.log. On Windows, look for server.log in %LOCALAPPDATA%\Ollama. On Linux with systemd, use journalctl -u ollama --no-pager -n 50. For a container, use docker logs --tail 50 container_name. Remove proxy passwords, tokens and signed query parameters before forwarding anything. Ollama log locations.

After addressing the specific error, repeat the small pull and wait for it to finish. Check ollama list. Then run one short prompt as a separate check that the model fits in memory. If you use Open WebUI with Ollama, check the configured provider address. The model installed in one Ollama server will only appear in the model picker connected to that server.

If a controlled environment intentionally lacks registry access, a permitted copy of a supported GGUF model can be imported with a Modelfile and ollama create. Check the file's source, licence, checksum and supported architecture before import. That is a different workflow from restoring registry access. Our public test model did not require a paid cloud API key. Hosting, data transfer and storage can still have local costs and quotas. Ollama's import guide.

FAQ

Can I retry the download after it was interrupted?

Repeat the original command with the exact tag once you have addressed the cause. Some data may already exist locally. Whether progress is reused depends on the layers and temporary files left in your installation. Confirm completion and then check the list rather than judging by an early progress percentage.

Why is the model missing from my browser chat even though it downloaded?

Check which Ollama server the chat interface uses. Your native app and a Docker container have separate model stores. Run the list command against the backend used by the interface. Refresh its model picker after it is pointing to the expected backend.

Will updating Ollama fix a missing manifest?

First establish whether the tag is right and a small public control model works. If only a specific variant fails, check that model's requirements and the official release notes. An update is easier to evaluate when you know what changed and have one control command to run afterwards.

Read on Telegram