Issue: OpenClaw 2026.4.14 with openai-codex/gpt-5.4 stalls indefinitely in TUI (“noodling”). No responses returned.
Errors alternate between:
• “DNS lookup for provider endpoint failed”
• “API rate limit reached”
Logs consistently show:
rawError=”…” (Cloudflare page)
Key finding:
This is not DNS. The provider returns a Cloudflare HTML challenge/block page instead of JSON. OpenClaw misclassifies this as DNS or rate limit.
Environment:
• macOS
• OpenClaw 2026.4.14
• Codex CLI auth (codex login –device-auth)
• ~24 cron jobs + channels + memory-core initially enabled
Steps taken:
1. Fixed auth + model:
• codex login –device-auth
• openclaw models auth login –provider openai-codex
• set agents.defaults.model.primary=openai-codex/gpt-5.4
2. Disabled all background traffic:
• cron.enabled=false
• discord/telegram disabled
• memory-core disabled
Result:
• Background request storm eliminated
• Still stalls with single request
• Still receives HTML Cloudflare responses
Behavior:
Startup → requests hit Cloudflare → HTML returned → misclassified → retries escalate → eventual stuck session
Even after cooldown and no background traffic, single requests hang or return HTML.
Conclusion:
Cloudflare challenge responses are not handled correctly in 4.14 for openai-codex. Causes misclassification (DNS/rate limit) and eventual stuck provider session.
Next step:
Testing rollback to 4.12 to confirm regression.
4.12 is doing the same thing