Azure / Azure/azure-functions-host

Azure Durable Functions System.Threading.Tasks.TaskCanceledException

Open
#4,150 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

Used the template code from Visual Studio for an Azure Durable Function

**Investigative information**

- Durable Functions extension version: 1.7.1
- Function App version: 2.0
- Programming language used: C#

Steps to reproduce the behavior:
Run project under local development and invoke http orchestration trigger
curl -X GET \
http://localhost:7071/api/Function1_HttpStart

I am able to provide the entire project upon request

**Expected behavior**
Successful operation with zero exceptions

**Actual behavior**
Successful operation with ~20+ Exceptions
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll
Exception thrown: 'System.Threading.Tasks.TaskCanceledException' in System.Private.CoreLib.dll

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**

- Development environment: Visual Studio 15.9.4

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by running the Visual Studio template locally and invoking the HTTP orchestration trigger with the provided curl command. Use the reported Durable Functions extension version 1.7.1 and Function App version 2.0, then determine whether the repeated TaskCanceledException events affect the successful operation; done means the trigger completes without the repeated exceptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.