[GH-ISSUE #10500] Error to download any models from Hugging Face #6908

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

Originally created by @Crandel on GitHub (Apr 30, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10500

What is the issue?

ollama pull hf.co/unsloth/Qwen3-30B-A3B-GGUF:Q4_K_M
pulling manifest
Error: internal server error

Relevant log output

Apr 30 12:16:43 cadmon ollama[2222]: time=2025-04-30T12:16:43.162+02:00 level=ERROR source=server.go:159 msg=http error="registry responded with status 401: Invalid credentials in Authorization header" status=500 method=POST path=/api/pull content-length=89 remote=127.0.0.1:57634 proto=HTTP/1.1 query=""
Apr 30 12:16:43 cadmon ollama[2222]: time=2025-04-30T12:16:43.162+02:00 level=INFO source=server.go:3640 msg="http: superfluous response.WriteHeader call from github.com/ollama/ollama/server/internal/registry.(*statusCodeRecorder).WriteHeader (server.go:77)"
Apr 30 12:16:42 cadmon ollama[2222]: [GIN] 2025/04/30 - 12:16:42 | 200 |      32.239µs |       127.0.0.1 | HEAD     "/"

OS

Linux

GPU

AMD

CPU

AMD

Ollama version

0.6.6

Originally created by @Crandel on GitHub (Apr 30, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10500 ### What is the issue? ``` ollama pull hf.co/unsloth/Qwen3-30B-A3B-GGUF:Q4_K_M pulling manifest Error: internal server error ``` ### Relevant log output ```shell Apr 30 12:16:43 cadmon ollama[2222]: time=2025-04-30T12:16:43.162+02:00 level=ERROR source=server.go:159 msg=http error="registry responded with status 401: Invalid credentials in Authorization header" status=500 method=POST path=/api/pull content-length=89 remote=127.0.0.1:57634 proto=HTTP/1.1 query="" Apr 30 12:16:43 cadmon ollama[2222]: time=2025-04-30T12:16:43.162+02:00 level=INFO source=server.go:3640 msg="http: superfluous response.WriteHeader call from github.com/ollama/ollama/server/internal/registry.(*statusCodeRecorder).WriteHeader (server.go:77)" Apr 30 12:16:42 cadmon ollama[2222]: [GIN] 2025/04/30 - 12:16:42 | 200 | 32.239µs | 127.0.0.1 | HEAD "/" ``` ### OS Linux ### GPU AMD ### CPU AMD ### Ollama version 0.6.6
GiteaMirror added the bug label 2026-04-12 18:47:49 -05:00
Author
Owner

@jmorganca commented on GitHub (Apr 30, 2025):

Hi @Crandel this seems resolved. Thanks for the issue!

<!-- gh-comment-id:2842967827 --> @jmorganca commented on GitHub (Apr 30, 2025): Hi @Crandel this seems resolved. Thanks for the issue!
Author
Owner

@xdadrm commented on GitHub (May 1, 2025):

I've encountered the same error messages, with ollama [0.6.6& 0.6.7] (with
... http error="registry responded with status 401: Invalid credentials in Authorization header" ... in the error log)

That was fixed when I removed OLLAMA_EXPERIMENT=client2

<!-- gh-comment-id:2845625772 --> @xdadrm commented on GitHub (May 1, 2025): I've encountered the same error messages, with ollama [0.6.6& 0.6.7] (with ... http error="registry responded with status 401: Invalid credentials in Authorization header" ... in the error log) That was fixed when I removed OLLAMA_EXPERIMENT=client2
Author
Owner

@Crandel commented on GitHub (May 1, 2025):

That was fixed when I removed OLLAMA_EXPERIMENT=client2

Thank you very much. I remove it too and everything is working correctly. Will be cautions trying new things from release page

<!-- gh-comment-id:2845767846 --> @Crandel commented on GitHub (May 1, 2025): > That was fixed when I removed OLLAMA_EXPERIMENT=client2 Thank you very much. I remove it too and everything is working correctly. Will be cautions trying new things from release page
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#6908