Skip to content

Orchestration is stuck in the Running state #1302

@andrey-malkov

Description

@andrey-malkov

Description

My workflow is designed to wait for a specific state from an external service. Since this can take days or even weeks, I use the eternal orchestration pattern. If the awaited status is not reached, the orchestration calls ContinueAsNew to start the next iteration.

Out of thousands of executions, the workflow occasionally becomes stuck. This issue started occurring after upgrading the Durable Task extension for .NET isolated functions to version 1.13.0. Upgrading further to 1.14.0 did not resolve the issue — it has happened again.

Using Durable Functions Monitor, I identified a stuck orchestration with ID:

efd34532203e593297b36e38bd89590f

Its last update timestamp is:

2026-02-16T09:41:54 UTC

which is more than 10 hours ago.

From the logs, I can see that the orchestration was running normally for approximately 50 minutes before it stopped making progress.

2026-02-16 08:57:47.9259236 | 'wait-for-task' orchestration with ID 'efd34532203e593297b36e38bd89590f' started.
2026-02-16 08:58:51.9662074 | 'wait-for-task' orchestration with ID 'efd34532203e593297b36e38bd89590f' completed.
2026-02-16 08:58:51.9693582 | 'wait-for-task' orchestration with ID 'efd34532203e593297b36e38bd89590f' started.
2026-02-16 08:59:51.7197587 | 'wait-for-task' orchestration with ID 'efd34532203e593297b36e38bd89590f' completed.
2026-02-16 08:59:51.7239817 | 'wait-for-task' orchestration with ID 'efd34532203e593297b36e38bd89590f' started.
2026-02-16 09:00:51.6458984 | 'wait-for-task' orchestration with ID 'efd34532203e593297b36e38bd89590f' completed.
2026-02-16 09:00:51.6488428 | 'wait-for-task' orchestration with ID 'efd34532203e593297b36e38bd89590f' started.
2026-02-16 09:01:51.5722086 | 'wait-for-task' orchestration with ID 'efd34532203e593297b36e38bd89590f' completed.
...
2026-02-16 09:41:54.6424303 | 'wait-for-task' orchestration with ID 'efd34532203e593297b36e38bd89590f' started.

I suspect there may be an issue with the control queue message processing, as I can see errors in the Log Stream

2026-02-16T20:45:04   [Warning]   Error response [ff130abf-c869-44d5-9a42-d6a7d41f42cf] 404 The specified queue does not exist. (00.0s)
Server:Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id:b5953f2c-e003-000d-2b85-9f01c4000000
x-ms-client-request-id:ff130abf-c869-44d5-9a42-d6a7d41f42cf
x-ms-version:2025-07-05
x-ms-error-code:QueueNotFound
Date:Mon, 16 Feb 2026 20:45:03 GMT
Content-Length:217
Content-Type:application/xml

I also attempted to identify any stuck messages in the control queue by searching for messages with a high DequeueCount, but I was unable to find any such messages. There are no obvious poison messages or repeatedly dequeued items that would explain the behavior.

Expected behavior

Workflow should not stop progressing

App Details

  • Durable Functions extension version 1.14.0:
  • Azure Functions runtime version 2.0:
  • Programming language used: C# .Net 8

Screenshots

If deployed to Azure

  • Timeframe issue observed: 2026-02-16T09:41:54 UTC
  • Function App name: odmt-eu-red-files-workers
  • Function name(s): wait-for-task
  • Azure region: North Europe
  • Orchestration instance ID(s): efd34532203e593297b36e38bd89590f
  • Azure storage account name: odmteuredfidata

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions