[GH-ISSUE #8221] Model pull fail due to captive portal #5249

Closed
opened 2026-04-12 16:23:26 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @startreered on GitHub (Dec 23, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/8221

What is the issue?

I'm on a network with captive portals that offer 'coaching' pages for certain content. I believe that Ollama is getting a coaching a page when pulling a model, but I can't determine what URL models are being pulled from. If I knew the URL I could navigate there in a browser and accept the captive portal for the day. Additionally, if I knew the necessary URLs I could ask for them to be whitelisted.

'''

ollama run nemotron
pulling manifest
pulling c147388e9931... 0% ▕ ▏ 0 B/ 42 GB
Error: max retries exceeded: EOF
'''

When I pull a model from huggingface I can manually navigate to the model page first, accepting the captive portal and the model pulls successfully.

I asked on the discord and searched the ollama github but haven't found an answer yet.

OS

Windows

GPU

Nvidia

CPU

Intel

Ollama version

0.5.4

Originally created by @startreered on GitHub (Dec 23, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/8221 ### What is the issue? I'm on a network with captive portals that offer 'coaching' pages for certain content. I believe that Ollama is getting a coaching a page when pulling a model, but I can't determine what URL models are being pulled from. If I knew the URL I could navigate there in a browser and accept the captive portal for the day. Additionally, if I knew the necessary URLs I could ask for them to be whitelisted. ''' >ollama run nemotron pulling manifest pulling c147388e9931... 0% ▕ ▏ 0 B/ 42 GB Error: max retries exceeded: EOF ''' When I pull a model from huggingface I can manually navigate to the model page first, accepting the captive portal and the model pulls successfully. I asked on the discord and searched the ollama github but haven't found an answer yet. ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version 0.5.4
GiteaMirror added the bug label 2026-04-12 16:23:26 -05:00
Author
Owner

@startreered commented on GitHub (Dec 23, 2024):

I think I've answered my own question.

It looks like a pull begins by reading the manifest, such as:
https://registry.ollama.ai/v2/library/llama3.2-vision/manifests/latest

Which returns this JSON:

{
	"schemaVersion": 2,
	"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
	"config": {
		"mediaType": "application/vnd.docker.container.image.v1+json",
		"digest": "sha256:fbd313562bb706ac00f1a18c0aad8398b3c22d5cd78c47ff6f7246c4c3438576",
		"size": 572
	},
	"layers": [
		{
			"mediaType": "application/vnd.ollama.image.model",
			"digest": "sha256:11f274007f093fefeec994a5dbbb33d0733a4feb87f7ab66dcd7c1069fef0068",
			"size": 5963057248
		},
		{
			"mediaType": "application/vnd.ollama.image.projector",
			"digest": "sha256:ece5e659647a20a5c28ab9eea1c12a1ad430bc0f2a27021d00ad103b3bf5206f",
			"size": 1938763584,
			"from": "/Users/ollama/.ollama/models/blobs/sha256-ece5e659647a20a5c28ab9eea1c12a1ad430bc0f2a27021d00ad103b3bf5206f"
		},
		{
			"mediaType": "application/vnd.ollama.image.template",
			"digest": "sha256:715415638c9c4c0cb2b78783da041b97bd1205f8b9f9494bd7e5a850cb443602",
			"size": 269
		},
		{
			"mediaType": "application/vnd.ollama.image.license",
			"digest": "sha256:0b4284c1f87029e67654c7953afa16279961632cf73dcfe33374c4c2f298fa35",
			"size": 7712
		},
		{
			"mediaType": "application/vnd.ollama.image.params",
			"digest": "sha256:fefc914e46e6024467471837a48a24251db2c6f3f58395943da7bf9dc6f70fb6",
			"size": 32
		}
	]
}

Then, the individual sha256 files in the manifest can be found like this:
https://registry.ollama.ai/v2/library/llama3.2-vision/blobs/sha256-4bb71764481f96d4161efc810c6185a0d0eb5a50ab7a0dedbdd283670cbcc2b5

However that will redirect you to someplace like this:
https://dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com/ollama/docker/registry/v2/blobs/sha256/4b/4bb........

And that is where I'm getting the captive portal. That is classified as "Filesharing / Storage" and has a separate warning for me than just the Ollama website that is classified as AI.

<!-- gh-comment-id:2560232341 --> @startreered commented on GitHub (Dec 23, 2024): I think I've answered my own question. It looks like a pull begins by reading the manifest, such as: ```https://registry.ollama.ai/v2/library/llama3.2-vision/manifests/latest``` Which returns this JSON: ``` { "schemaVersion": 2, "mediaType": "application/vnd.docker.distribution.manifest.v2+json", "config": { "mediaType": "application/vnd.docker.container.image.v1+json", "digest": "sha256:fbd313562bb706ac00f1a18c0aad8398b3c22d5cd78c47ff6f7246c4c3438576", "size": 572 }, "layers": [ { "mediaType": "application/vnd.ollama.image.model", "digest": "sha256:11f274007f093fefeec994a5dbbb33d0733a4feb87f7ab66dcd7c1069fef0068", "size": 5963057248 }, { "mediaType": "application/vnd.ollama.image.projector", "digest": "sha256:ece5e659647a20a5c28ab9eea1c12a1ad430bc0f2a27021d00ad103b3bf5206f", "size": 1938763584, "from": "/Users/ollama/.ollama/models/blobs/sha256-ece5e659647a20a5c28ab9eea1c12a1ad430bc0f2a27021d00ad103b3bf5206f" }, { "mediaType": "application/vnd.ollama.image.template", "digest": "sha256:715415638c9c4c0cb2b78783da041b97bd1205f8b9f9494bd7e5a850cb443602", "size": 269 }, { "mediaType": "application/vnd.ollama.image.license", "digest": "sha256:0b4284c1f87029e67654c7953afa16279961632cf73dcfe33374c4c2f298fa35", "size": 7712 }, { "mediaType": "application/vnd.ollama.image.params", "digest": "sha256:fefc914e46e6024467471837a48a24251db2c6f3f58395943da7bf9dc6f70fb6", "size": 32 } ] } ``` Then, the individual sha256 files in the manifest can be found like this: ```https://registry.ollama.ai/v2/library/llama3.2-vision/blobs/sha256-4bb71764481f96d4161efc810c6185a0d0eb5a50ab7a0dedbdd283670cbcc2b5``` However that will redirect you to someplace like this: ```https://dd20bb891979d25aebc8bec07b2b3bbc.r2.cloudflarestorage.com/ollama/docker/registry/v2/blobs/sha256/4b/4bb........ ``` And that is where I'm getting the captive portal. That is classified as "Filesharing / Storage" and has a separate warning for me than just the Ollama website that is classified as AI.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#5249