[GH-ISSUE #3675] Getting error while using ollama run on mac #64302

Closed
opened 2026-05-03 17:00:29 -05:00 by GiteaMirror · 8 comments
Owner

Originally created by @swetavsavarn02 on GitHub (Apr 16, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3675

What is the issue?

Getting error while doing ollama run on mac on every model , Stating Error: Head "2609048d34/data!F(MISSING)20240416%!F(MISSING)auto%!F(MISSING)s3%!F(MISSING)aws4_request&X-Amz-Date=20240416T164135Z&X-Amz-Expires=1200&X-Amz-SignedHeaders=host&X-Amz-Signature=98eed7690305ee8731cb04e894c1d549a8d9988e3c68091011ff61e67017752b": dial tcp: lookup dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com: no such host

Screenshot 2024-04-16 at 10 13 49 PM

What did you expect to see?

No response

Steps to reproduce

No response

Are there any recent changes that introduced the issue?

No response

OS

macOS

Architecture

arm64

Platform

No response

Ollama version

No response

GPU

No response

GPU info

No response

CPU

No response

Other software

No response

Originally created by @swetavsavarn02 on GitHub (Apr 16, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3675 ### What is the issue? Getting error while doing ollama run on mac on every model , Stating Error: Head "https://dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com/ollama/docker/registry/v2/blobs/sha256/26/2609048d349e7c70196401be59bea7eb89a968d4642e409b0e798b34403b96c8/data?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=66040c77ac1b787c3af820529859349a%!F(MISSING)20240416%!F(MISSING)auto%!F(MISSING)s3%!F(MISSING)aws4_request&X-Amz-Date=20240416T164135Z&X-Amz-Expires=1200&X-Amz-SignedHeaders=host&X-Amz-Signature=98eed7690305ee8731cb04e894c1d549a8d9988e3c68091011ff61e67017752b": dial tcp: lookup dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com: no such host <img width="1440" alt="Screenshot 2024-04-16 at 10 13 49 PM" src="https://github.com/ollama/ollama/assets/166374157/4e58dc64-1b6a-4331-8def-382a47d1a4e4"> ### What did you expect to see? _No response_ ### Steps to reproduce _No response_ ### Are there any recent changes that introduced the issue? _No response_ ### OS macOS ### Architecture arm64 ### Platform _No response_ ### Ollama version _No response_ ### GPU _No response_ ### GPU info _No response_ ### CPU _No response_ ### Other software _No response_
GiteaMirror added the networkingbug labels 2026-05-03 17:00:30 -05:00
Author
Owner

@pdevine commented on GitHub (Apr 16, 2024):

Can you resolve any hosts? Looks like you're having network issues.

<!-- gh-comment-id:2059898988 --> @pdevine commented on GitHub (Apr 16, 2024): Can you resolve any hosts? Looks like you're having network issues.
Author
Owner

@mrdjohnson commented on GitHub (Apr 17, 2024):

I could be wrong, but I think you need to do either ollama serve and access it through the API

Or ollama run MODEL_NAME and then it'll run a specific model.

The error even says you called it with 0 arguments but it expected 1

<!-- gh-comment-id:2060169822 --> @mrdjohnson commented on GitHub (Apr 17, 2024): I could be wrong, but I think you need to do either `ollama serve` and access it through the API Or `ollama run MODEL_NAME` and then it'll run a specific model. The error even says you called it with 0 arguments but it expected 1
Author
Owner

@swetavsavarn02 commented on GitHub (Apr 17, 2024):

Can you resolve any hosts? Looks like you're having network issues.

I have tried with different networks but still getting the same error

<!-- gh-comment-id:2060319766 --> @swetavsavarn02 commented on GitHub (Apr 17, 2024): > Can you resolve any hosts? Looks like you're having network issues. I have tried with different networks but still getting the same error
Author
Owner

@swetavsavarn02 commented on GitHub (Apr 17, 2024):

I could be wrong, but I think you need to do either ollama serve and access it through the API

Or ollama run MODEL_NAME and then it'll run a specific model.

The error even says you called it with 0 arguments but it expected 1

@mrdjohnson I am sorry , but i think you are talking about first command that i have entered . So yes it was my mistake , but as you can see that the second and third command in which i have mentioned the model name with ollama run . I am getting error on that

<!-- gh-comment-id:2060321238 --> @swetavsavarn02 commented on GitHub (Apr 17, 2024): > I could be wrong, but I think you need to do either `ollama serve` and access it through the API > > Or `ollama run MODEL_NAME` and then it'll run a specific model. > > The error even says you called it with 0 arguments but it expected 1 @mrdjohnson I am sorry , but i think you are talking about first command that i have entered . So yes it was my mistake , but as you can see that the second and third command in which i have mentioned the model name with ollama run . I am getting error on that
Author
Owner

@BhammarArjun commented on GitHub (Apr 18, 2024):

I am also getting the same error in MacOs. Unable to pull models.

(base) arjun@arjuns-MacBook-Pro ~ % ollama pull gemma
pulling manifest
Error: Head "ef311de6af/data!F(MISSING)20240418%!F(MISSING)auto%!F(MISSING)s3%!F(MISSING)aws4_request&X-Amz-Date=20240418T074609Z&X-Amz-Expires=1200&X-Amz-SignedHeaders=host&X-Amz-Signature=7bd29d516486b9c751accceabf0bf6a35b27731406b9c31b9097356b60ed6090": dial tcp: lookup dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com: no such host

<!-- gh-comment-id:2063272505 --> @BhammarArjun commented on GitHub (Apr 18, 2024): I am also getting the same error in MacOs. Unable to pull models. (base) arjun@arjuns-MacBook-Pro ~ % ollama pull gemma pulling manifest Error: Head "https://dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com/ollama/docker/registry/v2/blobs/sha256/ef/ef311de6af9db043d51ca4b1e766c28e0a1ac41d60420fed5e001dc470c64b77/data?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=66040c77ac1b787c3af820529859349a%!F(MISSING)20240418%!F(MISSING)auto%!F(MISSING)s3%!F(MISSING)aws4_request&X-Amz-Date=20240418T074609Z&X-Amz-Expires=1200&X-Amz-SignedHeaders=host&X-Amz-Signature=7bd29d516486b9c751accceabf0bf6a35b27731406b9c31b9097356b60ed6090": dial tcp: lookup dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com: no such host
Author
Owner

@allelive commented on GitHub (Apr 18, 2024):

Puoi risolvere qualche host? Sembra che tu abbia problemi di rete.

Ho provato con reti diverse ma ricevo sempre lo stesso errore

ollama run llama2:13b
ollama run llama2

<!-- gh-comment-id:2063463757 --> @allelive commented on GitHub (Apr 18, 2024): > > Puoi risolvere qualche host? Sembra che tu abbia problemi di rete. > > Ho provato con reti diverse ma ricevo sempre lo stesso errore ollama run llama2:13b ollama run llama2
Author
Owner

@swetavsavarn02 commented on GitHub (Apr 25, 2024):

No Solution has been provided so closing this thread . Unprofessional behaviour

<!-- gh-comment-id:2076533073 --> @swetavsavarn02 commented on GitHub (Apr 25, 2024): No Solution has been provided so closing this thread . Unprofessional behaviour
Author
Owner

@pdevine commented on GitHub (Apr 25, 2024):

Hi @swetavsavarn02 , I'm sorry you're still running into the issue. It's almost certainly an issue with your network setup and not with Ollama. That's why I'd asked you to see if you could ping anything external to your system.

<!-- gh-comment-id:2077747356 --> @pdevine commented on GitHub (Apr 25, 2024): Hi @swetavsavarn02 , I'm sorry you're still running into the issue. It's almost certainly an issue with your network setup and not with Ollama. That's why I'd asked you to see if you could ping anything external to your system.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#64302