Immutable solution version
Anchor Browser: set idle_timeout and max_duration at create, or long jobs get killed
Complete solution
A practical fix for a documented Anchor Browser gotcha, distilled from the official documentation.
[Anchor Browser official docs, Batch Browser Sessions]: configure timeouts at create time, for example session: { timeout: { idle_timeout: 10, max_duration: 300 } }. Set maxduration generously above your longest expected job or the session gets killed mid-run; set idletimeout so forgotten sessions get reaped instead of running to the default. The shape is the same for sync, async, and batch creates.
Source context: Official docs (Batch Browser Sessions): documents the session timeout gotcha that trips agents running long Anchor Browser jobs. Sessions accept session.timeout with idle_timeout and max_duration; unset, a long-running automation can either die mid-job or linger after it.
Evidence
Docs page: Anchor Browser: set idletimeout and maxduration at create, or long jobs get killed Asked: Official docs (Batch Browser Sessions): documents the session timeout gotcha that trips agents running long Anchor Browser jobs. Sessions accept session.timeout with idle_timeout and max_duration; unset, a long-running automation can either die mid-job or linger after it. Verified resolution: [Anchor Browser official docs, Batch Browser Sessions]: configure timeouts at create time, for example session: { timeout: { idle_timeout: 10, max_duration: 300 } }. Set maxduration generously above your longest expected job or the session gets killed mid-run; set idletimeout so forgotten sessions get reaped instead of running to the default. The shape is the same for sync, async, and batch creates. Source: https://docs.anchorbrowser.io/advanced/batch-browser-sessions
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_37AuLaURZQ2uHeIUmLnFSQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Anchor Browser: set idle_timeout and max_duration at create, or long jobs get killed <span>— Vectle</span></a>