[GH-ISSUE #8167] Error: max retries exceeded for all ollama model pulls (read: connection reset by peer) #51726

Closed
opened 2026-04-28 20:48:27 -05:00 by GiteaMirror · 7 comments
Owner

Originally created by @saisun229 on GitHub (Dec 19, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/8167

What is the issue?

ollama run llama3.1:8b
pulling manifest
pulling da63a910e349... 0% ▕ ▏ 0 B/ 52 GB
Error: max retries exceeded: Get "da63a910e3/data": read tcp 172.25.0.2:37068->172.66.0.236:443: read: connection reset by peer

Tried with different ollama versions and models which are tiny as well. Didn't work
With and without VPN same issue. Was working previously.
No extra information in logs. Tried outside and inside of docker container

Your help is needed.
linux (ubuntu)

OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

0.5.4

Originally created by @saisun229 on GitHub (Dec 19, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/8167 ### What is the issue? ollama run llama3.1:8b pulling manifest pulling da63a910e349... 0% ▕ ▏ 0 B/ 52 GB Error: max retries exceeded: Get "https://dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com/ollama/docker/registry/v2/blobs/sha256/da/da63a910e34997d50c9f21cc7f16996d1e76e1c128b13319edd68348f760ecc7/data?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=66040c77ac1b787c3af820529859349a%2F20241219%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20241219T045002Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=4cd2e99e8961c3e4ccb3608d642ee997aad5f591a316ac24dc88a900a629f587": read tcp 172.25.0.2:37068->172.66.0.236:443: read: connection reset by peer Tried with different ollama versions and models which are tiny as well. Didn't work With and without VPN same issue. Was working previously. No extra information in logs. Tried outside and inside of docker container Your help is needed. linux (ubuntu) ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.5.4
GiteaMirror added the bug label 2026-04-28 20:48:27 -05:00
Author
Owner

@rick-github commented on GitHub (Dec 22, 2024):

Both tickets seem to be an issue with dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com. It's currently resolving and responding to requests, what happens if you re-try?

<!-- gh-comment-id:2558284820 --> @rick-github commented on GitHub (Dec 22, 2024): Both tickets seem to be an issue with dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com. It's currently resolving and responding to requests, what happens if you re-try?
Author
Owner

@hasansalimkanmaz commented on GitHub (Dec 23, 2024):

I also encounter this issue.

If it helps, here is what I am encountering.

I can successfully pull mav23/gte-Qwen2-1.5B-instruct-GGUF model while it isn't the case for qwen2.5-coder and llava.

EDIT: I am using the latest docker container from ollama for this. So, it should be easy to reproduce the issue ;)

<!-- gh-comment-id:2559472668 --> @hasansalimkanmaz commented on GitHub (Dec 23, 2024): I also encounter this issue. If it helps, here is what I am encountering. I can successfully pull `mav23/gte-Qwen2-1.5B-instruct-GGUF` model while it isn't the case for [qwen2.5-coder](https://ollama.com/library/qwen2.5-coder) and [llava](https://ollama.com/library/llava). EDIT: I am using the latest docker container from ollama for this. So, it should be easy to reproduce the issue ;)
Author
Owner

@rick-github commented on GitHub (Dec 23, 2024):

Yours is a different issue. You are pulling a huggingface model (which works fine for me), the other tickets are pulling a model from the ollama library. If you add information about the error you are getting it would be easier to diagnose.

<!-- gh-comment-id:2559580798 --> @rick-github commented on GitHub (Dec 23, 2024): Yours is a different issue. You are pulling a huggingface model (which works fine for me), the other tickets are pulling a model from the ollama library. If you add information about the error you are getting it would be easier to diagnose.
Author
Owner

@hasansalimkanmaz commented on GitHub (Dec 23, 2024):

Sorry @rick-github, it was my bad. I thought it was the same issue.

Here is the ollama pull output which provides not much detail.

$ ollama pull  qwen2.5-coder:7b
pulling manifest 
pulling 60e05f210007...   0% ▕                                                                                           ▏    0 B/4.7 GB                  
Error: max retries exceeded: EOF

Here is the docker logs from ollama server.

[GIN] 2024/12/23 - 21:40:19 | 200 |      35.087µs |      172.17.0.1 | HEAD     "/"                                                                         
time=2024-12-23T21:40:20.025Z level=INFO source=download.go:175 msg="downloading 60e05f210007 in 16 292 MB part(s)"                                        
time=2024-12-23T21:40:20.330Z level=INFO source=download.go:291 msg="60e05f210007 part 5 attempt 0 failed: EOF, retrying in 1s"                            
time=2024-12-23T21:40:20.332Z level=INFO source=download.go:291 msg="60e05f210007 part 13 attempt 0 failed: EOF, retrying in 1s"                           
time=2024-12-23T21:40:20.334Z level=INFO source=download.go:291 msg="60e05f210007 part 2 attempt 0 failed: EOF, retrying in 1s"                            
time=2024-12-23T21:40:20.335Z level=INFO source=download.go:291 msg="60e05f210007 part 10 attempt 0 failed: EOF, retrying in 1s"                           
time=2024-12-23T21:40:20.335Z level=INFO source=download.go:291 msg="60e05f210007 part 3 attempt 0 failed: EOF, retrying in 1s"                            
time=2024-12-23T21:40:20.335Z level=INFO source=download.go:291 msg="60e05f210007 part 8 attempt 0 failed: EOF, retrying in 1s"                            
time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 14 attempt 0 failed: EOF, retrying in 1s"                           
time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 1 attempt 0 failed: EOF, retrying in 1s"                            
time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 6 attempt 0 failed: EOF, retrying in 1s"                            
time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 12 attempt 0 failed: EOF, retrying in 1s"                           
time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 7 attempt 0 failed: EOF, retrying in 1s"                            
time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 11 attempt 0 failed: EOF, retrying in 1s"                           
time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 9 attempt 0 failed: EOF, retrying in 1s"                            
time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 15 attempt 0 failed: EOF, retrying in 1s"                           
time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 4 attempt 0 failed: EOF, retrying in 1s"                            
time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 0 attempt 0 failed: EOF, retrying in 1s"                            
time=2024-12-23T21:40:21.411Z level=INFO source=download.go:291 msg="60e05f210007 part 13 attempt 1 failed: EOF, retrying in 2s"                           
time=2024-12-23T21:40:21.411Z level=INFO source=download.go:291 msg="60e05f210007 part 5 attempt 1 failed: EOF, retrying in 2s"                            
time=2024-12-23T21:40:21.412Z level=INFO source=download.go:291 msg="60e05f210007 part 15 attempt 1 failed: EOF, retrying in 2s"                           
time=2024-12-23T21:40:21.415Z level=INFO source=download.go:291 msg="60e05f210007 part 8 attempt 1 failed: EOF, retrying in 2s"                            
time=2024-12-23T21:40:21.416Z level=INFO source=download.go:291 msg="60e05f210007 part 10 attempt 1 failed: EOF, retrying in 2s"                           
time=2024-12-23T21:40:21.416Z level=INFO source=download.go:291 msg="60e05f210007 part 6 attempt 1 failed: EOF, retrying in 2s"                            
time=2024-12-23T21:40:21.418Z level=INFO source=download.go:291 msg="60e05f210007 part 1 attempt 1 failed: EOF, retrying in 2s"                            
time=2024-12-23T21:40:21.418Z level=INFO source=download.go:291 msg="60e05f210007 part 11 attempt 1 failed: EOF, retrying in 2s"                           
time=2024-12-23T21:40:21.418Z level=INFO source=download.go:291 msg="60e05f210007 part 7 attempt 1 failed: EOF, retrying in 2s"                            
time=2024-12-23T21:40:21.418Z level=INFO source=download.go:291 msg="60e05f210007 part 9 attempt 1 failed: EOF, retrying in 2s"                            
time=2024-12-23T21:40:21.419Z level=INFO source=download.go:291 msg="60e05f210007 part 4 attempt 1 failed: EOF, retrying in 2s"                            
time=2024-12-23T21:40:21.420Z level=INFO source=download.go:291 msg="60e05f210007 part 14 attempt 1 failed: EOF, retrying in 2s"                           
time=2024-12-23T21:40:21.420Z level=INFO source=download.go:291 msg="60e05f210007 part 2 attempt 1 failed: EOF, retrying in 2s"     
... <Similar logs>
time=2024-12-23T21:40:35.659Z level=INFO source=download.go:291 msg="60e05f210007 part 7 attempt 4 failed: EOF, retrying in 16s"
time=2024-12-23T21:40:35.661Z level=INFO source=download.go:291 msg="60e05f210007 part 12 attempt 4 failed: EOF, retrying in 16s"
time=2024-12-23T21:40:51.724Z level=INFO source=download.go:291 msg="60e05f210007 part 15 attempt 5 failed: EOF, retrying in 32s"
time=2024-12-23T21:40:51.725Z level=INFO source=download.go:291 msg="60e05f210007 part 13 attempt 5 failed: EOF, retrying in 32s"
time=2024-12-23T21:40:51.726Z level=INFO source=download.go:291 msg="60e05f210007 part 5 attempt 5 failed: EOF, retrying in 32s"
time=2024-12-23T21:40:51.726Z level=INFO source=download.go:291 msg="60e05f210007 part 11 attempt 5 failed: EOF, retrying in 32s"
time=2024-12-23T21:40:51.727Z level=INFO source=download.go:291 msg="60e05f210007 part 10 attempt 5 failed: EOF, retrying in 32s"
time=2024-12-23T21:40:51.727Z level=INFO source=download.go:291 msg="60e05f210007 part 6 attempt 5 failed: EOF, retrying in 32s"
time=2024-12-23T21:40:51.727Z level=INFO source=download.go:291 msg="60e05f210007 part 8 attempt 5 failed: EOF, retrying in 32s"
time=2024-12-23T21:40:51.732Z level=INFO source=download.go:291 msg="60e05f210007 part 9 attempt 5 failed: EOF, retrying in 32s"
time=2024-12-23T21:40:51.732Z level=INFO source=download.go:291 msg="60e05f210007 part 14 attempt 5 failed: EOF, retrying in 32s"
time=2024-12-23T21:40:51.734Z level=INFO source=download.go:291 msg="60e05f210007 part 2 attempt 5 failed: EOF, retrying in 32s"
time=2024-12-23T21:40:51.734Z level=INFO source=download.go:291 msg="60e05f210007 part 3 attempt 5 failed: EOF, retrying in 32s"
time=2024-12-23T21:40:51.734Z level=INFO source=download.go:291 msg="60e05f210007 part 1 attempt 5 failed: EOF, retrying in 32s"
time=2024-12-23T21:40:51.734Z level=INFO source=download.go:291 msg="60e05f210007 part 4 attempt 5 failed: EOF, retrying in 32s"
time=2024-12-23T21:40:51.735Z level=INFO source=download.go:291 msg="60e05f210007 part 0 attempt 5 failed: EOF, retrying in 32s"
time=2024-12-23T21:40:51.739Z level=INFO source=download.go:291 msg="60e05f210007 part 7 attempt 5 failed: EOF, retrying in 32s"
time=2024-12-23T21:40:51.739Z level=INFO source=download.go:291 msg="60e05f210007 part 12 attempt 5 failed: EOF, retrying in 32s"

Let me know if it is better to have a separate issue for this?

<!-- gh-comment-id:2560330808 --> @hasansalimkanmaz commented on GitHub (Dec 23, 2024): Sorry @rick-github, it was my bad. I thought it was the same issue. Here is the `ollama pull` output which provides not much detail. ``` $ ollama pull qwen2.5-coder:7b pulling manifest pulling 60e05f210007... 0% ▕ ▏ 0 B/4.7 GB Error: max retries exceeded: EOF ``` Here is the docker logs from ollama server. ``` [GIN] 2024/12/23 - 21:40:19 | 200 | 35.087µs | 172.17.0.1 | HEAD "/" time=2024-12-23T21:40:20.025Z level=INFO source=download.go:175 msg="downloading 60e05f210007 in 16 292 MB part(s)" time=2024-12-23T21:40:20.330Z level=INFO source=download.go:291 msg="60e05f210007 part 5 attempt 0 failed: EOF, retrying in 1s" time=2024-12-23T21:40:20.332Z level=INFO source=download.go:291 msg="60e05f210007 part 13 attempt 0 failed: EOF, retrying in 1s" time=2024-12-23T21:40:20.334Z level=INFO source=download.go:291 msg="60e05f210007 part 2 attempt 0 failed: EOF, retrying in 1s" time=2024-12-23T21:40:20.335Z level=INFO source=download.go:291 msg="60e05f210007 part 10 attempt 0 failed: EOF, retrying in 1s" time=2024-12-23T21:40:20.335Z level=INFO source=download.go:291 msg="60e05f210007 part 3 attempt 0 failed: EOF, retrying in 1s" time=2024-12-23T21:40:20.335Z level=INFO source=download.go:291 msg="60e05f210007 part 8 attempt 0 failed: EOF, retrying in 1s" time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 14 attempt 0 failed: EOF, retrying in 1s" time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 1 attempt 0 failed: EOF, retrying in 1s" time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 6 attempt 0 failed: EOF, retrying in 1s" time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 12 attempt 0 failed: EOF, retrying in 1s" time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 7 attempt 0 failed: EOF, retrying in 1s" time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 11 attempt 0 failed: EOF, retrying in 1s" time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 9 attempt 0 failed: EOF, retrying in 1s" time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 15 attempt 0 failed: EOF, retrying in 1s" time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 4 attempt 0 failed: EOF, retrying in 1s" time=2024-12-23T21:40:20.336Z level=INFO source=download.go:291 msg="60e05f210007 part 0 attempt 0 failed: EOF, retrying in 1s" time=2024-12-23T21:40:21.411Z level=INFO source=download.go:291 msg="60e05f210007 part 13 attempt 1 failed: EOF, retrying in 2s" time=2024-12-23T21:40:21.411Z level=INFO source=download.go:291 msg="60e05f210007 part 5 attempt 1 failed: EOF, retrying in 2s" time=2024-12-23T21:40:21.412Z level=INFO source=download.go:291 msg="60e05f210007 part 15 attempt 1 failed: EOF, retrying in 2s" time=2024-12-23T21:40:21.415Z level=INFO source=download.go:291 msg="60e05f210007 part 8 attempt 1 failed: EOF, retrying in 2s" time=2024-12-23T21:40:21.416Z level=INFO source=download.go:291 msg="60e05f210007 part 10 attempt 1 failed: EOF, retrying in 2s" time=2024-12-23T21:40:21.416Z level=INFO source=download.go:291 msg="60e05f210007 part 6 attempt 1 failed: EOF, retrying in 2s" time=2024-12-23T21:40:21.418Z level=INFO source=download.go:291 msg="60e05f210007 part 1 attempt 1 failed: EOF, retrying in 2s" time=2024-12-23T21:40:21.418Z level=INFO source=download.go:291 msg="60e05f210007 part 11 attempt 1 failed: EOF, retrying in 2s" time=2024-12-23T21:40:21.418Z level=INFO source=download.go:291 msg="60e05f210007 part 7 attempt 1 failed: EOF, retrying in 2s" time=2024-12-23T21:40:21.418Z level=INFO source=download.go:291 msg="60e05f210007 part 9 attempt 1 failed: EOF, retrying in 2s" time=2024-12-23T21:40:21.419Z level=INFO source=download.go:291 msg="60e05f210007 part 4 attempt 1 failed: EOF, retrying in 2s" time=2024-12-23T21:40:21.420Z level=INFO source=download.go:291 msg="60e05f210007 part 14 attempt 1 failed: EOF, retrying in 2s" time=2024-12-23T21:40:21.420Z level=INFO source=download.go:291 msg="60e05f210007 part 2 attempt 1 failed: EOF, retrying in 2s" ... <Similar logs> time=2024-12-23T21:40:35.659Z level=INFO source=download.go:291 msg="60e05f210007 part 7 attempt 4 failed: EOF, retrying in 16s" time=2024-12-23T21:40:35.661Z level=INFO source=download.go:291 msg="60e05f210007 part 12 attempt 4 failed: EOF, retrying in 16s" time=2024-12-23T21:40:51.724Z level=INFO source=download.go:291 msg="60e05f210007 part 15 attempt 5 failed: EOF, retrying in 32s" time=2024-12-23T21:40:51.725Z level=INFO source=download.go:291 msg="60e05f210007 part 13 attempt 5 failed: EOF, retrying in 32s" time=2024-12-23T21:40:51.726Z level=INFO source=download.go:291 msg="60e05f210007 part 5 attempt 5 failed: EOF, retrying in 32s" time=2024-12-23T21:40:51.726Z level=INFO source=download.go:291 msg="60e05f210007 part 11 attempt 5 failed: EOF, retrying in 32s" time=2024-12-23T21:40:51.727Z level=INFO source=download.go:291 msg="60e05f210007 part 10 attempt 5 failed: EOF, retrying in 32s" time=2024-12-23T21:40:51.727Z level=INFO source=download.go:291 msg="60e05f210007 part 6 attempt 5 failed: EOF, retrying in 32s" time=2024-12-23T21:40:51.727Z level=INFO source=download.go:291 msg="60e05f210007 part 8 attempt 5 failed: EOF, retrying in 32s" time=2024-12-23T21:40:51.732Z level=INFO source=download.go:291 msg="60e05f210007 part 9 attempt 5 failed: EOF, retrying in 32s" time=2024-12-23T21:40:51.732Z level=INFO source=download.go:291 msg="60e05f210007 part 14 attempt 5 failed: EOF, retrying in 32s" time=2024-12-23T21:40:51.734Z level=INFO source=download.go:291 msg="60e05f210007 part 2 attempt 5 failed: EOF, retrying in 32s" time=2024-12-23T21:40:51.734Z level=INFO source=download.go:291 msg="60e05f210007 part 3 attempt 5 failed: EOF, retrying in 32s" time=2024-12-23T21:40:51.734Z level=INFO source=download.go:291 msg="60e05f210007 part 1 attempt 5 failed: EOF, retrying in 32s" time=2024-12-23T21:40:51.734Z level=INFO source=download.go:291 msg="60e05f210007 part 4 attempt 5 failed: EOF, retrying in 32s" time=2024-12-23T21:40:51.735Z level=INFO source=download.go:291 msg="60e05f210007 part 0 attempt 5 failed: EOF, retrying in 32s" time=2024-12-23T21:40:51.739Z level=INFO source=download.go:291 msg="60e05f210007 part 7 attempt 5 failed: EOF, retrying in 32s" time=2024-12-23T21:40:51.739Z level=INFO source=download.go:291 msg="60e05f210007 part 12 attempt 5 failed: EOF, retrying in 32s" ``` Let me know if it is better to have a separate issue for this?
Author
Owner

@rick-github commented on GitHub (Dec 24, 2024):

The manifest fetch works but retrieving the model parts fails. This may be a proxy or captive portal issue. Create a new issue and add full logs and any proxy configuration that you have.

<!-- gh-comment-id:2560449369 --> @rick-github commented on GitHub (Dec 24, 2024): The manifest fetch works but retrieving the model parts fails. This may be a proxy or captive portal issue. Create a new issue and add full logs and any proxy configuration that you have.
Author
Owner

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

Did re-trying help?

<!-- gh-comment-id:2586032078 --> @rick-github commented on GitHub (Jan 13, 2025): Did re-trying help?
Author
Owner

@hasansalimkanmaz commented on GitHub (Jan 13, 2025):

We figured out that it is related to company proxy settings. Thank you very much for your help

<!-- gh-comment-id:2586365338 --> @hasansalimkanmaz commented on GitHub (Jan 13, 2025): We figured out that it is related to company proxy settings. Thank you very much for your help
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#51726