Problem stopping execution

Hello,

When I am trying to execute the following workflow step by step (by clicking on the play button for each step), I am unable to stop it. It seems the error arises from the fact that the HTTP request returns an error 463 and when the “Function” tries to parse the output of the “HTTP request” output, it fails. However, when I am trying to stop the workflow, I am getting the following error: “this.activeExecutions[executionId].workflowExecution.cancel is not a function” (see attached image).

{
   "name": "Test",
   "nodes": [
   {
     "parameters": {},
     "name": "Start",
     "type": "n8n-nodes-base.start",
     "typeVersion": 1,
     "position": [
       250,
       300
     ]
   },
  {
    "parameters": {
      "functionCode": "return items.map(function(item){\n  return {\"json\":{\"data\": \"test\"}};\n});\n"
    },
    "name": "Function",
    "type": "n8n-nodes-base.function",
    "typeVersion": 1,
    "position": [
      650,
      300
    ],
    "disabled": true
  },
  {
    "parameters": {
      "url": "https://www.test.com/.htaccess",
      "jsonParameters": true,
      "options": {}
    },
    "name": "HTTP Request",
    "type": "n8n-nodes-base.httpRequest",
    "typeVersion": 1,
    "position": [
      450,
      300
    ]
  }
],
"connections": {
  "Start": {
    "main": [
      [
        {
          "node": "HTTP Request",
          "type": "main",
          "index": 0
        }
      ]
    ]
  },
  "HTTP Request": {
    "main": [
      [
        {
          "node": "Function",
          "type": "main",
          "index": 0
        }
      ]
    ]
  }
},
"active": false,
"settings": {},
"id": "67"
}

I often face the same issue as well!

Sadly, still no idea why this happens.
To rectify it, currently, i have to restart my (remote) docker container, which is highly undesirable.

This is quite weird. Never happened to me. Is there any way I can replicate the issue?

@RicardoE105

Don’t know how exactly to reproduce it, but it happened again and i just noticed it:

This is the workflow:

Note: This is happening despite there being a 1hr. Timeout on the workflow!

Again, can’t stop this execution:

Have to log into the Cloud Server and restart Docker just to reset this.

My guess to reproduce this:
e.g. 1.: Send unexpected data to a webhook-based workflow
e.g. 2: Send unexpected data to any other trigger-based workflow

In the above examples, most times the output will be ‘error’ but some times, the output will be ‘infinitely running execution’.

Again:

Note: Workflow timeout is already enabled, for 1 hour.
Despite that, the execution hasn’t terminated and can’t be manually terminated either!

Will have to restart the DO docker instance.