[GH-ISSUE #3996] ollama pulling manifest error no such host #64511

Closed
opened 2026-05-03 17:55:51 -05:00 by GiteaMirror · 12 comments
Owner

Originally created by @Arraj2611 on GitHub (Apr 28, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3996

What is the issue?

i tried to run llama3 but faced this error
Error: Head "00e1317cbf/data!F(MISSING)20240428%!F(MISSING)auto%!F(MISSING)s3%!F(MISSING)aws4_request&X-Amz-Date=20240428T063641Z&X-Amz-Expires=1200&X-Amz-SignedHeaders=host&X-Amz-Signature=18a29d374357d272fe145b5a4c76b0c9cc17b5d165574dd1fa3458937879ba9d": dial tcp: lookup dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com: no such host

any help!!!

OS

Windows

GPU

Nvidia

CPU

Intel

Ollama version

0.1.32

Originally created by @Arraj2611 on GitHub (Apr 28, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3996 ### What is the issue? i tried to run llama3 but faced this error Error: Head "https://dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com/ollama/docker/registry/v2/blobs/sha256/00/00e1317cbf74d901080d7100f57580ba8dd8de57203072dc6f668324ba545f29/data?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=66040c77ac1b787c3af820529859349a%!F(MISSING)20240428%!F(MISSING)auto%!F(MISSING)s3%!F(MISSING)aws4_request&X-Amz-Date=20240428T063641Z&X-Amz-Expires=1200&X-Amz-SignedHeaders=host&X-Amz-Signature=18a29d374357d272fe145b5a4c76b0c9cc17b5d165574dd1fa3458937879ba9d": dial tcp: lookup dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com: no such host any help!!! ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version 0.1.32
GiteaMirror added the bug label 2026-05-03 17:55:51 -05:00
Author
Owner

@BruceMacD commented on GitHub (May 1, 2024):

Hi @Arraj2611 sorry about this, we often see errors that look like this when trying to pull models through a proxy. Could that be the case here?

Here's some troubleshooting info: https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-use-ollama-with-a-proxy-server

<!-- gh-comment-id:2089074870 --> @BruceMacD commented on GitHub (May 1, 2024): Hi @Arraj2611 sorry about this, we often see errors that look like this when trying to pull models through a proxy. Could that be the case here? Here's some troubleshooting info: https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-use-ollama-with-a-proxy-server
Author
Owner

@dhiltgen commented on GitHub (May 1, 2024):

Looks like a dup of #3504

<!-- gh-comment-id:2089120669 --> @dhiltgen commented on GitHub (May 1, 2024): Looks like a dup of #3504
Author
Owner

@MKSinghDev commented on GitHub (Jun 4, 2024):

This seems to be an issue with ISP. It is highly probable that it will work with another ISP (it worked for me) but let's fix it so we don't have to switch our internet provider.

dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com

Do a Dig here for above host and copy the IP address

Screenshot 2024-06-04 at 10 54 35 PM

Now add the copied IP address to your host file like
104.18.9.90 dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com

For adding the value you can follow the below steps:

  1. sudo vim /etc/hosts
  2. shift + g to goto last line
  3. o 👈🏻 this is alphabet "o" not a zero. Insert a new blank line below and change the mode to INSERT
  4. add the values as stated above
  5. shift + zz 👈🏻 this is 2 times "zz" for saving and existing

Now you should be able to pull the models by ollama

<!-- gh-comment-id:2148072054 --> @MKSinghDev commented on GitHub (Jun 4, 2024): This seems to be an issue with ISP. It is highly probable that it will work with another ISP (it worked for me) but let's fix it so we don't have to switch our internet provider. > dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com Do a `Dig` [here](https://www.digwebinterface.com/) for above host and copy the IP address <img width="776" alt="Screenshot 2024-06-04 at 10 54 35 PM" src="https://github.com/ollama/ollama/assets/52215756/9fc0f710-fb84-4061-9b18-34ed2db80a6c"> Now add the copied IP address to your host file like `104.18.9.90 dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com` For adding the value you can follow the below steps: > 1. `sudo vim /etc/hosts` > 2. `shift + g` to goto last line > 3. `o` 👈🏻 this is alphabet "o" not a zero. Insert a new blank line below and change the mode to INSERT > 4. add the values as stated above > 5. `shift + zz` 👈🏻 this is 2 times "zz" for saving and existing Now you should be able to pull the models by ollama
Author
Owner

@Aditya2073 commented on GitHub (Jun 7, 2024):

Use this
Windows: ipconfig /flushdns
Mac: sudo killall -HUP mDNSResponder
Linux: sudo systemd-resolve --flush-caches

<!-- gh-comment-id:2155002026 --> @Aditya2073 commented on GitHub (Jun 7, 2024): Use this Windows: ipconfig /flushdns Mac: sudo killall -HUP mDNSResponder Linux: sudo systemd-resolve --flush-caches
Author
Owner

@sagarbangade commented on GitHub (Jun 8, 2024):

Step 1: Check DNS Settings:

Sometimes DNS settings can cause issues. Try changing your DNS server to a public one like Google DNS (8.8.8.8) or Cloudflare DNS (1.1.1.1).

Step 2: Flush DNS Cache:
Sometimes the DNS cache can cause issues. You can flush it using the following command in the command prompt:

ipconfig /flushdns

<!-- gh-comment-id:2156027458 --> @sagarbangade commented on GitHub (Jun 8, 2024): Step 1: Check DNS Settings: Sometimes DNS settings can cause issues. Try changing your DNS server to a public one like Google DNS (8.8.8.8) or Cloudflare DNS (1.1.1.1). Step 2: Flush DNS Cache: Sometimes the DNS cache can cause issues. You can flush it using the following command in the command prompt: ipconfig /flushdns
Author
Owner

@maddhruv commented on GitHub (Dec 27, 2024):

Adding DNS 8.8.8.8 in MacOS Settings worked 🎉

<!-- gh-comment-id:2563504889 --> @maddhruv commented on GitHub (Dec 27, 2024): Adding DNS `8.8.8.8` in MacOS Settings worked 🎉
Author
Owner

@azteck commented on GitHub (Jan 10, 2025):

Adding DNS 8.8.8.8 in MacOS Settings worked 🎉

Thanks! Worked for me!

<!-- gh-comment-id:2583367130 --> @azteck commented on GitHub (Jan 10, 2025): > Adding DNS `8.8.8.8` in MacOS Settings worked 🎉 Thanks! Worked for me!
Author
Owner

@puneeth-007 commented on GitHub (Jan 29, 2025):

switching to different ISP resolved the issue. Thankyou

<!-- gh-comment-id:2620810381 --> @puneeth-007 commented on GitHub (Jan 29, 2025): switching to different ISP resolved the issue. Thankyou
Author
Owner

@jaykhatri0875 commented on GitHub (Jan 30, 2025):

flushing DNS didn't work, changing network worked for me !

<!-- gh-comment-id:2624619058 --> @jaykhatri0875 commented on GitHub (Jan 30, 2025): flushing DNS didn't work, changing network worked for me !
Author
Owner

@amanchoudharry commented on GitHub (Feb 3, 2025):

Adding DNS 8.8.8.8
and then
ipconfig /flushdns
in my Windows 11 Settings worked !
Thanks

Image

<!-- gh-comment-id:2631542624 --> @amanchoudharry commented on GitHub (Feb 3, 2025): Adding DNS 8.8.8.8 and then ipconfig /flushdns in my Windows 11 Settings worked ! Thanks ![Image](https://github.com/user-attachments/assets/d6d322c7-b477-4320-8db6-0316eb3a80e1)
Author
Owner

@UtsavMehta1975 commented on GitHub (Feb 6, 2025):

changing DNS server IPv4 manually to google's 8.8.8.8 wroked for me as well

<!-- gh-comment-id:2638370877 --> @UtsavMehta1975 commented on GitHub (Feb 6, 2025): changing DNS server IPv4 manually to google's 8.8.8.8 wroked for me as well
Author
Owner

@PK4AI commented on GitHub (Apr 25, 2025):

Used steps as shown in this video to change DNS settings on Windows. worked like a charm.
https://www.youtube.com/watch?v=CkDEZQuk0bU

<!-- gh-comment-id:2829769996 --> @PK4AI commented on GitHub (Apr 25, 2025): Used steps as shown in this video to change DNS settings on Windows. worked like a charm. https://www.youtube.com/watch?v=CkDEZQuk0bU
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#64511