| Error | Task request timed out Your Code node task was not matched to a runner within the timeout period (waited 60 seconds). This indicates that the task runner is currently down, or not ready, or at capacity, so it cannot service your task. |
|---|---|
| Wait time | N8N_RUNNERS_TASK_REQUEST_TIMEOUT, default 60 seconds |
| Runner capacity | N8N_RUNNERS_MAX_CONCURRENCY, default 10 tasks at a time (JavaScript); 5 for Python |
| Known bug | 25-27 Aug 2026: on 2.37.x the JS runner couldn't start (missing libatomic.so.1 after the Node 26 update). Fixed in n8n 2.38.1 (#37106) |
| Reports | 31 people opened GitHub issues quoting it, Aug to Dec 2026, with a burst on 25-27 Aug (#37064, #37157); later #38308, #38562, #39412, #39671 |
| Checked | 5 Dec 2026, against the sources listed below |
First: is it your code or the runner?
Make a new workflow with a manual trigger and one Code node that only returns [{json: {ok: 1}}]. Reporters used exactly this test (#37157, #38308). If it also times out, the runner isn't taking any task: no change to your workflow will help. If it works, your other Code nodes are waiting behind long tasks: see "Busy runner" below.
n8n Cloud
- There are no runner settings to change. One reporter: "Since I'm on n8n Cloud, I don't have access to
N8N_RUNNERS_TASK_REQUEST_TIMEOUT" (#38308). n8n closes Cloud reports on GitHub as support issues; email support with your instance name and a failed execution ID. - Restarting the instance or upgrading the plan didn't help reporters during the August bug (#37157).
- Retry On Fail doesn't help when the runner is down: 5 retries all failed in #38308.
Self-hosted: check the runner
- Read the runner or launcher logs. In the August bug they showed
error while loading shared libraries: libatomic.so.1: cannot open shared object fileandRunner process exited with error: exit status 127: the JS runner crashed on every start and no task was ever matched (#37106). Python runners were unaffected. If you run the runners image from 2.37.x, update to 2.38.1 or later. - Check the mode.
N8N_RUNNERS_MODEisinternal(n8n starts the runner as a child process, now deprecated) orexternal(you run the runner separately). In external mode the runner must be running and connected: n8n's own test for this error (PR #40136) starts n8n in external mode with no runner. - Busy runner: the error text itself suggests spacing out long-running Code node tasks. Capacity is
N8N_RUNNERS_MAX_CONCURRENCY(default 10), and each task may run forN8N_RUNNERS_TASK_TIMEOUT(default 60 s) before it's stopped. - Raise the wait only after that:
N8N_RUNNERS_TASK_REQUEST_TIMEOUT(seconds, default 60, must be greater than 0). A longer wait doesn't help if no runner is alive.
# example values, self-hosted only
N8N_RUNNERS_MAX_CONCURRENCY=20
N8N_RUNNERS_TASK_REQUEST_TIMEOUT=120
During a restart or deploy
Code nodes waiting for a runner when a worker shuts down can fail with the same message even though nothing timed out: n8n caps waiting task requests to the shutdown deadline (#40136, 2.43.0), and an open PR (#44158) would report these as "Task aborted because the n8n instance was shutting down" instead. A fix released in 2.39.0 (#37737) stopped workers shutting their runner down while a detached sub-workflow was still running.
In n8n's source
The message comes from TaskRequestTimeoutError (packages/cli/src/task-runners/errors/task-request-timeout.error.ts). The sentence about N8N_RUNNERS_TASK_REQUEST_TIMEOUT is added only on self-hosted instances, which is why Cloud users don't see it.
Running Claude Code, Codex or Cursor on real repos, or shipping an AI agent? A Quick Review ($149 / ₹13,900, 1 working day) checks one repo, config or setup for leaked keys, risky agent permissions and MCP servers. Request a Quick Review
FAQ
What does 'Task request timed out' mean in n8n?
A Code node task waited for a task runner and none accepted it within N8N_RUNNERS_TASK_REQUEST_TIMEOUT (60 seconds by default). The runner is down, not ready, or at capacity.
How do I fix it on n8n Cloud?
Test with a one-line Code node; if that fails too, the runner is down and only n8n support can fix it. There are no runner settings on Cloud.
Which environment variables control it?
N8N_RUNNERS_TASK_REQUEST_TIMEOUT (default 60 s), N8N_RUNNERS_MAX_CONCURRENCY (default 10), N8N_RUNNERS_TASK_TIMEOUT (default 60 s) and N8N_RUNNERS_MODE (internal or external).
Why did every Code node fail in late August 2026?
On 2.37.x the JavaScript runner couldn't start because libatomic.so.1 was missing after the Node 26 update. n8n fixed it in 2.38.1 (#37106).
Related errors
- n8n may have run out of memory while running this execution
- n8n: Output data redacted (credential you don't have access to)
- npm install -g n8n: EBADPLATFORM (@napi-rs musl)
Sources
Read 5 Dec 2026. These tools change often: if a step no longer matches, the linked page wins.
- n8n source: TaskRequestTimeoutError, the full message (task-request-timeout.error.ts L14-L27): github.com/n8n-io/n8n/blob/c40524fb7299ab7c31d0d7546807fc8ead75f6b7/packages/cli/src/task-runners/errors/task-request-timeout.error.ts#L14-L27
- n8n source: runner defaults (runners.config.ts L44-L61): github.com/n8n-io/n8n/blob/c40524fb7299ab7c31d0d7546807fc8ead75f6b7/packages/@n8n/config/src/configs/runners.config.ts#L44-L61
- n8n docs: task runner environment variables: docs.n8n.io/hosting/configuration/environment-variables/task-runners/
- n8n docs: Set up task runners (internal vs external mode): docs.n8n.io/hosting/configuration/task-runners/
- n8n PR #37106 (libatomic missing in the runners image; released 2.38.1): github.com/n8n-io/n8n/pull/37106
- n8n-io/n8n #37157 (Cloud, Aug 2026, one-line Code node test): github.com/n8n-io/n8n/issues/37157
- n8n-io/n8n #38308 (Cloud, Retry On Fail x5 all fail): github.com/n8n-io/n8n/issues/38308
- n8n PR #40136 (waiting requests capped at shutdown, 2.43.0): github.com/n8n-io/n8n/pull/40136
- n8n PR #44158 (shutdown reported as a timeout; open): github.com/n8n-io/n8n/pull/44158
- n8n PR #37737 (detached sub-workflows on worker shutdown, 2.39.0): github.com/n8n-io/n8n/pull/37737
- reviewready CLI: one command that checks an AI app repo before it ships
- Exposed API key checker: find API keys committed to a repo or shipped to the browser