[Desktop] macOS 0.0.29+: Ollama model list works, chat run fails with FailedToOpenSocket
Author: itsjohnyeCreated Sep 17, 2026Updated Sep 17, 2026
Cline Surface
Desktop App
Cline Version
v0.0.29+
Summary
On Cline Desktop for macOS, local Ollama works in the model picker but every chat/run fails starting with Desktop v0.0.29. The same machine, same Ollama process, and same models worked on Desktop v0.0.28 and earlier.
The UI can refresh and list local Ollama models (GET /api/tags succeeds). Sending a message fails with a socket error from the desktop backend/sidecar. curl to the same Ollama server succeeds.
Error
The run failed: Cannot connect to API: Was there a typo in the url or port?: Was there a typo in the url or port? (FailedToOpenSocket)
Steps to reproduce
- Install / upgrade Cline Desktop on macOS to v0.0.29 or later.
- Start local Ollama (
ollama serveor the Ollama menubar app). Confirmcurl http://127.0.0.1:11434/api/tagsworks. - Open Cline Desktop → Settings → API Providers → Ollama.
- Set Base URL to
http://localhost:11434(orhttp://127.0.0.1:11434). - Refresh models. Local models appear.
- Open a new task and send
reply ok. - Observe:
The run failed: Cannot connect to API: ... (FailedToOpenSocket). - Optional control: quit Desktop 0.0.29+, run 0.0.28 on the same machine and same Ollama config. Chat works again.
Source: cline/cline