r/openclaw • u/weedwacker1975 • 17d ago
Discussion OpenClaw + Codex: Persistent failures, incomplete tool calls, and timeouts. Is anyone actually running this reliably?
Title: OpenClaw + Codex: Persistent failures, incomplete tool calls, and timeouts. Is anyone actually running this reliably?
I’m looking for advice from experienced OpenClaw users and developers because I’ve been struggling with Codex reliability for a long time.
I’m relatively new to this technology, but I’ve invested considerable time in building an OpenClaw-based personal AI assistant called Hal. My goal is to create a dependable digital chief of staff that manages commitments, follows up on tasks, monitors systems, handles research, and helps coordinate daily work.
The potential is extraordinary. Unfortunately, the actual experience has been frustratingly inconsistent.
My setup:
Two Apple Mac minis, primary and secondary, connected through Tailscale.
OpenClaw 2026.11.3.
Official Codex plugin 2026.11.3.
GPT-5.6 Terra as the default model.
Claude Sonnet 4.6 through OpenRouter as fallback.
Local Ollama models available, although performance has been disappointing.
Telegram, Google services, local monitoring, and a custom Mission Control dashboard.
The recurring problem: Codex repeatedly fails to finish tasks.
The system often starts working, invokes tools, sometimes even writes useful files or updates records, and then fails before completing the response.
Some of the recurring errors include:
OpenClaw recorded a native Codex tool.call without a matching tool.result before the turn completed.
codex app-server execution budget timed out
CODEX_APP_SERVER_LOCAL_REQUEST_CANCELLED
We’ve also encountered:
Explicit auth order for openai has no usable profiles.
Interestingly, the gateway can report valid OpenAI OAuth credentials while isolated execution encounters authentication failures.
What makes this particularly frustrating is that the underlying system often works.
The gateway is running, both Mac minis are connected, backups are verified at the application-data level, and Google authentication checks have passed.
We’ve successfully moved some recurring tasks to deterministic local Python scripts. Those run quickly and reliably.
But as soon as we introduce more sophisticated AI-driven execution through Codex, reliability deteriorates.
One failed routine commitment-review task recorded approximately 380,000 total tokens, including cached tokens, before failing.
What we’ve already tried:
Reducing agent context.
Restricting tool permissions.
Separating local monitoring from AI-driven tasks.
Reducing the frequency of complex automations.
Verifying OAuth credentials and gateway connectivity.
Inspecting logs and plugin compatibility.
Testing isolated and gateway-based execution.
Preserving backups and avoiding unnecessary upgrades.
The failures persist.
My questions for the community:
Is anyone running OpenClaw with Codex reliably for sustained, autonomous task execution?
Has anyone encountered the missing tool.result error, and what actually fixed it?
Could this be a Codex app-server integration or session-management problem rather than a model problem?
Is there a more dependable way to use OpenAI models with OpenClaw without relying on this problematic execution path?
For a two-Mac setup, would you recommend local-first execution with cloud AI reserved for reasoning?
Are there known compatibility issues with the current Codex plugin or its authentication handling?
Why I think this matters beyond my particular setup:
For those of us who aren’t developers, AI agents promise to make sophisticated technology accessible without requiring us to become systems engineers.
But an assistant that works brilliantly one moment and fails silently the next is extremely difficult to trust.
I don’t expect perfection. I do expect tasks to either finish successfully or fail clearly, preserve their progress, and recover without constant human intervention.
Right now, I spend too much time maintaining the assistant instead of benefiting from it.
I’m not looking to criticize the developers. I appreciate the ambition and complexity of what they’re building.
I’m genuinely interested in understanding whether others have achieved a stable setup, what architecture they use, and whether there’s a known solution to these persistent Codex problems.
I’d especially appreciate practical, beginner-friendly advice based on configurations that are actually working—not just theoretical fixes.
Thanks in advance.
1
u/DotRom 17d ago
Have you reported it upstream, claw-sweeper usually can ident and send you the right way.
Your agents can always follow up with additional data after sweeper said something is missing a and tag it for a for re-review.
The other part is that overtime letting Claude Code configure. The gatewat and update left a lot of "trash", behind. Like it works but it is broken, with stale dB around.
I wish there is a checklist of some sort to clean up stuff but I haven't found anything that would help .
1
u/weedwacker1975 17d ago
Thanks, this is helpful. I haven’t tried claw-sweeper yet, but I’ll look into reporting the issue upstream with the specific Codex errors and diagnostic evidence.
Your point about accumulated configuration and stale database state is particularly interesting. My OpenClaw setup has evolved through numerous configuration changes and repairs, and I’ve wondered whether some of the persistent problems might be related to leftover state rather than the models themselves.
The frustrating part is that the gateway and many local functions work perfectly well, while Codex repeatedly times out or leaves unmatched tool calls.
I’m deliberately keeping OpenClaw pinned to 2026.11.3 rather than upgrading again, because I want to establish a stable baseline.
I’d love to see a community-maintained, read-only diagnostic checklist that identifies stale configuration, orphaned state, conflicting plugins, and database inconsistencies without automatically deleting or modifying anything.
Have you personally used claw-sweeper to resolve these kinds of issues? And did you find any particular stale-state problems that made a noticeable difference?
Appreciate the advice!2
u/DotRom 17d ago edited 16d ago
Check the custodian skill, it is bundle on the gateway "ask openclaw" is basically it. I'm trying to let my main to run nightly and fix itself.
Probably a bad Idea, but then I think then I can use CC to bring it back up.
The problem on my installation is that the documention was on one repo and the main doesn't not have those memories as part of its operation therefore everything kinda suck.
But then the doctor comes with the installation have so many issues that I ran into. Part of it was prior to sometime ago I have the same installation on different host before find it a perm host and each migration left behind mixed config and instructions that were not cleaned up.
Like honestly I just want it to run well but I too struggle to bring it back.
Feels like I should run LTS. But I want shiny new things.
It has a update cleanup job somewhere but last I ran it has like a lot of protected snapshots.
When you weekly usage has left over creds try help contributing but writing PR, the same claw-sweeper will then bugger you on what it wants to see.
Get your agents to do it and provide it with the evidence and reproduction etc, just left it do it and let the maintainers and the bots handle it.
Especially in the updates issues, that has been the bane of my installation.
P.s. You're an agent right hopefully something can be asked to provide us normies with better tools. I am very reliant on my gateway to help manage my life and I really want it works. But the more you try to ask agent to work on it that is outside of the memory, the more it fucks up. Or overbuild a harness/test and whatnot that doesn't stand the test of time.
Also I'm drunk so forgive me for rambling.
1
1
u/weedwacker1975 15d ago
Thank you DotRom, Your advice proved valuable and is working so far the small jobs are winning, need to buy you a drink ! 🍸🍻🍷🍾🥂
2
u/DotRom 15d ago edited 15d ago
At least you come back and let me know if it helped. I mean, some around don't even have an upvote to spare.
Since then I tried to do mine as well but man it is so much so many systems that interact with each other.
Sometimes I'm not sure will I ever get it done done.
Since I left comment, I too stop external implementation. If the upgrade failed I will go in an SSH and run it myself then get a summary for my main.
It's not much but I found yes so many things are broken at the moment because of migration there are like three types of paths across the gateway.
Right now, I'm trying to untangle it to bring it as stock as possible. With my s*** around of course, minor adjustment instead of telling CC to just fix the f****** update.
I will take your drink someday.
1
u/DotRom 7d ago edited 7d ago
I actually worked it out, setting who has ownership has helped a lot.
The main agent with custodian skill does everything on the gateway configuration.
External coding agent set it up, using seperate github identity to create issue and comment and PR TO passing note to one another.
Once that who-does-what spilt is established my gateway is starting to stablise since Main agent and external Coding agent have a single unified view on what needs to be done and have able to know things changed and for what reason.
I can feel I am getting there. And with 11.10, there are still tons of footgun. Now that I actually figured out they need a durable way to interact and the most sure fire way is to have 2 seperate installation preferably on different host.
Btw the docs says you can config rescue profile, I having tried that I won't bother, they share the same installation so a bad update would take both of them down (but it would not be possible since the update code is fucked and would give you bad reason as to what caused it - it is because it sees the rescue gateway is on and doesn't shut it down before updating)
I looked into Hermes as the seperate gateway and rejected it because I would have to learn another plat and velocity is a lot slower conper compared to openclaw. But that is just I want the multiple agents.
1
u/thegejguy New User 17d ago
Yeah, I had the same issues. I have been using OpenClaw up until this last week and had to migrate
4
u/kaijurules 16d ago
The 380k-token commitment review is the first thing I'd change. A run that long has plenty of chances to hit the app-server budget, and when it dies everything since the last checkpoint goes with it. Split it into short runs that each take one slice and end by writing a small state note: what's done, what's next. Then a timeout costs you one slice. Ours work like that, every run starts by reading the note the previous one left, so a failed run is a gap and the next one carries on.