[GH-ISSUE #14763] Ollama fails with TLS error #9544

Closed
opened 2026-04-12 22:28:01 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @dhowe on GitHub (Mar 10, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/14763

What is the issue?

$ ollama run minimax-m2:cloud 
Connecting to 'minimax-m2' on 'ollama.com' ⚡
>>> hello?
Error: 500 Internal Server Error: Post "https://ollama.com:443/api/chat?ts=1773149088": tls: failed to verify certificate: SecPolicyCreateSSL error: 0

Relevant log output

[GIN] 2026/03/10 - 13:26:45 | 200 |   39.998093ms |       127.0.0.1 | POST     "/api/me"
time=2026-03-10T13:26:46.050Z level=ERROR source=routes.go:1873 msg="Post \"https://ollama.com/api/me?ts=1773149206\": tls: failed to verify certificate: SecPolicyCreateSSL error: 0"
[GIN] 2026/03/10 - 13:26:46 | 200 |   34.226141ms |       127.0.0.1 | POST     "/api/me"
time=2026-03-10T13:26:47.098Z level=ERROR source=routes.go:1873 msg="Post \"https://ollama.com/api/me?ts=1773149207\": tls: failed to verify certificate: SecPolicyCreateSSL error: 0"
[GIN] 2026/03/10 - 13:26:47 | 200 |   42.904667ms |       127.0.0.1 | POST     "/api/me"
[GIN] 2026/03/10 - 13:26:48 | 200 |      665.12µs |       127.0.0.1 | GET      "/api/tags"
time=2026-03-10T13:26:48.637Z level=ERROR source=routes.go:1873 msg="Post \"https://ollama.com/api/me?ts=1773149208\": tls: failed to verify certificate: SecPolicyCreateSSL error: 0"
[GIN] 2026/03/10 - 13:26:48 | 200 |   34.049137ms |       127.0.0.1 | POST     "/api/me"

OS

macOS/Intel/Mini

Ollama version

0.17.7

Originally created by @dhowe on GitHub (Mar 10, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/14763 ### What is the issue? ```bash $ ollama run minimax-m2:cloud Connecting to 'minimax-m2' on 'ollama.com' ⚡ >>> hello? Error: 500 Internal Server Error: Post "https://ollama.com:443/api/chat?ts=1773149088": tls: failed to verify certificate: SecPolicyCreateSSL error: 0 ``` ### Relevant log output ```shell [GIN] 2026/03/10 - 13:26:45 | 200 | 39.998093ms | 127.0.0.1 | POST "/api/me" time=2026-03-10T13:26:46.050Z level=ERROR source=routes.go:1873 msg="Post \"https://ollama.com/api/me?ts=1773149206\": tls: failed to verify certificate: SecPolicyCreateSSL error: 0" [GIN] 2026/03/10 - 13:26:46 | 200 | 34.226141ms | 127.0.0.1 | POST "/api/me" time=2026-03-10T13:26:47.098Z level=ERROR source=routes.go:1873 msg="Post \"https://ollama.com/api/me?ts=1773149207\": tls: failed to verify certificate: SecPolicyCreateSSL error: 0" [GIN] 2026/03/10 - 13:26:47 | 200 | 42.904667ms | 127.0.0.1 | POST "/api/me" [GIN] 2026/03/10 - 13:26:48 | 200 | 665.12µs | 127.0.0.1 | GET "/api/tags" time=2026-03-10T13:26:48.637Z level=ERROR source=routes.go:1873 msg="Post \"https://ollama.com/api/me?ts=1773149208\": tls: failed to verify certificate: SecPolicyCreateSSL error: 0" [GIN] 2026/03/10 - 13:26:48 | 200 | 34.049137ms | 127.0.0.1 | POST "/api/me" ``` ### OS macOS/Intel/Mini ### Ollama version 0.17.7
GiteaMirror added the bug label 2026-04-12 22:28:01 -05:00
Author
Owner

@rick-github commented on GitHub (Mar 10, 2026):

Seems fine at the moment. Is it still a problem for you?

$ ollama run minimax-m2:cloud
Connecting to 'minimax-m2' on 'ollama.com' ⚡
>>> hello
Thinking...
I’m thinking about how to respond to the user's greeting. 
...
<!-- gh-comment-id:4031699771 --> @rick-github commented on GitHub (Mar 10, 2026): Seems fine at the moment. Is it still a problem for you? ```console $ ollama run minimax-m2:cloud Connecting to 'minimax-m2' on 'ollama.com' ⚡ >>> hello Thinking... I’m thinking about how to respond to the user's greeting. ... ```
Author
Owner

@dhowe commented on GitHub (Mar 10, 2026):

thanks for the quick response

I still see the same result from both the ui and shell - what could be different about my setup? are you also on v0.17.7?

Image
<!-- gh-comment-id:4031974641 --> @dhowe commented on GitHub (Mar 10, 2026): thanks for the quick response I still see the same result from both the ui and shell - what could be different about my setup? are you also on v0.17.7? <img width="596" height="209" alt="Image" src="https://github.com/user-attachments/assets/7e055cd8-c64d-4684-9449-78d712308c2a" />
Author
Owner

@rick-github commented on GitHub (Mar 10, 2026):

Also on 0.17.7. Is there a proxy or firewall between the computer and the public internet?

<!-- gh-comment-id:4031995952 --> @rick-github commented on GitHub (Mar 10, 2026): Also on 0.17.7. Is there a proxy or firewall between the computer and the public internet?
Author
Owner

@dhowe commented on GitHub (Mar 10, 2026):

only the local firewall on the machine - but requests to ollama.ai/com work fine with curl and other tools

<!-- gh-comment-id:4032020670 --> @dhowe commented on GitHub (Mar 10, 2026): only the local firewall on the machine - but requests to ollama.ai/com work fine with curl and other tools
Author
Owner

@dhowe commented on GitHub (Mar 10, 2026):

quite strange but a reboot fixed the issue, thanks for your help

<!-- gh-comment-id:4032086600 --> @dhowe commented on GitHub (Mar 10, 2026): quite strange but a reboot fixed the issue, thanks for your help
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#9544