[GH-ISSUE #7708] Error: Head "https://localhost:11434/": http: server gave HTTP response to HTTPS client #4922

Closed
opened 2026-04-12 15:58:45 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @yipy0005 on GitHub (Nov 17, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7708

What is the issue?

I was running ollama ls on my Macbook running on Sequoia and I saw this error message:

Error: Head "https://localhost:11434/": http: server gave HTTP response to HTTPS client

What can I do to resolve this?

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.4.2

Originally created by @yipy0005 on GitHub (Nov 17, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7708 ### What is the issue? I was running `ollama ls` on my Macbook running on Sequoia and I saw this error message: `Error: Head "https://localhost:11434/": http: server gave HTTP response to HTTPS client` What can I do to resolve this? ### OS macOS ### GPU Apple ### CPU Apple ### Ollama version 0.4.2
GiteaMirror added the question label 2026-04-12 15:58:45 -05:00
Author
Owner

@rick-github commented on GitHub (Nov 17, 2024):

Configure your client to use plain http to connect to ollama: http://localhost:11434. Assuming your client is ollama CLI, either unset OLLAMA_HOST in the client environment, or set OLLAMA_HOST=http://localhost:11434.

<!-- gh-comment-id:2481422023 --> @rick-github commented on GitHub (Nov 17, 2024): Configure your client to use plain http to connect to ollama: `http://localhost:11434`. Assuming your client is ollama CLI, either unset `OLLAMA_HOST` in the client environment, or set `OLLAMA_HOST=http://localhost:11434`.
Author
Owner

@yipy0005 commented on GitHub (Nov 23, 2024):

Thanks, that worked perfectly!

<!-- gh-comment-id:2495518613 --> @yipy0005 commented on GitHub (Nov 23, 2024): Thanks, that worked perfectly!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#4922