#i want to setup openclaw with ollama
1 messages Β· Page 1 of 1 (latest)
That usually means the gateway never came up on port 18789, not that the model picker itself failed.
First, can you paste this:
openclaw --version
openclaw status
openclaw gateway status
openclaw doctor
openclaw logs --follow
The common causes from the docs are:
- port 18789 is already in use (
EADDRINUSE) - gateway config is missing local mode (
gateway.mode=local) - the daemon crashed / service config does not match CLI config
Also, for Ollama, the recommended setup path is:
openclaw onboard
Then choose Ollama there, instead of relying on ollama launch openclaw.
Docs:
- https://docs.openclaw.ai/help/faq
- https://docs.openclaw.ai/help/troubleshooting
- https://docs.openclaw.ai/providers/ollama
- https://docs.openclaw.ai/gateway/troubleshooting#gateway-service-not-running
If you paste the output of those 4 commands, I can tell you exactly which one it is.
β OS β macos 15.3.1 (arm64) Β· node 22.22.2 β
β Dashboard β http://127.0.0.1:18789/ β
β Tailscale β off β
β Channel β stable (default) β
β Update β pnpm Β· up to date Β· npm latest 2026.4.21 β
β Gateway β local Β· ws://127.0.0.1:18789 (local loopback) Β· unreachable (connect ECONNREFUSED 127.0.0.1:18789) β
β Gateway service β LaunchAgent installed Β· loaded Β· stopped (state spawn scheduled) β
β Node service β LaunchAgent not installed β
β Agents β 1 Β· no bootstrap files Β· sessions 0 Β· default main active unknown β
β Memory β 0 files Β· 0 chunks Β· dirty Β· sources memory Β· plugin memory-core Β· vector ready Β· fts ready Β· cache β
β β on (0) β
β Plugin compatibility β none
β Probes β skipped (use --deep)
β Events β none
β Tasks β none β
β Heartbeat β 30m (main)
β Sessions β 0 active Β· default gpt-5.4 (200k ctx) Β· ~/.openclaw/agents/main/sessions/sessions.json
Nice, this narrows it down a lot.
Your Node version looks fine. The key part is:
Gateway ... unreachable (ECONNREFUSED 127.0.0.1:18789)Gateway service ... stopped (state spawn scheduled)
So the model picker is probably not the real problem. The macOS LaunchAgent is failing before the gateway binds to port 18789.
Please paste these next:
openclaw gateway status
openclaw gateway status --deep
openclaw doctor
tail -n 80 ~/.openclaw/logs/gateway.err.log
tail -n 80 ~/.openclaw/logs/gateway.log
openclaw gateway status is the most important one, because it should show things like:
Last gateway errorListeningConfig (cli)vsConfig (service)
If Config (cli) and Config (service) are different, the docs say to run:
openclaw gateway install --force
openclaw gateway restart