When ollama pull is slow, do not start by hunting for a model blob URL. Manifests, layers, and object-storage addresses change; copying an old direct link is unreliable and may bypass Ollama’s integrity checks.
A more reliable approach is to identify which layer is slow: the Ollama service, DNS, HTTPS proxy, certificates, object-storage routing, disk I/O, or a corrupted partial download.
Record the version and exact error first
|
|
Don’t just record “very slow.” At least keep the original text, time of occurrence, model name, system and Ollama version. Common phenomena tend in different directions:
| phenomena | Priority check |
|---|---|
TLS handshake timeout |
DNS, proxy, certificates, packet loss |
unexpected EOF |
Connection interrupted, proxy reset, disk or cache |
context deadline exceeded |
Server connectivity, proxy timeout, network quality |
no space left on device |
Model directory on disk |
| Always stopping at | DNS, registry access or proxy |
| Redraw after download is finished | Cache directory privileges, file damage, model directory changes |
Confirm that the Ollama service is healthy
First test the local API, instead of directly blaming all the problems on the Internet:
|
|
If no local API can access it, restart Ollama and view the service log. Windows log directory:
|
|
Models and configurations are usually:
|
|
Linux Standard Installation View Log:
|
|
Docker:
|
|
Open Debug Log
Windows exits Ollama completely from the tray and starts debugging mode from PowerShell:
|
|
If the current installation path cannot be found directly ollama app.exeYes. %LOCALAPPDATA%\Programs\Ollama . Read it again after downloading server.log is the target host, status code and retrying information.
Linux system could add temporary interim:
|
|
Writing:
|
|
Then implement:
|
|
Check DNS and HTTPS
Windows:
|
|
Linux:
|
|
Back 401 Unauthorized Not necessarily a malfunction, it means at least that DNS, TCP and TLS are out of hand; the real need is to focus on the failure of the parse, connection timeout, certificate validation failure or proxy return of the HTML error page.
If only a certain network environment fails, mobile phone hot spots can be contrasted once. The success of the hot spots and the failure of the original network suggest that the problem is more likely to be located in local gateways, DNS, agency or operator links than in models themselves.
Configure the proxy correctly
For model downloads, Ollama recommends configuring HTTPS_PROXY. Avoid setting HTTP_PROXY without a specific need, because Ollama’s local API uses HTTP and an incorrect setting can interfere with client connections.
Current PowerShell session test:
|
|
Once it’s confirmed. HTTPS_PROXY Writes the Windows user environment variable and completely exits and restarts Ollama. Desktop application does not automatically inherit environment variables modified after startup.
Linux system:
|
|
Docker:
|
|
How to handle TLS certificate errors
Corporate proxies may reissue HTTPS certificates. If you see certificate signed by unknown authority, install the corporate CA in the operating system or container trust store; do not disable certificate verification.
Example of packaging:
|
|
Do not download the so-called General Certificate from untrustworthy websites, nor upload the API Key, proxy password or complete log publicly.
Check model directories and disks
Official default model position:
- Windows:
%USERPROFILE%\.ollama\models - MacOS:
~/.ollama/models - Linux Standard Service:
/usr/share/ollama/.ollama/models
Windows check space:
|
|
Linux:
|
|
If used OLLAMA_MODELS Changed location to confirm that the account that runs Ollama has read and write permissions. Linux standard services are usually provided by ollama User runs:
|
|
How to recover after interruption
Try the same model directly:
|
|
Ollama will continue on the basis of what is available. Do not remove batch while running the service blobs, and do not insert the blob file found online directly into the cache.
If repeated verifications on the same level fail:
- Stop Ollama.
- A list of backup model directories.
- From the log to determine which one failed.
- Only the corresponding incomplete or damaged files are removed.
- Restart Ollama and run
ollama pullagain.
When the target is uncertain, it is preferable to move the suspect file to a temporary directory rather than simply delete the entire model library.
Verify the completed download
|
|
Checking logs for non-recycling for re-testing, verification failure or disk error. The speed of downloading does not mean that the problem is solved; it can be pulled and rebooted and loaded before passing.
What should we collect when it’s still slow?
- Ollama version and operating system.
- Model name and approximate size.
- Error occurs when the wrong text is complete.
- Whether a proxy, VPN, Docker, or a corporate certificate is involved.
registry.ollama.ai:443The results of the connectivity.- Post-sensitization service log clips.
- The remaining space in the model catalogue.
This information is sufficient to distinguish between client issues, network links and upstream service issues, and is more easily re-emerged than sharing off-the-shelf downloads.
References: