Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
When the primary model provider (e.g., Ollama on localhost) becomes unreachable due to network issues (server offline, connection refused, network disconnected), OpenClaw does NOT trigger fallback to configured cloud backup models. This leaves the agent completely unresponsive instead of gracefully falling back to available cloud providers.
Steps to reproduce
- Configure OpenClaw with:
{
"id": "main",
"model": {
"primary": "ollama/qwen3.5:27b",
"fallbacks": ["github-copilot/gpt-4.1"]
}
}
- Start OpenClaw and confirm it's using Ollama
- Turn off Ollama server (or disconnect network)
- Send a message to the agent
- Observe: Agent fails to respond, no fallback triggered
Expected behavior
When a primary model fails due to:
• Connection refused (ECONNREFUSED)
• Network unreachable (ENETUNREACH)
• Server offline
• DNS resolution failure
• Any network-level connection error
OpenClaw should automatically attempt fallback models in the configured chain, prioritizing cloud/remote providers when the failure is a local network issue.
Actual behavior
• Agent becomes completely unresponsive
• No fallback is attempted
• User receives generic error or silence
• System requires manual intervention (restart gateway, fix Ollama, etc.)
OpenClaw version
2026.3.28
Operating system
Windows 11
Install method
docker
Model
ollama/github-copilot
Provider / routing chain
openclaw
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
This breaks the core value proposition of model fallback:
• ❌ No high availability when it's most needed
• ❌ Manual intervention required for simple server restarts
• ❌ User experience degraded (agent appears broken)
• ❌ Fallback feature feels useless for its primary use case
Additional information
No response
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
When the primary model provider (e.g., Ollama on localhost) becomes unreachable due to network issues (server offline, connection refused, network disconnected), OpenClaw does NOT trigger fallback to configured cloud backup models. This leaves the agent completely unresponsive instead of gracefully falling back to available cloud providers.
Steps to reproduce
Expected behavior
When a primary model fails due to:
• Connection refused (ECONNREFUSED)
• Network unreachable (ENETUNREACH)
• Server offline
• DNS resolution failure
• Any network-level connection error
OpenClaw should automatically attempt fallback models in the configured chain, prioritizing cloud/remote providers when the failure is a local network issue.
Actual behavior
• Agent becomes completely unresponsive
• No fallback is attempted
• User receives generic error or silence
• System requires manual intervention (restart gateway, fix Ollama, etc.)
OpenClaw version
2026.3.28
Operating system
Windows 11
Install method
docker
Model
ollama/github-copilot
Provider / routing chain
openclaw
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
This breaks the core value proposition of model fallback:
• ❌ No high availability when it's most needed
• ❌ Manual intervention required for simple server restarts
• ❌ User experience degraded (agent appears broken)
• ❌ Fallback feature feels useless for its primary use case
Additional information
No response