Hi
I have a workflow that takes less than 1 second. But sometimes when I go to the execution tab, I see that some are still running for more than minutes!
This mostly happens when a false condition occurs in the if node and I don’t have any commands after that, because I expect the workflow to end. I even thought maybe the problem was with the IF node, so I added a “no operation” node, but it didn’t make a difference.
I am very sorry you’re having trouble. Purely based on your description I suspect your executions might be stuck on a node which is attempting an HTTP request, but is not receiving an answer from the server it’s talking to. Most n8n nodes have very long timeout settings (the default being 300 seconds), so it will take a while before such an error is shown.
Can you confirm if the execution from your screenshot (started 15:07:51) is still running for you?
I had stopped that specific execution manually, but the executions even later than that time are still running (as shown in pictures).
for example, look at task 14:23:09 which was running for about 3 hours, when I stopped the execution, the last operated node was the IF node, where the False condition occurred.
the last running node of all of my running executions are the If or Switch nodes (not http nodes), which There are situations that I don’t want to define the next step because I expect that nothing will happen and the executaion will be completed, but it’s not.
also, I should again mention that in most of the cases, everything is ok, but in some random cases, the execution keeps running.
I also changed the final node with the Set node, but no different. still having running executions. It looks like it’s a problem with large requests per second!
Hi @alisen, most of the errors you have shared are coming from the database and wouldn’t be related into the running executions.
What’s interesting are the Only running or waiting executions can be stopped and 62524 is currently canceled lines though. These suggest the execution have actually finished when you tried accessing them. Do these IDs (61532, 62452, 62524) belong to the executions that keep showing up as “running” for you and did these log lines appear when you tried accessing your executions?
n8n shows the IDs in a separate column of the global execution list: