'Durable function stuck in running state

I have a durable function which get stuck in "Running" status when an activity function fails. No activity function is running, why would that be the case? Last update date for this instance in functionInstances table is 2020-11-19T05:00:32.761Z

enter image description here



Solution 1:[1]

I have found an excellent tool to use to debug and trace Durable func apps: https://github.com/microsoft/DurableFunctionsMonitor

It proved very difficult to see what's happening within the hub/control queues/instances and history tables - this tool helps a lot with visualizing that. I'm running in as a VS Code extension:)

Solution 2:[2]

The solution turned out to be quite simple. I removed Mime Mail and Mail System, installed SMTP module, pointed it at an email account in my domain, and everything worked just as expected.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Duck Ling
Solution 2 Jim D