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
OpenClaw appears to be running but produces no response when you send messages. Common symptoms include:
- TUI displays
(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 startandembedded run agent endat 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
The "(no output)" message appears when both finalText and streamedText are empty — meaning the model didn't produce any response. This typically happens due to:
-
Authentication failure: Invalid API key, expired OAuth token, or missing credentials. Error:
HTTP 401 authentication_error: Invalid bearer token (request_id: req_...) -
Gateway not running: The agent can't communicate without an active gateway service.
-
Model not configured: No default model set, or the configured model isn't accessible.
-
API key not loading: Environment variables not inherited by the daemon, especially common in WSL2 and VPS setups.
-
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.
-
Version mismatch: Running an outdated version with known bugs.
-
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 --followFix 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-daemonFix 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 restartFix 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 restartFix 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 getFix 8: Enable Delivery
In the TUI, make sure message delivery is enabled:
# In the TUI, run:/status/deliver onFix 9: Check Channel Health
Verify your messaging platform is properly connected:
# Check all channel statusesopenclaw channels statusDebugging 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 --fixPlatform-Specific Notes
VPS/Remote Servers
- Always use API keys, not OAuth tokens
- Ensure port 18789 is accessible
- Run
openclaw gateway install --install-daemonfor persistent service
WSL2 (Windows)
- Put API keys in
~/.openclaw/.env, not shell exports - Try both
localhostand127.0.0.1for Ollama connections - Restart WSL2 if networking issues persist:
wsl --shutdown
Docker
- Use
host.docker.internalinstead of127.0.0.1for 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:
- Output of
openclaw --version - Output of
openclaw models status - Relevant lines from
openclaw gateway logs - Your platform (macOS/Linux/Windows WSL2/Docker)
🚀 Skip the setup. OpenClaw Cloud is ready in 60 seconds.
No server. No SSH. No config files. Just connect your channel and go.
🔥 Your AI should run your business, not just answer questions.
We'll show you how.Free to join.
📋 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
How to Change AI Model in OpenClaw (Claude, GPT-4, Gemini)
Switch AI models in OpenClaw with /model or edit openclaw.json. Supports Claude Opus, Sonnet, GPT-4, Gemini, MiniMax, and 20+ models. Change per-session or set a default.
OpenClaw Group Chat Security: Why Your Bot Should Never Be in a Group
Here's the threat model almost nobody thinks about when setting up OpenClaw: if your bot is in a group chat, everyone in that group can give it commands.
OpenClaw vs Notion AI
Your assistant, everywhere - not just in one app
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.Free to join.
Join Vibe Combinator →