// guides · n8n error index

n8n workflow timed out? 4 timeouts tested and fixed

Fix n8n execution timeouts: EXECUTIONS_TIMEOUT, Timeout Workflow, N8N_RUNNERS_TASK_TIMEOUT and the HTTP Request Timeout, from 16 real runs on n8n 2.43.7.

Updated 2026-10-29 · about 10 minutes

Still stuck after these steps? Paste your exact n8n error and we'll reproduce it and email you the fix, free →

Steps

  1. How we tested, and what is real

    On 29 October 2026 we ran 16 real executions on a self-hosted n8n 2.43.7 (SQLite, internal JavaScript task runner, Node 24), each a production webhook followed by one slow node: a Wait node, a Code node that sleeps or loops, or an HTTP Request to a local server that answers after 20 seconds. We started n8n three times with different timeout settings. Every message, status and time below comes from the n8n log, the execution list and the HTTP response we got.

  2. Which timeout hit you? Read the message

    There are four different timeouts in n8n, and each one leaves a different trace. The execution was cancelled because it timed out in the log, with the execution marked canceled, is the workflow timeout. Task execution timed out after 5 seconds (or after 300) on a Code node is the task runner timeout. timeout of 2000ms exceeded is the HTTP Request node's own Timeout option. A webhook caller only sees There was a problem executing the workflow or Error in workflow with HTTP 500, so look at the execution in n8n to know which one it was.

  3. The workflow timeout: EXECUTIONS_TIMEOUT

    By default n8n has no workflow timeout (EXECUTIONS_TIMEOUT=-1): our 12-second Wait finished normally and the webhook answered 200 after 12.2 s. With EXECUTIONS_TIMEOUT=5 the same workflow stopped at 5.1 s, and so did a Code node sleeping 12 s, a Code node busy-looping 12 s, and an HTTP Request waiting on a slow server. The webhook got HTTP 500 with {"code":0,"message":"There was a problem executing the workflow"}. The value is in seconds. Raise it, or set -1 to remove the limit, in n8n's environment and restart.

  4. "Cancelled manually" when nobody clicked anything

    A timed-out execution was stored with status canceled, not error, and its error text said The execution was cancelled manually (Code nodes showed Task cancelled by user). Nobody stopped it: that is just how n8n records a timeout. If you filter the execution list on Error, you will not see these runs.

  5. The per-workflow Timeout setting and EXECUTIONS_TIMEOUT_MAX

    In the workflow settings, Timeout Workflow sets a limit for one workflow. It worked even with no global timeout: a 3-second setting stopped our 12-second Wait at 3.1 s. With a global timeout of 5, the lower per-workflow 3 won. But EXECUTIONS_TIMEOUT_MAX caps that setting silently: with EXECUTIONS_TIMEOUT_MAX=2, our 3-second workflow was cancelled at 2.1 s and the UI gave no warning. If a workflow stops earlier than the value you set, check that variable.

  6. Code node: N8N_RUNNERS_TASK_TIMEOUT

    The task runner has its own limit per Code node run, 300 seconds by default, set with N8N_RUNNERS_TASK_TIMEOUT. With it at 5, a Code node awaiting a 12-second sleep failed with Task execution timed out after 5 seconds (status error, not canceled). A synchronous busy loop was worse: the node only said Node execution failed, and the log showed Task runner timed out during task, restarting..., so the runner was killed and restarted, which also hits any other Code node running at that moment. n8n also warns at startup that the 300 s default will drop to 60 s in a future version, so set it explicitly if you have long Code nodes.

  7. HTTP Request node Timeout is a normal error

    With the node option Timeout at 2000 ms, the HTTP Request to our slow server failed at 2.2 s with timeout of 2000ms exceeded, status error and Error in workflow for the webhook. Unlike the workflow timeout, this is a normal node error, so Retry On Fail and On Error: Continue work on it. Without the option, the node waits as long as the server does, and only the workflow timeout stops it.

  8. Long jobs behind a webhook

    A webhook that waits for the last node keeps the caller waiting for the whole run, and the caller sees a 500 if the timeout hits. For long jobs, set the Webhook to respond Immediately, or put a Respond to Webhook node early, then let the slow part run. Waiting for hours belongs in a Wait node (see the Wait guide), not in a raised timeout.

  9. Get alerted when a workflow times out

    An Error Workflow (one starting with an Error Trigger, chosen in the workflow settings) did fire for a timed-out, canceled execution and for the HTTP node timeout error. So you can send yourself a message on timeouts the same way as on errors.

All test results

Real executions on n8n 2.43.7. Left: the setting and the workflow. Right: what n8n did.

TestResult
EXECUTIONS_TIMEOUT=5, Wait 12 s500 after 5.1 s, There was a problem executing the workflow; log The execution was cancelled because it timed out; status canceled
EXECUTIONS_TIMEOUT=5, Code async sleep 12 s500 at 5.1 s, status canceled, Task cancelled by user
EXECUTIONS_TIMEOUT=5, Code busy loop 12 sStopped at 5.1 s, status canceled
EXECUTIONS_TIMEOUT=5, HTTP Request to 20 s server500 at 5.1 s, status canceled
EXECUTIONS_TIMEOUT=5, HTTP Request Timeout 2000500 at 2.2 s, Error in workflow; timeout of 2000ms exceeded; status error
EXECUTIONS_TIMEOUT=5, workflow Timeout 3Cancelled at 3.1 s (lower value wins)
Default (-1), Wait 12 s200 after 12.2 s, no timeout
Default (-1), workflow Timeout 3Cancelled at 3.1 s, status canceled
N8N_RUNNERS_TASK_TIMEOUT=5, Code async sleep 12 s500 at 5.1 s, Task execution timed out after 5 seconds; status error
N8N_RUNNERS_TASK_TIMEOUT=5, Code busy loop 12 s500 at 5.1 s, Node execution failed; log Task runner timed out during task, restarting...
EXECUTIONS_TIMEOUT_MAX=2, workflow Timeout 3Silently capped: cancelled at 2.1 s
Error Workflow, timed-out executionError Trigger fired
Error Workflow, HTTP node timeout errorError Trigger fired

Checklist

Good to know

What we did not test

n8n Cloud plan limits, queue mode workers, external task runners, the Python Code node, manual runs from the editor, and timeouts longer than a few seconds.

FAQ

Why does n8n say the execution was cancelled manually when nobody stopped it?

A workflow timeout is stored as a canceled execution with the text "The execution was cancelled manually". In our tests that was always EXECUTIONS_TIMEOUT or the per-workflow Timeout setting.

How do I increase the n8n workflow timeout?

Set EXECUTIONS_TIMEOUT in seconds (or -1 for no limit) in n8n's environment and restart, or set Timeout Workflow in the workflow settings. EXECUTIONS_TIMEOUT_MAX silently caps the per-workflow value.

What does "Task execution timed out after 300 seconds" mean in n8n?

A Code node ran longer than the task runner allows. Raise N8N_RUNNERS_TASK_TIMEOUT, or split the work. A synchronous loop also makes the runner restart.

How do I fix "timeout of 2000ms exceeded" in the n8n HTTP Request node?

It is the node's own Timeout option. Raise it, or keep it and turn on Retry On Fail, since it is a normal node error.

Does the n8n Error Workflow run when a workflow times out?

Yes. In our tests the Error Trigger fired for a timed-out, canceled execution and for an HTTP Request node timeout.

Related guides

New guides

Still stuck on your n8n error?

Paste the exact error and say what the workflow should do. We reproduce it on a real n8n install and email you the fix or a working workflow, usually within 24h. Free while we're in beta.

We'll only email you about your error and TaskToAgent.