Create new Azure Function 2.0 project with an HttpTrigger function. Run it locally. Open the URL to trigger the funtion Systems.Threading.Tasks.TaskCanceledException in System.Private.CoreLib.dll "A task was cancelled" This happens for each request. More details in this bug report : https://developercommunity.visualstudio.com/content/problem/549316/azure-functions-throw-taskcanceledexception.html