Hi,
I’ve been getting “Task request timed out after 60 seconds” errors on Code nodes for over a week. Instance: aiplug.app.n8n.cloud Plan: Paid Running via: n8n Cloud
The error says the task runner is “down, not ready, or at capacity.”
The n8n AI confirmed this is NOT a code issue - it’s infrastructure. My code is simple (extracting unique IDs from a Map). What I’ve tried:
Reduced workflows from 90 to 34
Cleared old executions
Waited over a week
Tried different times of day
I found threads about N8N_RUNNERS_TASK_REQUEST_TIMEOUT but I’m on Cloud and can’t set environment variables.
Can someone help or restart my instance?
Thanks!
Information on your n8n setup
n8n version:
Database: n8n Cloud (managed)
n8n EXECUTIONS_PROCESS setting: n8n Cloud (no access)
Also, I’ve noticed that some of my other nodes sometimes take a very long time to run or randomly break, which never happened before. The only consistent issue is with Code nodes, but overall the performance hasn’t been normal compared to before.
I had the exact same issue and the same n8n version, which is what made me update it to see if that’s what’s causing the problem. Now on version 1.122.5 (Cloud) it’s working again. That might just fix it for you as well.
I have the same issue since updating to 2.0.2 at a self-hosted instance. I thought it relates to the newly activated task runners but if there are other with same problems and 1.x versions it must be a different problem
For those having problems with code node when upgrading from v1 to v2 in self hosted versions, it is important to consider that there is a breaking change in v2: you should enable task runners and configure it correctly in docker compose file and in n8n-task-runners.json. If you plan to use Python, it is necessary to use external task runners and you will need to create a container for the task runners as well. It could be helpful to check for the container logs.
I have version 2.2.4 and finally managed to get the code nodes to work.
I run into similar problems when running self-hosted n8n with docker images for n8n and n8n-task-runners. Could you give us more insights on what to focus or example compose/n8n-task-runner.json? For me it seems to be a problem to connect to redis, which could also a problem of misconfiguration in the json or the compose.yaml, so I would be very happy to compare with a working version.
I’m having the same problem and changing environment variables that initially seemed to be related, such as N8N_RUNNERS_TASK_TIMEOUT, doesn’t solve the problem. I’m using version 2.X self-hosted with a task runner in a docker sidecar container.