OpenClaw TUI hangs for minutes when using openai-codex/gpt-5.4. Gateway logs show "DNS lookup for the provider endpoint failed" but the raw error is HTML from chatgpt.com/backend-api
with Cloudflare challenge/cf-mitigated. Has anyone fixed this on a server/VPS IP?
OpenClaw TUI hangs on simple prompts when configured for openai-codex/gpt-5.4.
What I found:
- OpenClaw config definitely points to
openai-codex/gpt-5.4 - Cached provider metadata maps that to
https://chatgpt.com/backend-api/v1 - Gateway logs repeatedly say:
model=gpt-5.4 provider=openai-codexLLM request failed: DNS lookup for the provider endpoint failed- raw error body is HTML
- In the TUI I see that raw HTML dumped into the terminal
curl -I https://chatgpt.com/backend-api/v1from the same box returnsHTTP 403withcf-mitigated: challengecurl -I https://api.openai.com/v1/modelsbehaves normally
So this looks less like a true DNS failure and more like Cloudflare challenging the ChatGPT backend route from this server IP.