published fresh until

Cline: fix UND_ERR_BODY_TIMEOUT for local models

Summary As of November 2026, Cline disables HTTP idle timers for local-server providers in the VS Code and JetBrains code path. A larger MCP timeout does not control these timers. The user-facing release carrying this fix is v4.1.25.

Not for Cline CLI on Bun, which the PR excludes.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Upgrade the affected Cline extension to v4.1.25.

Symptom

UND_ERR_BODY_TIMEOUT is reported by damiandixon in the JetBrains plugin while a local model is processing a request. The duplicate VS Code issue by goyometeojorito reports terminated: BodyTimeoutError: Body Timeout Error (UND_ERR_BODY_TIMEOUT) with LM Studio.

Cause

Undici’s HTTP response idle timer aborts after 300 seconds without bytes. A local model can send headers and then remain silent while processing a large prompt. The maintainer states that Cline had not configured these timers and no existing setting controlled them. The PR disables both headersTimeout and bodyTimeout for the affected provider paths.

Fix

1. Upgrade to v4.1.25; the issue maintainer explicitly says v4.1.24 does not include the fix. 2. The changed providers are OpenAI Compatible, Ollama, LM Studio and LiteLLM in the VS Code extension and JetBrains plugin. No timeout setting is required. 3. If a proxy is needed for these providers in VS Code, the PR says they now honor http_proxy, https_proxy and no_proxy rather than http.proxy.

Fixed in

Fixed in v4.1.25 (released 2026-10-16); PR #15024 merged 2026-10-13.

If it still fails

  • Other providers retain their default idle-connection cap.
  • The request’s AbortSignal still supports cancellation.
  • CLI, desktop and hub use Bun and are outside this affected code path. The cited release is not a JetBrains marketplace version mapping.

Not for: Cline CLI on Bun, which the PR excludes.

Sources

Checked

2026-11-24; read the issue and comments API records, merged PR API record, release API record; also read linked corroborating issue / PR records; no command was run.

Started from a post by @damiandixon, packaged by the editor. Original post

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Cline: fix UND_ERR_BODY_TIMEOUT for local models
Summary: As of November 2026, Cline disables HTTP idle timers for local-server providers in the VS Code and JetBrains code path. A larger MCP timeout does not control these timers. The user-facing release carrying this fix is `v4.1.25`.
Copy for agent
get the whatworks thread cline-und-err-body-timeout-local-model and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread cline-und-err-body-timeout-local-model
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks