[GH-ISSUE #4402] Error While running " ollama run llama2" or any model. #2752

Closed
opened 2026-04-12 13:03:49 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @dimpu1117 on GitHub (May 13, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4402

I getting a error when i am trying to setup ollama in windows. i have installed ollama successfully and even the ollama serve is also working. but when i try to run a model i am getting this error.
Error Message:
PS C:\Users\DAQ2KOR> ollama run llama2
pulling manifest
Error: pull model manifest: Get "https://registry.ollama.ai/v2/library/llama2/manifests/latest": dial tcp: lookup registry.ollama.ai on 10.58.194.16:53: no such host

Originally created by @dimpu1117 on GitHub (May 13, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4402 I getting a error when i am trying to setup ollama in windows. i have installed ollama successfully and even the ollama serve is also working. but when i try to run a model i am getting this error. Error Message: PS C:\Users\DAQ2KOR> ollama run llama2 pulling manifest Error: pull model manifest: Get "https://registry.ollama.ai/v2/library/llama2/manifests/latest": dial tcp: lookup registry.ollama.ai on 10.58.194.16:53: no such host
GiteaMirror added the networkingbugneeds more info labels 2026-04-12 13:03:50 -05:00
Author
Owner

@pdevine commented on GitHub (May 14, 2024):

Hey @dimpu1117 Are you by any chance behind some kind of firewall?

<!-- gh-comment-id:2109085633 --> @pdevine commented on GitHub (May 14, 2024): Hey @dimpu1117 Are you by any chance behind some kind of firewall?
Author
Owner

@SleeplessBegonia commented on GitHub (May 27, 2024):

me too.how did you solve it?

<!-- gh-comment-id:2133387776 --> @SleeplessBegonia commented on GitHub (May 27, 2024): me too.how did you solve it?
Author
Owner

@dhiltgen commented on GitHub (Jul 25, 2024):

10.58.194.16:53 is an internal DNS server within your network. That DNS server isn't resolving internet hostnames and can't resolve the ollama registry. Hopefully whoever manages your network provides a proxy to be able to connect to the internet, and if so, you can use https://github.com/ollama/ollama/blob/main/docs/faq.md#how-do-i-use-ollama-behind-a-proxy to set up the proxy. If your host has no possible way to connect to the internet, you could attempt to pull models on another computer on another network that does have internet connectivity, and then replicate the models directory https://github.com/ollama/ollama/blob/main/docs/faq.md#where-are-models-stored

<!-- gh-comment-id:2251175624 --> @dhiltgen commented on GitHub (Jul 25, 2024): `10.58.194.16:53` is an internal DNS server within your network. That DNS server isn't resolving internet hostnames and can't resolve the ollama registry. Hopefully whoever manages your network provides a proxy to be able to connect to the internet, and if so, you can use https://github.com/ollama/ollama/blob/main/docs/faq.md#how-do-i-use-ollama-behind-a-proxy to set up the proxy. If your host has no possible way to connect to the internet, you could attempt to pull models on another computer on another network that does have internet connectivity, and then replicate the models directory https://github.com/ollama/ollama/blob/main/docs/faq.md#where-are-models-stored
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#2752