[GH-ISSUE #8652] Could not install deepseek-r1:7b version #31366

Closed
opened 2026-04-22 11:46:04 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @chinmayc0707 on GitHub (Jan 29, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8652

What is the issue?

Error: max retries exceeded: Get "aabd4debf0/data": dial tcp: lookup dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com: no such host

OS

Windows

GPU

Nvidia

CPU

AMD

Ollama version

0.5.7

Originally created by @chinmayc0707 on GitHub (Jan 29, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8652 ### What is the issue? Error: max retries exceeded: Get "https://dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com/ollama/docker/registry/v2/blobs/sha256/aa/aabd4debf0c8f08881923f2c25fc0fdeed24435271c2b3e92c4af36704040dbc/data?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=66040c77ac1b787c3af820529859349a%2F20250129%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20250129T093708Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=044eb3053c34ac7e27101080923c27a8d4f0adc5334de93463391b2cf3d208cd": dial tcp: lookup dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com: no such host ### OS Windows ### GPU Nvidia ### CPU AMD ### Ollama version 0.5.7
GiteaMirror added the networkingbug labels 2026-04-22 11:46:04 -05:00
Author
Owner

@rick-github commented on GitHub (Jan 29, 2025):

https://github.com/ollama/ollama/issues/8632#issuecomment-2621168962

<!-- gh-comment-id:2621255642 --> @rick-github commented on GitHub (Jan 29, 2025): https://github.com/ollama/ollama/issues/8632#issuecomment-2621168962
Author
Owner

@Skizzy-create commented on GitHub (Jan 31, 2025):

This will give you the exact script, just run it: GitHub Issue Comment.

For Windows:

while ($true) {
    Write-Host "Attempting to download model..."
    $process = Start-Process -FilePath "ollama" -ArgumentList "pull deepseek-r1" -PassThru -NoNewWindow
    try {
        $process | Wait-Process -Timeout 10 -ErrorAction Stop
        if ($process.ExitCode -eq 0) {
            Write-Host "Model downloaded successfully!"
            break
        } else {
            Write-Host "Download failed (Exit code: $($process.ExitCode)). Retrying..."
        }
    } catch {
        Write-Host "Timeout occurred, restarting download..."
        $process | Stop-Process -Force -ErrorAction SilentlyContinue
    }
    Start-Sleep -Seconds 2
}

For Linux/mac:

#!/bin/bash

while true; do
    echo "Attempting to download model..."
    ollama pull deepseek-r1 &
    process_pid=$!
    sleep 10

    if wait $process_pid; then
        echo "Model downloaded successfully!"
        break
    else
        echo "Download failed. Retrying..."
        kill -9 $process_pid 2>/dev/null
    fi

    sleep 2
done
<!-- gh-comment-id:2627408687 --> @Skizzy-create commented on GitHub (Jan 31, 2025): This will give you the exact script, just run it: [GitHub Issue Comment](https://github.com/ollama/ollama/issues/8652). ### For Windows: ```powershell while ($true) { Write-Host "Attempting to download model..." $process = Start-Process -FilePath "ollama" -ArgumentList "pull deepseek-r1" -PassThru -NoNewWindow try { $process | Wait-Process -Timeout 10 -ErrorAction Stop if ($process.ExitCode -eq 0) { Write-Host "Model downloaded successfully!" break } else { Write-Host "Download failed (Exit code: $($process.ExitCode)). Retrying..." } } catch { Write-Host "Timeout occurred, restarting download..." $process | Stop-Process -Force -ErrorAction SilentlyContinue } Start-Sleep -Seconds 2 } ``` ### For Linux/mac: ```bash #!/bin/bash while true; do echo "Attempting to download model..." ollama pull deepseek-r1 & process_pid=$! sleep 10 if wait $process_pid; then echo "Model downloaded successfully!" break else echo "Download failed. Retrying..." kill -9 $process_pid 2>/dev/null fi sleep 2 done ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#31366