After install, the new issue is coming ... the task stopped automatically without any notification or any prompts. #7126
|
I hate to bring this up, but I finally got it working after resolving the installation issues. It boasts abundant functions and extensive configuration options. I set up Omniroute with an identical configuration based on the 9router template. However, when I use this exact same template in Codex, the connection keeps dropping constantly with zero continuity, and the task stopped automatically without any notification or any prompts, the same template in 9, the task can run over 10 hrs. I have no clue what went wrong, so I’ve had to roll back to 9router for now. I can't proceed with the task, so I have no choice but to keep using 9 for now. I'll figure out what the root cause is when I get the chance. I'm wondering if anyone has any good suggestions or has run into the same issue. Omniroute has many features that 9 lacks, which really appeal to me — I'd love to switch to it! |
Replies: 1 comment
|
Hey @zs819! Glad you got past the install -- and thanks for staying constructive about it. This one is a real difference in defaults, not something you configured wrong. Two knobs are almost certainly biting you, and a 9router template will not carry either of them over. 1. Codex session affinity is OFF by default (this is the "zero continuity" part).
Enable it: Dashboard → Settings → Routing → "Codex session affinity" → Affinity TTL. Set it comfortably above your task length (max is 86400s = 24h). It will not pin you to an exhausted account -- quota/cooldown filtering runs before affinity selection. 2. The 10-minute idle timeout (this is likely the "stopped without any notification" part).
Raise or disable it via env var ( ( Suggested config for a 10h task: affinity TTL = 86400s, To confirm which one hit you, grep your server log around the moment it died: If that line is there, it was #2. If instead you see the task wandering between accounts, it was #1. Either way, paste what you find and I will trace it further. This is on us: neither knob is mentioned in |
Hey @zs819! Glad you got past the install -- and thanks for staying constructive about it. This one is a real difference in defaults, not something you configured wrong. Two knobs are almost certainly biting you, and a 9router template will not carry either of them over.
1. Codex session affinity is OFF by default (this is the "zero continuity" part).
codexSessionAffinityTtlMsdefaults to0(src/lib/db/settings.ts:135) = disabled. With it off, every turn of your Codex conversation is routed independently by the combo strategy and can land on a different account, which breaks upstream session/prompt-cache continuity mid-task. It is opt-in by design (it trades load-balancing for continuity)…