#14217·Cline

[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

  1. Install / upgrade Cline Desktop on macOS to v0.0.29 or later.
  2. Start local Ollama (ollama serve or the Ollama menubar app). Confirm curl http://127.0.0.1:11434/api/tags works.
  3. Open Cline Desktop → Settings → API Providers → Ollama.
  4. Set Base URL to http://localhost:11434 (or http://127.0.0.1:11434).
  5. Refresh models. Local models appear.
  6. Open a new task and send reply ok.
  7. Observe: The run failed: Cannot connect to API: ... (FailedToOpenSocket).
  8. Optional control: quit Desktop 0.0.29+, run 0.0.28 on the same machine and same Ollama config. Chat works again.