[GH-ISSUE #8711] Unable to Pull Ollama Models – "Query Refused" on Cloudflare R2 #67703

Closed
opened 2026-05-04 11:24:46 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @lavisharma-25 on GitHub (Jan 30, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8711

I am encountering an issue while trying to pull models using Ollama on my Windows 11 machine. The download fails with a DNS resolution error, preventing access to Cloudflare R2 storage, where Ollama hosts its models.

When running:
ollama pull gemma2:2b

Getting Error:
Error: max retries exceeded: Get "https://dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com/...": dial tcp: lookup dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com: no such host

To investigate further, I checked DNS resolution using nslookup:
nslookup dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com

Output:
Server:
Address:
can't find dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com: Query refused

This suggests that my network is unable to resolve Cloudflare R2 storage, making it impossible to pull models.

Steps Taken to Troubleshoot:
✔ Flushed DNS cache (ipconfig /flushdns)
✔ Changed DNS to Google (8.8.8.8) and Cloudflare (1.1.1.1)
✔ Disabled Firewall & Antivirus temporarily
✔ Restarted router and system multiple times
✔ Tried using a mobile hotspot (worked with a different network!)
✔ Tested direct access to Cloudflare R2 (curl, ping) – still unreachable

System Details:
OS: Windows 11
Ollama Version: (Provide your Ollama version here)
Network Setup: Home Wi-Fi
Would appreciate any guidance from the Ollama team on possible workarounds or fixes. Thanks in advance! 🚀

@shubham4576

Originally created by @lavisharma-25 on GitHub (Jan 30, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8711 I am encountering an issue while trying to pull models using Ollama on my Windows 11 machine. The download fails with a DNS resolution error, preventing access to Cloudflare R2 storage, where Ollama hosts its models. **When running:** ollama pull gemma2:2b **Getting Error:** Error: max retries exceeded: Get "https://dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com/...": dial tcp: lookup dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com: no such host **To investigate further, I checked DNS resolution using nslookup:** nslookup dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com **Output:** Server: <ISP DNS Server> Address: <ISP DNS IP> <ISP DNS Server> can't find dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com: Query refused This suggests that my network is unable to resolve Cloudflare R2 storage, making it impossible to pull models. **Steps Taken to Troubleshoot:** ✔ Flushed DNS cache (ipconfig /flushdns) ✔ Changed DNS to Google (8.8.8.8) and Cloudflare (1.1.1.1) ✔ Disabled Firewall & Antivirus temporarily ✔ Restarted router and system multiple times ✔ Tried using a mobile hotspot (worked with a different network!) ✔ Tested direct access to Cloudflare R2 (curl, ping) – still unreachable **System Details:** OS: Windows 11 Ollama Version: (Provide your Ollama version here) Network Setup: Home Wi-Fi Would appreciate any guidance from the Ollama team on possible workarounds or fixes. Thanks in advance! 🚀 @shubham4576
Author
Owner

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

Does your network configure a proxy?

<!-- gh-comment-id:2625716967 --> @mxyng commented on GitHub (Jan 30, 2025): Does your network configure a proxy?
Author
Owner

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

dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com has been a problem for weeks.

<!-- gh-comment-id:2625722239 --> @rick-github commented on GitHub (Jan 30, 2025): dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com has been a problem for weeks.
Author
Owner

@lavisharma-25 commented on GitHub (Jan 30, 2025):

Does your network configure a proxy?

No @mxyng

<!-- gh-comment-id:2625733212 --> @lavisharma-25 commented on GitHub (Jan 30, 2025): > Does your network configure a proxy? No @mxyng
Author
Owner

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

Thanks, given the other issues, it's unlikely it's caused by a proxy but doesn't hurt to double check.

I haven't been able to reproduce this but I've forwarded it to Cloudflare.

<!-- gh-comment-id:2625786481 --> @mxyng commented on GitHub (Jan 30, 2025): Thanks, given the other issues, it's unlikely it's caused by a proxy but doesn't hurt to double check. I haven't been able to reproduce this but I've forwarded it to Cloudflare.
Author
Owner

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

There's slightly more info in #8605 so I'm going to consolidate this issue with that

<!-- gh-comment-id:2625801099 --> @mxyng commented on GitHub (Jan 30, 2025): There's slightly more info in #8605 so I'm going to consolidate this issue with that
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#67703