Task request timed out after 60 seconds – n8n Cloud

Hello n8n Support Team,

I am facing a timeout issue in n8n Cloud.

Error message:
“Task request timed out after 60 seconds”

This workflow was working fine earlier, but for the past few days it has been failing with this timeout error.

Details:

  • n8n Version: 2.6.3 (Cloud)
  • The issue happens in Code nodes and long-running executions
  • I have already tried multiple solutions, including optimizing the flow and reducing execution time, but the issue is still happening

Could you please check if there is any issue on the task runner or Cloud side, or advise how this can be resolved?

Let me know if you need any more details from my side.

Thanks and regards,
Vaishnav Empiric

This isn’t really a bug in the workflow but more of an execution limit that is being hit particularly because you are on n8n Cloud. There is a 60 second hard execution timeout per node that is determined by the task runner. This can start being reached by nodes that do heavier processing or rely on slower APIs.

Some things that can help:

-Split up longer running logic in to smaller executions, so break the workflow up but persist the state

-If you need to wait for an external API or something to process it is best to use a Webhook that way your workflow isn’t stuck running and waiting but only starts/continues when data is actually ready.

-Try to trim and filter data before putting large payloads into Code nodes

-Finally consider self-hosting if you can this will allow for longer execution times and control over timeouts

If this just started happening it could be something external, you may want to open up a support ticket on the cloud for further examination.

Hi @BariVaishnav013435

Welcome to the n8n comumunity!

For issues specifically related to task runners, you’ll need to open a support ticket with the n8n team directly, they’re the ones who can properly investigate and address the root cause.

These won’t resolve the underlying cause, but they can reduce the frequency of the issue:

  • Break large Code nodes into several smaller ones
  • Replace Code nodes with native nodes (Set, IF, Item Lists, Merge) whenever possible
  • Reduce concurrency (use Split in Batches, fewer parallel executions)
  • Avoid heavy processing immediately after synchronous Webhooks

Hope the workarounds help in the meantime! Let me know if you need anything else. :blush:
Get help

@BariVaishnav013435 Welcome to the community.

You should see this thread that a user used solving the issue:

Hope this helps!

Hello n8n Support Team,

I am facing a timeout issue with the Python node on n8n Cloud.

Details:

n8n version: 2.6.3 (Cloud)

Issue: Python node fails with timeout even when using a very simple one-line code like return True or 1 + 1

JavaScript Code node works fine with the same workflow

This issue also happens in a brand-new workflow with only a Manual Trigger and Python node

I have already tried updating the version and clearing all executions, but the issue still persists

Error message:
Task request timed out after 60 seconds

Stack trace:
Error: Task request timed out after 60 seconds
at LocalTaskRequester.requestExpired
at LocalTaskRequester.onMessage
at TaskBroker.handleRequestTimeout

It looks like the Python task runner is not responding properly for my workspace.
Could you please check ?

Thank you for your support.

Best regards,
Vaishnav

1 Like

Some more info on error message

Task request timed out after 60 seconds

Your Code node task was not matched to a runner within the timeout period. This indicates that the task runner is currently down, or not ready, or at capacity, so it cannot service your task.

If you are repeatedly executing Code nodes with long-running tasks across your instance, please space them apart to give the runner time to catch up. If this does not describe your use case, please open a GitHub issue or reach out to support.

Hi @BariVaishnav013435

Are you using docker, or how are you deploying the main and runner instances? How are they connected? Right now, you are only sharing error messages which are standard and offer no new information. We need to understand your setup before we can help you.

How did you install n8n? Docker or npm?
If you used docker, are you also using docker-compose?
What does compose.yml say right now? Don’t forget to remove keys and other private info.
What is the underlying OS? Linux Windows Mac?