{
  "id": 23694683,
  "title": "UI-TARS Desktop cancels every step at 30 seconds? It's a hard-coded timeout — how to prove it, and what the fix involves",
  "url": "https://urgent.news/2026/12/05/ui-tars-desktop-cancels-every-step-at-30-seconds-its-a-hard-coded",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-05T20:33:49.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/barrcreations3d/ui-tars-desktop-cancels-every-step-at-30-seconds-its-a-hard-coded-timeout-how-to-prove-it-and-2p0k"
  },
  "original_language": null,
  "account": "The UI-TARS Desktop application on a modest hardware setup, like a modded RX 580 with 16 GB of VRAM and a 2-core Celeron processor, cancels steps at roughly 30 seconds due to a hard-coded timeout. This defect nearly ended the desktop-agent part of the project on its first evening. The symptom is that steps appear to complete successfully initially but then get cancelled around 30 seconds, reporting a \"Connection error\" and causing the run to die or retry pointlessly. The llama-server log shows no issues, and the server is still working on the answer when the app stops listening. Many people initially investigate the connection, but the error is not related to connection issues. The root cause of the problem is that UI-TARS Desktop 0.2.4 hard-codes a 30-second timeout on model requests without providing a settings field or configuration file to change it. The solution is to raise both timeouts from 3e4 (30,000 milliseconds) to 6e5 (ten minutes) in the code located in `dist/main/main.js`.",
  "summary": "UI-TARS Desktop cancels every step at 30 seconds? It's a hard-coded timeout — how to prove it, and what the fix involves This is the second article in this series. The first one covered getting local AI running on a Polaris card via Vulkan at all. This one is about a single defect that nearly ended the desktop-agent part of that project on its first evening — and that will eat yours too if you…",
  "summary_source": "publisher",
  "key_points": [
    "UI-TARS Desktop cancels steps after 30 seconds due to hard-coded timeout",
    "30-second timeout is fixed by raising it to 10 minutes in main.js",
    "Issue not related to connection problems, fixed by code modification"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}