ollama - 💡(How to fix) Fix Bug: 401 Unauthorized on cloud pull and 'ollama login' command fails (Windows 11) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
ollama/ollama#15074Fetched 2026-04-08 01:36:31
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
commented ×1labeled ×1mentioned ×1subscribed ×1

Error Message

I am unable to authenticate my Ollama client on Windows 11. When I run ollama login, nothing happens (no browser opens). When I try to pull or run a cloud model (like minimax-m2.7:cloud or even llama3.2:1b), I get an Error: pull model manifest: 401. The URL ollama.com/authorize (often triggered by login) returns a 404 error on the website. Even after adding the public key to my account on ollama.com, I get a 401 error. The server log shows that the /api/pull request is received, but it fails to authenticate with the remote registry.

Code Example

time=2026-03-25T01:44:57.118-03:00 level=INFO source=routes.go:1740 msg="server config" env="map[CUDA_VISIBLE_DEVICES: GGML_VK_VISIBLE_DEVICES: GPU_DEVICE_ORDINAL: HIP_VISIBLE_DEVICES: HSA_OVERRIDE_GFX_VERSION: HTTPS_PROXY: HTTP_PROXY: NO_PROXY: OLLAMA_CONTEXT_LENGTH:0 OLLAMA_DEBUG:DEBUG OLLAMA_DEBUG_LOG_REQUESTS:false OLLAMA_EDITOR: OLLAMA_FLASH_ATTENTION:false OLLAMA_GPU_OVERHEAD:0 OLLAMA_HOST:http://127.0.0.1:11434 OLLAMA_KEEP_ALIVE:5m0s OLLAMA_KV_CACHE_TYPE: OLLAMA_LLM_LIBRARY: OLLAMA_LOAD_TIMEOUT:5m0s OLLAMA_MAX_LOADED_MODELS:0 OLLAMA_MAX_QUEUE:512 OLLAMA_MODELS:C:\\Users\\Lukinhas\\.ollama\\models OLLAMA_MULTIUSER_CACHE:false OLLAMA_NEW_ENGINE:false OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NO_CLOUD:false OLLAMA_NUM_PARALLEL:1 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://* vscode-webview://* vscode-file://*] OLLAMA_REMOTES:[ollama.com] OLLAMA_SCHED_SPREAD:false OLLAMA_VULKAN:false ROCR_VISIBLE_DEVICES:]"
time=2026-03-25T01:44:57.118-03:00 level=INFO source=routes.go:1742 msg="Ollama cloud disabled: false"
time=2026-03-25T01:44:57.119-03:00 level=INFO source=images.go:477 msg="total blobs: 0"
time=2026-03-25T01:44:57.119-03:00 level=INFO source=images.go:484 msg="total unused blobs removed: 0"
time=2026-03-25T01:44:57.121-03:00 level=INFO source=routes.go:1798 msg="Listening on 127.0.0.1:11434 (version 0.18.3)"
time=2026-03-25T01:44:57.122-03:00 level=DEBUG source=sched.go:145 msg="starting llm scheduler"
time=2026-03-25T01:44:57.123-03:00 level=INFO source=runner.go:67 msg="discovering available GPUs..."
time=2026-03-25T01:44:57.137-03:00 level=INFO source=server.go:432 msg="starting runner" cmd="C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\ollama.exe runner --ollama-engine --port 54365"
time=2026-03-25T01:44:57.137-03:00 level=DEBUG source=server.go:433 msg=subprocess OLLAMA_DEBUG=1 OLLAMA_HOST=127.0.0.1:11434 OLLAMA_ID=C:\Users\Lukinhas\.ollama\id_ed25519 OLLAMA_NO_CLOUD=false PATH="C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama\\cuda_v12;C:\\jdk-21.0.10\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Exercism;C:\\Program Files\\dotnet\\;C:\\Program Files\\nodejs\\;C:\\apache-maven-3.9.12\\bin;;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\jdk-21.0.10\\bin;C:\\Users\\Lukinhas\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\MinGW\\bin;C:\\Exercism;C:\\Users\\Lukinhas\\AppData\\Roaming\\npm;;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama" OLLAMA_LIBRARY_PATH=C:\Users\Lukinhas\AppData\Local\Programs\Ollama\lib\ollama;C:\Users\Lukinhas\AppData\Local\Programs\Ollama\lib\ollama\cuda_v12
time=2026-03-25T01:44:57.664-03:00 level=DEBUG source=runner.go:437 msg="bootstrap discovery took" duration=535.23ms OLLAMA_LIBRARY_PATH="[C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama\\cuda_v12]" extra_envs=map[]
time=2026-03-25T01:44:57.667-03:00 level=INFO source=server.go:432 msg="starting runner" cmd="C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\ollama.exe runner --ollama-engine --port 54374"
time=2026-03-25T01:44:57.668-03:00 level=DEBUG source=server.go:433 msg=subprocess OLLAMA_DEBUG=1 OLLAMA_HOST=127.0.0.1:11434 OLLAMA_ID=C:\Users\Lukinhas\.ollama\id_ed25519 OLLAMA_NO_CLOUD=false PATH="C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama\\cuda_v13;C:\\jdk-21.0.10\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Exercism;C:\\Program Files\\dotnet\\;C:\\Program Files\\nodejs\\;C:\\apache-maven-3.9.12\\bin;;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\jdk-21.0.10\\bin;C:\\Users\\Lukinhas\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\MinGW\\bin;C:\\Exercism;C:\\Users\\Lukinhas\\AppData\\Roaming\\npm;;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama" OLLAMA_LIBRARY_PATH=C:\Users\Lukinhas\AppData\Local\Programs\Ollama\lib\ollama;C:\Users\Lukinhas\AppData\Local\Programs\Ollama\lib\ollama\cuda_v13
time=2026-03-25T01:44:58.066-03:00 level=DEBUG source=runner.go:437 msg="bootstrap discovery took" duration=401.7361ms OLLAMA_LIBRARY_PATH="[C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama\\cuda_v13]" extra_envs=map[]
time=2026-03-25T01:44:58.069-03:00 level=INFO source=server.go:432 msg="starting runner" cmd="C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\ollama.exe runner --ollama-engine --port 54384"
time=2026-03-25T01:44:58.070-03:00 level=DEBUG source=server.go:433 msg=subprocess OLLAMA_DEBUG=1 OLLAMA_HOST=127.0.0.1:11434 OLLAMA_ID=C:\Users\Lukinhas\.ollama\id_ed25519 OLLAMA_NO_CLOUD=false PATH="C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama\\rocm;C:\\jdk-21.0.10\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Exercism;C:\\Program Files\\dotnet\\;C:\\Program Files\\nodejs\\;C:\\apache-maven-3.9.12\\bin;;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\jdk-21.0.10\\bin;C:\\Users\\Lukinhas\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\MinGW\\bin;C:\\Exercism;C:\\Users\\Lukinhas\\AppData\\Roaming\\npm;;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama" OLLAMA_LIBRARY_PATH=C:\Users\Lukinhas\AppData\Local\Programs\Ollama\lib\ollama;C:\Users\Lukinhas\AppData\Local\Programs\Ollama\lib\ollama\rocm
time=2026-03-25T01:44:58.434-03:00 level=DEBUG source=runner.go:437 msg="bootstrap discovery took" duration=368.4025ms OLLAMA_LIBRARY_PATH="[C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama\\rocm]" extra_envs=map[]
time=2026-03-25T01:44:58.434-03:00 level=INFO source=runner.go:106 msg="experimental Vulkan support disabled.  To enable, set OLLAMA_VULKAN=1"
time=2026-03-25T01:44:58.435-03:00 level=DEBUG source=runner.go:124 msg="evaluating which, if any, devices to filter out" initial_count=0
time=2026-03-25T01:44:58.435-03:00 level=DEBUG source=runner.go:40 msg="GPU bootstrap discovery took" duration=1.3133643s
time=2026-03-25T01:44:58.435-03:00 level=INFO source=types.go:60 msg="inference compute" id=cpu library=cpu compute="" name=cpu description=cpu libdirs=ollama driver="" pci_id="" type="" total="15.8 GiB" available="8.0 GiB"
time=2026-03-25T01:44:58.436-03:00 level=INFO source=routes.go:1848 msg="vram-based default context" total_vram="0 B" default_num_ctx=4096
[GIN] 2026/03/25 - 01:45:15 | 200 |            0s |       127.0.0.1 | HEAD     "/"
[GIN] 2026/03/25 - 01:45:15 | 404 |      1.3235ms |       127.0.0.1 | POST     "/api/show"
[GIN] 2026/03/25 - 01:45:15 | 200 |    513.8069ms |       127.0.0.1 | POST     "/api/pull"
RAW_BUFFERClick to expand / collapse

What is the issue?

Describe the bug I am unable to authenticate my Ollama client on Windows 11. When I run ollama login, nothing happens (no browser opens). When I try to pull or run a cloud model (like minimax-m2.7:cloud or even llama3.2:1b), I get an Error: pull model manifest: 401.

To Reproduce

Install Ollama v0.18.2 on Windows 11.

Generate a new SSH key: cat ~/.ollama/id_ed25519.pub.

Add the public key manually to ollama.com/settings/keys.

Run ollama run llama3.2:1b or ollama run minimax-m2.7:cloud.

Command fails with 401 Unauthorized.

Expected behavior The client should recognize the public key registered on the website and allow the pull, or ollama login should open the browser to verify the session.

Environment:

OS: Windows 11

Ollama Version: 0.18.2

Network: Brazilian ISP (tested with local server at 127.0.0.1:11434)

Additional Context:

I have already tried resetting the .ollama folder and regenerating keys.

OLLAMA_HOST is set to 127.0.0.1:11434.

The URL ollama.com/authorize (often triggered by login) returns a 404 error on the website.

Pulling from hf.co works fine, but official registry pulls fail with 401.

Server Debug Logs: Even after adding the public key to my account on ollama.com, I get a 401 error. The server log shows that the /api/pull request is received, but it fails to authenticate with the remote registry.

My OLLAMA_ID is set to: C:\Users\Lukinhas.ollama\id_ed25519 My OLLAMA_HOST is: 127.0.0.1:11434

Relevant log output

time=2026-03-25T01:44:57.118-03:00 level=INFO source=routes.go:1740 msg="server config" env="map[CUDA_VISIBLE_DEVICES: GGML_VK_VISIBLE_DEVICES: GPU_DEVICE_ORDINAL: HIP_VISIBLE_DEVICES: HSA_OVERRIDE_GFX_VERSION: HTTPS_PROXY: HTTP_PROXY: NO_PROXY: OLLAMA_CONTEXT_LENGTH:0 OLLAMA_DEBUG:DEBUG OLLAMA_DEBUG_LOG_REQUESTS:false OLLAMA_EDITOR: OLLAMA_FLASH_ATTENTION:false OLLAMA_GPU_OVERHEAD:0 OLLAMA_HOST:http://127.0.0.1:11434 OLLAMA_KEEP_ALIVE:5m0s OLLAMA_KV_CACHE_TYPE: OLLAMA_LLM_LIBRARY: OLLAMA_LOAD_TIMEOUT:5m0s OLLAMA_MAX_LOADED_MODELS:0 OLLAMA_MAX_QUEUE:512 OLLAMA_MODELS:C:\\Users\\Lukinhas\\.ollama\\models OLLAMA_MULTIUSER_CACHE:false OLLAMA_NEW_ENGINE:false OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NO_CLOUD:false OLLAMA_NUM_PARALLEL:1 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://* vscode-webview://* vscode-file://*] OLLAMA_REMOTES:[ollama.com] OLLAMA_SCHED_SPREAD:false OLLAMA_VULKAN:false ROCR_VISIBLE_DEVICES:]"
time=2026-03-25T01:44:57.118-03:00 level=INFO source=routes.go:1742 msg="Ollama cloud disabled: false"
time=2026-03-25T01:44:57.119-03:00 level=INFO source=images.go:477 msg="total blobs: 0"
time=2026-03-25T01:44:57.119-03:00 level=INFO source=images.go:484 msg="total unused blobs removed: 0"
time=2026-03-25T01:44:57.121-03:00 level=INFO source=routes.go:1798 msg="Listening on 127.0.0.1:11434 (version 0.18.3)"
time=2026-03-25T01:44:57.122-03:00 level=DEBUG source=sched.go:145 msg="starting llm scheduler"
time=2026-03-25T01:44:57.123-03:00 level=INFO source=runner.go:67 msg="discovering available GPUs..."
time=2026-03-25T01:44:57.137-03:00 level=INFO source=server.go:432 msg="starting runner" cmd="C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\ollama.exe runner --ollama-engine --port 54365"
time=2026-03-25T01:44:57.137-03:00 level=DEBUG source=server.go:433 msg=subprocess OLLAMA_DEBUG=1 OLLAMA_HOST=127.0.0.1:11434 OLLAMA_ID=C:\Users\Lukinhas\.ollama\id_ed25519 OLLAMA_NO_CLOUD=false PATH="C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama\\cuda_v12;C:\\jdk-21.0.10\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Exercism;C:\\Program Files\\dotnet\\;C:\\Program Files\\nodejs\\;C:\\apache-maven-3.9.12\\bin;;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\jdk-21.0.10\\bin;C:\\Users\\Lukinhas\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\MinGW\\bin;C:\\Exercism;C:\\Users\\Lukinhas\\AppData\\Roaming\\npm;;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama" OLLAMA_LIBRARY_PATH=C:\Users\Lukinhas\AppData\Local\Programs\Ollama\lib\ollama;C:\Users\Lukinhas\AppData\Local\Programs\Ollama\lib\ollama\cuda_v12
time=2026-03-25T01:44:57.664-03:00 level=DEBUG source=runner.go:437 msg="bootstrap discovery took" duration=535.23ms OLLAMA_LIBRARY_PATH="[C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama\\cuda_v12]" extra_envs=map[]
time=2026-03-25T01:44:57.667-03:00 level=INFO source=server.go:432 msg="starting runner" cmd="C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\ollama.exe runner --ollama-engine --port 54374"
time=2026-03-25T01:44:57.668-03:00 level=DEBUG source=server.go:433 msg=subprocess OLLAMA_DEBUG=1 OLLAMA_HOST=127.0.0.1:11434 OLLAMA_ID=C:\Users\Lukinhas\.ollama\id_ed25519 OLLAMA_NO_CLOUD=false PATH="C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama\\cuda_v13;C:\\jdk-21.0.10\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Exercism;C:\\Program Files\\dotnet\\;C:\\Program Files\\nodejs\\;C:\\apache-maven-3.9.12\\bin;;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\jdk-21.0.10\\bin;C:\\Users\\Lukinhas\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\MinGW\\bin;C:\\Exercism;C:\\Users\\Lukinhas\\AppData\\Roaming\\npm;;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama" OLLAMA_LIBRARY_PATH=C:\Users\Lukinhas\AppData\Local\Programs\Ollama\lib\ollama;C:\Users\Lukinhas\AppData\Local\Programs\Ollama\lib\ollama\cuda_v13
time=2026-03-25T01:44:58.066-03:00 level=DEBUG source=runner.go:437 msg="bootstrap discovery took" duration=401.7361ms OLLAMA_LIBRARY_PATH="[C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama\\cuda_v13]" extra_envs=map[]
time=2026-03-25T01:44:58.069-03:00 level=INFO source=server.go:432 msg="starting runner" cmd="C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\ollama.exe runner --ollama-engine --port 54384"
time=2026-03-25T01:44:58.070-03:00 level=DEBUG source=server.go:433 msg=subprocess OLLAMA_DEBUG=1 OLLAMA_HOST=127.0.0.1:11434 OLLAMA_ID=C:\Users\Lukinhas\.ollama\id_ed25519 OLLAMA_NO_CLOUD=false PATH="C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama\\rocm;C:\\jdk-21.0.10\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Exercism;C:\\Program Files\\dotnet\\;C:\\Program Files\\nodejs\\;C:\\apache-maven-3.9.12\\bin;;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\jdk-21.0.10\\bin;C:\\Users\\Lukinhas\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\MinGW\\bin;C:\\Exercism;C:\\Users\\Lukinhas\\AppData\\Roaming\\npm;;C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama" OLLAMA_LIBRARY_PATH=C:\Users\Lukinhas\AppData\Local\Programs\Ollama\lib\ollama;C:\Users\Lukinhas\AppData\Local\Programs\Ollama\lib\ollama\rocm
time=2026-03-25T01:44:58.434-03:00 level=DEBUG source=runner.go:437 msg="bootstrap discovery took" duration=368.4025ms OLLAMA_LIBRARY_PATH="[C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama C:\\Users\\Lukinhas\\AppData\\Local\\Programs\\Ollama\\lib\\ollama\\rocm]" extra_envs=map[]
time=2026-03-25T01:44:58.434-03:00 level=INFO source=runner.go:106 msg="experimental Vulkan support disabled.  To enable, set OLLAMA_VULKAN=1"
time=2026-03-25T01:44:58.435-03:00 level=DEBUG source=runner.go:124 msg="evaluating which, if any, devices to filter out" initial_count=0
time=2026-03-25T01:44:58.435-03:00 level=DEBUG source=runner.go:40 msg="GPU bootstrap discovery took" duration=1.3133643s
time=2026-03-25T01:44:58.435-03:00 level=INFO source=types.go:60 msg="inference compute" id=cpu library=cpu compute="" name=cpu description=cpu libdirs=ollama driver="" pci_id="" type="" total="15.8 GiB" available="8.0 GiB"
time=2026-03-25T01:44:58.436-03:00 level=INFO source=routes.go:1848 msg="vram-based default context" total_vram="0 B" default_num_ctx=4096
[GIN] 2026/03/25 - 01:45:15 | 200 |            0s |       127.0.0.1 | HEAD     "/"
[GIN] 2026/03/25 - 01:45:15 | 404 |      1.3235ms |       127.0.0.1 | POST     "/api/show"
[GIN] 2026/03/25 - 01:45:15 | 200 |    513.8069ms |       127.0.0.1 | POST     "/api/pull"

OS

Windows

GPU

Intel

CPU

Intel

Ollama version

0.18.2

extent analysis

Fix Plan

To resolve the authentication issue with Ollama on Windows 11, follow these steps:

  1. Update Ollama Version: Ensure you are running the latest version of Ollama. The issue might be resolved in a newer version.
  2. Check SSH Key Configuration:
    • Verify that the SSH key is correctly generated and added to ~/.ollama/id_ed25519.pub.
    • Confirm that the public key is correctly added to your account on ollama.com/settings/keys.
  3. Environment Variables:
    • Check that OLLAMA_HOST is set to 127.0.0.1:11434.
    • Ensure OLLAMA_ID points to the correct SSH key location, e.g., C:\Users\Lukinhas\.ollama\id_ed25519.
  4. Browser Authentication:
    • Try manually opening http://127.0.0.1:11434 in your browser to see if the authentication page loads.
    • If the page does not load, there might be a configuration issue with your local server or firewall settings.
  5. Code Changes:
    • If you have access to the Ollama source code, check the authentication logic to ensure it correctly handles SSH key authentication.
    • Example authentication logic in Go might look like this:
      package main
      
      import (
          "crypto/ssh"
          "fmt"
          "log"
      )
      
      func authenticate(username string, sshKeyPath string) bool {
          // Load the SSH key
          key, err := ssh.ParsePrivateKeyFromFile(sshKeyPath)
          if err != nil {
              log.Println(err)
              return false
          }
      
          // Authenticate using the SSH key
          // This part depends on your specific authentication mechanism
          // For demonstration, assume we're checking if the key is valid
          if key == nil {
              return false
          }
          return true
      }
      
      func main() {
          username := "your_username"
          sshKeyPath := "C:\\Users\\Lukinhas\\.ollama\\id_ed25519"
          if authenticate(username, sshKeyPath) {
              fmt.Println("Authenticated successfully")
          } else {
              fmt.Println("Authentication failed")
          }
      }
  6. Temporary Workaround:
    • If the above steps do not resolve the issue, try temporarily disabling any firewall or antivirus software to see if it interferes with the authentication process.

Verification

  • After applying the fixes, try running ollama login and then attempt to pull or run a cloud model to verify if the authentication issue is resolved.
  • Check the server logs for any error messages related to authentication.

Extra Tips

  • Ensure your system clock is correctly set, as SSH authentication can fail if there's a significant clock skew.
  • If using a VPN, try

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING