[GH-ISSUE #6874] Unable to pull models behind the proxy on windows #50855

Closed
opened 2026-04-28 17:15:28 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @WeiguangHan on GitHub (Sep 19, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6874

PS C:\Users\Administrator>  set HTTPS_PROXY=http://child-prc.intel.com:913
PS C:\Users\Administrator> set https_proxy=http://child-prc.intel.com:913
PS C:\Users\Administrator>  ollama run qwen2.5:7b
pulling manifest
Error: pull model manifest: Get "https://registry.ollama.ai/v2/library/qwen2.5/manifests/7b": dial tcp 172.67.182.229:443: i/o timeout

I set the https_proxy but it doesn't work on my windows computer. I try it many times but it doesn't work.

Originally created by @WeiguangHan on GitHub (Sep 19, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6874 ``` PS C:\Users\Administrator> set HTTPS_PROXY=http://child-prc.intel.com:913 PS C:\Users\Administrator> set https_proxy=http://child-prc.intel.com:913 PS C:\Users\Administrator> ollama run qwen2.5:7b pulling manifest Error: pull model manifest: Get "https://registry.ollama.ai/v2/library/qwen2.5/manifests/7b": dial tcp 172.67.182.229:443: i/o timeout ``` I set the https_proxy but it doesn't work on my windows computer. I try it many times but it doesn't work.
GiteaMirror added the networkingquestionwindows labels 2026-04-28 17:15:29 -05:00
Author
Owner

@rick-github commented on GitHub (Sep 19, 2024):

Set proxy in server, not client.

<!-- gh-comment-id:2360470106 --> @rick-github commented on GitHub (Sep 19, 2024): Set proxy in server, not client.
Author
Owner
<!-- gh-comment-id:2360583828 --> @rick-github commented on GitHub (Sep 19, 2024): https://github.com/ollama/ollama/blob/main/docs/faq.md#setting-environment-variables-on-windows
Author
Owner

@dhiltgen commented on GitHub (Sep 20, 2024):

Automatically detecting the Windows native proxy configuration and setting Ollama to use that is tracked in #5354 - until that's resolved, users will need to set the environment variables in the server as described above.

If you run into problems setting this @WeiguangHan let us know.

<!-- gh-comment-id:2364751353 --> @dhiltgen commented on GitHub (Sep 20, 2024): Automatically detecting the Windows native proxy configuration and setting Ollama to use that is tracked in #5354 - until that's resolved, users will need to set the environment variables in the server as described above. If you run into problems setting this @WeiguangHan let us know.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#50855