Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

232 pages for timeout.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Error reference Claude Code CLI · in the page errors …| [Server errors](#no-response-from-api) | | `API Error: Stream idle timeout - no chunks received` | [Streaming idle watchdogs](/docs/en/network-config#streaming-idle-watchdogs), or [Long thinking en… Claude Code GitHub Actions Claude Code CLI · in the page github-actions …-max-turns` in `claude_args` to limit iterations * Set workflow-level timeouts to avoid runaway jobs * Use GitHub's concurrency controls to limit parallel runs For usage tracking across your organiza… Claude Code GitLab CI/CD Claude Code CLI · in the page gitlab-ci-cd …o reduce unnecessary turns * Set appropriate `--max-turns` and job `timeout` values * Limit concurrency to control parallel runs ## Troubleshooting ### Claude not responding to @claude commands… Run Claude Code programmatically Claude Code CLI · in the page headless …folder. * **Background tasks**: none run. A command that reaches its [timeout](/docs/en/tools-reference#timeout-and-output-limits) stops instead of [moving to the background](/docs/en/tools-reference#… Hooks reference Claude Code CLI · in the page hooks …once and the rest start as running ones finish. Each waiting hook's [`timeout`](#common-fields) starts counting when that hook starts. If you define the same handler in more than one settings file, i… Automate actions with hooks Claude Code CLI · in the page hooks-guide …oks use the `"ok"` / `"reason"` response format with a longer default timeout of 60 seconds and up to 50 tool-use turns. They don't support the prompt-hook `impossible` field. On `ok: false`, Claude C… Interactive mode Claude Code CLI · in the page interactive-mode …`Ctrl+B` twice due to tmux's prefix key. When a command reaches its timeout before it finishes, Claude Code automatically [moves it to the background](/docs/en/tools-reference#foreground-commands-th… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …hed, and it logs again only when the gateway's list changes. A `404`, timeout, or redirect appears there too. For when discovery runs, what it filters, and the response format gateways serve, see the… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …g response once no bytes reach it for longer than its [streaming idle timeout](/docs/en/network-config#streaming-idle-watchdogs). During a long thinking pause, the upstream's SSE `ping` events can be… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …ype: "ws"` entry accepts the same `url`, `headers`, `headersHelper`, `timeout`, and `alwaysLoad` fields as `http`. Authentication is header-only, so pass a static token in `headers` or generate one at… Connect to MCP servers Claude Code CLI · in the page mcp-quickstart …wrap theme={null} Use the claude-code-docs server to look up what MCP_TIMEOUT does ``` > [!NOTE] > > You don't normally need to name a server in your prompt, since Claude chooses relevant tools on it… Monitoring Claude Code CLI · in the page monitoring-usage …lass` | Short error class token when the request failed, such as `api_timeout` or `server_overload`. Requires Claude Code v2.1.268 or later | | | `response.has_tool_call` | `true` when the response co… Enterprise network configuration Claude Code CLI · in the page network-config …pt ends at that deadline. To change it, set `CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MS`. For the retry's wait, see [No response from API](/docs/en/errors#no-response-from-api). * **On the other connections*… Choose a permission mode Claude Code CLI · in the page permission-modes …iables such as `LANG=C` or `NO_COLOR=1`, or process wrappers such as `timeout`, `nice`, or `nohup`. Like file edits, auto-approval applies only to paths inside your working directory or `additionalDir… Configure permissions Claude Code CLI · in the page permissions …ixed set of wrappers, so a rule like `Bash(npm test *)` also matches `timeout 30 npm test`. The stripped wrappers are `timeout`, `time`, `nice`, `nohup`, and `stdbuf`, plus the shell builtins `command… Test plugins with evals Claude Code CLI · in the page plugin-evals …full list of frontmatter fields](#prompt-md-fields) covers the model, timeout, tags, and environment variables. Each file under `graders/` is one check applied after the run. Open `evals/first-case/g… Add components to a plugin Claude Code CLI · in the page plugins/components …ne in `.lsp.json`, the manifest server replaces it. For `transport`, timeouts, restarts, and the other fields, see [`lspServers`](/docs/en/plugins/manifest-reference#lspservers). Send log output to… Plugin loading reference Claude Code CLI · in the page plugins/loading …n `patchedDependencies` gets no install from `bun.lock` * **60-second timeout**: Claude Code stops an install that runs longer and treats it as failed Claude Code fetches an npm-source plugin before… Plugin manifest reference Claude Code CLI · in the page plugins/manifest-reference …kspaceFolder` | No | Workspace folder path for the server | | `startupTimeout` | No | Milliseconds to wait for startup, a positive integer | | `shutdownTimeout` | No | Milliseconds to wait for a grace… Marketplace reference Claude Code CLI · in the page plugins/marketplace-reference …S. Requires Claude Code v2.1.224 or later | | `command` | `command`, `timeout`, `mode` | Directory printed by a command Claude Code runs on the user's machine. Requires Claude Code v2.1.229 or later |… Use the mods API Claude Code CLI · in the page plugins/mods/api …tokens, and the call gives up after 15 seconds maxTokens: 20, timeoutMs: 15000, }) // r.text exists only when the model answered, so check r.isAnswered first const label = r.isAnswered ?… React to events with a mod Claude Code CLI · in the page plugins/mods/events …/ next.error.kind says why the handler was asked, such as 'throw' or 'timeout' return { deny: 'The command guard failed, so this command was not run: ' + next.error.kind } }) ``` When `guard` throw… Mods reference Claude Code CLI · in the page plugins/mods/reference …| | `next.error` | In a `.catch` handler only. `kind` is `throw` or `timeout` when the hook failed, and `message` is the error's text. `kind` is `re-entry` when the hook was skipped because the event… Test a mod Claude Code CLI · in the page plugins/mods/test …'' } })`. `e.argv` is the argument list and `e.init` holds `cwd` and `timeoutMs`. | | Any mods API call that should fail | `() => ({ deny: 'the reason' })`, which makes the call reject in your mod. A… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …For example, the question ends that way when you set [`askUserQuestionTimeout`](/docs/en/settings-reference#askuserquestiontimeout) and the time passes before you answer. That setting applies here bec… Troubleshoot plugins Claude Code CLI · in the page plugins/troubleshooting …ed out after 120s`, followed by a hint to set `CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MS`. Cloning a marketplace, and re-cloning one to update it, gets 120 seconds by default. For a large repository or a slo… Prompt library Claude Code CLI · in the page prompt-library …slots: { tracker: 'our issue tracker', topic: 'the login timeout' }, needs: 'tracker', src: 'workflows' }, { id: 'draft-release-notes-from', sdlc: 'ship', cat: '… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …reads the child's activity signals from it to drive idle and startup timeouts. A plain `exec "$CLAUDE_RUNNER_CLAUDE_BIN" "$@"` preserves both automatically. If your wrapper backgrounds the child wit… Deploy self-hosted environments to production Claude Code CLI · in the page self-hosted-environments-deploy …er needs up to 80s` at default settings. Set your orchestrator's stop timeout to at least that many seconds: `terminationGracePeriodSeconds` on Kubernetes, `stop_grace_period` on Docker Compose, or yo… Self-hosted environments reference Claude Code CLI · in the page self-hosted-environments-reference …HUTDOWN_MS=600000`, and a Helm value like `SELF_HOSTED_RUNNER_STARTUP_TIMEOUT_MS: "15"` means 15 milliseconds, not the 15-minute default. | Flag | Env var | Default | Description | | :- | :- | :- | :… Test self-hosted environments end to end Claude Code CLI · in the page self-hosted-environments-testing …"hooks": [ { "type": "command", "timeout": 10, "command": "\"$CLAUDE_CONFIG_DIR/hooks/e2e-stop-hook-capture.sh\"" } ] } ]… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …Terminal UI and accessibility options * Numeric limits, budgets, and timeouts Other delivered variables can require the user's approval before they take effect. For example, in interactive sessions… Claude Code settings Claude Code CLI · in the page settings …| | `askUserQuestionTimeout` | **Default**: `"never"`. Idle time before an unanswered [`AskUserQuestion`](/docs/en/tools-reference) dialog a… All settings Claude Code CLI · in the page settings-reference …ommand | Authentication and providers | Any file | | [`askUserQuestionTimeout`](#askuserquestiontimeout) | Let an unanswered question [auto-continue](/docs/en/tools-reference#question-auto-continue-ti… Extend Claude with skills Claude Code CLI · in the page skills …t runs Claude's own shell commands. They share the working directory, timeout, and output handling: * **Working directory**: Claude Code runs each command in the session shell's current working direc… Tools reference Claude Code CLI · in the page tools-reference …uding a request to wait or explain first. ### Question auto-continue timeout Questions stay open until you answer them. If you want a question you leave unanswered to eventually close and let Claude… Troubleshoot installation and login Claude Code CLI · in the page troubleshoot-install …etry If you see no output, `Could not resolve host`, or a connection timeout, your network is blocking the connection. Common causes: * Corporate firewalls or proxies blocking `downloads.claude.ai`… Find bugs with ultrareview Claude Code CLI · in the page ultrareview …so stdout stays parseable. Use these flags to control its output, the timeout, and whether to post the findings: | Flag | Description | | - | - | | `--json` | Print the raw `bugs.json` payload instea… Week 18 · April 27 – May 1, 2026 Claude Code CLI · in the page whats-new/2026-w18 …irect to a local port doesn't work. The same release also fixes login timeouts on slow or proxied connections and in IPv6-only devcontainers. Sign in, then paste the code from the browser: ```bash t… Week 27 · June 29 – July 3, 2026 Claude Code CLI · in the page whats-new/2026-w27 …uestion` dialogs no longer auto-continue by default; opt into an idle timeout via `/config`The "default" permission mode is now named "Manual" across the CLI, `--help`, VS Code, and JetBrains; `--perm… Orchestrate subagents at scale with dynamic workflows Claude Code CLI · in the page workflows …ming-idle-watchdogs) ended the response first and `CLAUDE_STREAM_IDLE_TIMEOUT_MS` sets that watchdog's timeout * `agent abandoned after 6 attempts`: the attempts ended in different ways, which the err… Compute providers Claude Documentation · in the page claude-science/compute-providers …ners that Claude Science on this machine can run. **Default container timeout** is 12 hours (maximum 23), enforced by Modal. Track spend on Modal's dashboard. On the Modal page under Settings > Compu… Remote compute clusters Claude Documentation · in the page claude-science/remote-compute-clusters …ess to everything your account can read and write there. Default job timeout is 30 minutes; tell Claude before submitting longer work. When a job finishes, outputs are pulled back into the session. F… Build an MCP server for Claude Claude Documentation · in the page connectors/building/index …r in Claude: where it runs, authentication, what it exposes, size and timeout limits, and distribution. An MCP server gives Claude access to your product or data, and people who use Claude see it as… Manage your directory listing Claude Documentation · in the page connectors/building/managing-your-listing …her failed at the request level, for example with a 5xx response or a timeout, or returned an MCP tool result with `isError: true`. Tool-call requests that were turned away for authentication problems… Supersede older widget instances Claude Documentation · in the page connectors/building/mcp-apps/instance-supersession …ith one that resolves a promise, and race the promise against a short timeout after `connect()`: ```ts theme={null} let resolveServerKey!: (k: { orderKey: number; seq?: number }) => void; const serve… Build your first MCP server for Claude Claude Documentation · in the page connectors/building/quickstart …'s client supports, including authentication, result size limits, and timeouts * [Test your connector](/docs/connectors/building/testing): add your hosted server to Claude as a custom connector and de… Test your connector Claude Documentation · in the page connectors/building/testing …nd the MCP Inspector to diagnose connection failures. An `initialize` timeout commonly has one of these causes: * **Slow OAuth endpoints**: keep discovery, registration, and token responses under ten… Troubleshoot your connector Claude Documentation · in the page connectors/building/troubleshooting …om/your-mcp-path` returns a response. A `401` or `405` is fine, and a timeout or connection refused is not. **3. No redirect** Run `curl -sI https://your-server.example.com/your-mcp-path` and confir… Set up an MCP tunnel Claude Documentation · in the page connectors/mcp-tunnels/setup …no-new-privileges:true cap_drop: - ALL # Match shutdown_timeout in the proxy config stop_grace_period: 30s logging: options: max-size: "10m" max-file: "3" E…
Feedback