Model Not Responding — No Output or Empty Replies
Troubleshooting guide for when OpenClaw shows "(no output)" or produces empty responses. Covers authentication issues, gateway problems, model configuration, and platform-specific fixes for VPS, WSL2, and Docker.
⚠️ The Problem
(no output) after sending a message
- Status shows "connected | idle" but nothing happens
- Token counter stays at 0/200k (0%) indefinitely
- Gateway logs show embedded run agent start and embedded run agent end at the same moment with no errors
- Model responds via dashboard but not TUI
- Works with one provider (e.g., ChatGPT) but not another (e.g., Claude)🔍 Why This Happens
finalText and streamedText are empty — meaning the model didn't produce any response. This typically happens due to:
1. Authentication failure: Invalid API key, expired OAuth token, or missing credentials. Error: HTTP 401 authentication_error: Invalid bearer token (request_id: req_...)
2. Gateway not running: The agent can't communicate without an active gateway service.
3. Model not configured: No default model set, or the configured model isn't accessible.
4. API key not loading: Environment variables not inherited by the daemon, especially common in WSL2 and VPS setups.
5. OAuth token host-specific: Claude CLI OAuth tokens are tied to the machine where they were generated — they don't work on VPS/remote servers.
6. Version mismatch: Running an outdated version with known bugs.
7. Allowlist blocking: Sender not on the allowlist, so messages are ignored.✅ The Fix
## Quick Triage (First 60 Seconds)
Run these commands in order to identify the issue:
# Check overall statusopenclaw status# Check model configuration and authopenclaw models status# Watch live logs for errorsopenclaw gateway logs --follow## Fix 1: Gateway Not Running
If openclaw status shows the gateway is stopped:
# Check gateway statusopenclaw gateway status# Start or restart the gatewayopenclaw gateway restart# For VPS: ensure daemon is installedopenclaw gateway install --install-daemon## Fix 2: Authentication Issues (HTTP 401)
If you see HTTP 401 authentication_error: Invalid bearer token:
# Check which auth profile is activeopenclaw models status# Re-sync Claude CLI token (if using OAuth)claude setup-token# OR via OpenClaw:openclaw models auth setup-token --provider anthropicFor VPS/remote servers, use API key instead of OAuth (more reliable):
# Add to ~/.openclaw/.envecho 'ANTHROPIC_API_KEY=sk-ant-api03-...' >> ~/.openclaw/.env# Restart to applyopenclaw gateway restartImportant: OAuth tokens are host-specific. If you set up on your laptop, those tokens won't work on your VPS. Always use API keys for remote servers.
## Fix 3: Model Not Configured
If openclaw models status shows no credentials or no default model:
# Run the configuration wizardopenclaw onboard# Or manually check your configopenclaw models listMake sure your config has a valid default model:
{ "agents": { "defaults": { "model": { "primary": "anthropic/claude-sonnet-4-5" } } }}## Fix 4: API Key Not Loading (WSL2/VPS)
Environment variables from your shell aren't inherited by the daemon. Add them to the .env file:
# Create or edit the .env filenano ~/.openclaw/.env# Add your API keysANTHROPIC_API_KEY=sk-ant-api03-...OPENAI_API_KEY=sk-...# Restart gateway to load new envopenclaw gateway restart## Fix 5: Version Mismatch
Version mismatches are the #1 cause of weird issues. Always check your version:
# Check current versionopenclaw --version# Update to latestpnpm update -g openclaw# ORbrew update && brew upgrade openclaw# ORscoop update openclaw# Restart after updateopenclaw gateway restart## Fix 6: Run the Doctor
The built-in doctor command can auto-fix many issues:
openclaw doctor --fixThis checks and repairs: - Gateway connectivity - Model configuration - Auth credentials - Channel connections
## Fix 7: Check Allowlist Settings
If messages are being ignored, check the allowlist:
# Check allowlist statusopenclaw status | grep -i allow# View full configopenclaw config get## Fix 8: Enable Delivery
In the TUI, make sure message delivery is enabled:
# In the TUI, run:/status/deliver on## Fix 9: Check Channel Health
Verify your messaging platform is properly connected:
# Check all channel statusesopenclaw channels status## Debugging Workflow
If the above fixes don't work, follow this debugging workflow:
# 1. Get detailed statusopenclaw status --deep# 2. Check logs for specific errorsopenclaw gateway logs --follow# 3. Test model directlyopenclaw test# 4. Verify channel connectionopenclaw channels status# 5. Full diagnostic with auto-repairopenclaw doctor --fix## Platform-Specific Notes
### VPS/Remote Servers
- Always use API keys, not OAuth tokens
- Ensure port 18789 is accessible
- Run openclaw gateway install --install-daemon for persistent service
### WSL2 (Windows)
- Put API keys in ~/.openclaw/.env, not shell exports
- Try both localhost and 127.0.0.1 for Ollama connections
- Restart WSL2 if networking issues persist: wsl --shutdown
### Docker
- Use host.docker.internal instead of 127.0.0.1 for host services
- Set env vars in docker-compose.yml, not shell exports
## Still Stuck?
If none of these fixes work, share the following in the #help channel:
1. Output of openclaw --version
2. Output of openclaw models status
3. Relevant lines from openclaw gateway logs
4. Your platform (macOS/Linux/Windows WSL2/Docker)
🔥 Your AI should run your business, not just answer questions.
We'll show you how.$97/mo (going to $197 soon)
📋 Quick Commands
| Command | Description |
|---|---|
| openclaw status | Check overall system status including gateway and connections |
| openclaw models status | Verify model configuration and authentication status |
| openclaw gateway logs --follow | Stream live gateway logs to see errors |
| openclaw gateway restart | Restart the gateway service |
| openclaw doctor --fix | Run diagnostics and auto-repair common issues |
| openclaw onboard | Re-run the configuration wizard |
| openclaw --version | Check current installed version |
| openclaw test | Send a test message to verify model responds |
| openclaw channels status | Check messaging platform connections |
| openclaw status --deep | Detailed status including model probe results |
Related Issues
📚 You Might Also Like
OpenClaw vs Notion AI
Your assistant, everywhere - not just in one app
OpenClaw Review: What Real Users Say About Their AI Assistant
Honest reviews from entrepreneurs, developers, and remote workers who've used OpenClaw for months. The good, the learning curve, and why they're not going back to ChatGPT.
How to Connect Gmail to Your AI Assistant (Complete Integration Guide)
Turn Gmail into an AI-powered inbox. Summarize threads, draft replies, auto-categorize messages, and search your email with natural language.
AI Assistant for Students
Study smarter, not harder
🐙 Your AI should run your business.
Weekly live builds + template vault. We'll show you how to make AI actually work.$97/mo (going to $197 soon)
Join Vibe Combinator →