{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/945","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/945/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/945/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/945/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/945","id":170058617,"number":945,"title":"TaskCanceledException using DirectLine","user":{"login":"nzthiago","id":1563288,"avatar_url":"https://avatars.githubusercontent.com/u/1563288?v=3","gravatar_id":"","url":"https://api.github.com/users/nzthiago","html_url":"https://github.com/nzthiago","followers_url":"https://api.github.com/users/nzthiago/followers","following_url":"https://api.github.com/users/nzthiago/following{/other_user}","gists_url":"https://api.github.com/users/nzthiago/gists{/gist_id}","starred_url":"https://api.github.com/users/nzthiago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzthiago/subscriptions","organizations_url":"https://api.github.com/users/nzthiago/orgs","repos_url":"https://api.github.com/users/nzthiago/repos","events_url":"https://api.github.com/users/nzthiago/events{/privacy}","received_events_url":"https://api.github.com/users/nzthiago/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-09T00:49:55Z","updated_at":"2016-08-09T00:49:55Z","closed_at":null,"body":"Hi team,\r\n\r\nTwo of our functional tests against our bot have always failed with a TaskCanceledException. These test are the same as the others, they all use the DirectLine api (.NET, DirectLine nuget version 1.0.2) and use directLineClient.Conversations.PostMessageAsync(..) to send a message to the bot. This specific test fails at that line, while awaiting that PostMessageAsync. When we send the same message from the emulator or from other channels it works fine. We enabled app insights and this is the exception from the server side from the bot:   \r\n\r\nSystem.Threading.Tasks.TaskCanceledException:\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)\r\n   at Microsoft.Bot.ChannelConnector.BotAPI+<PostMessageToAppAsync>d__6.MoveNext (Microsoft.Bot.ChannelConnector, Version=3.0.6052.34475, Culture=neutral, PublicKeyToken=null: C:\\a\\1\\s\\Microsoft.Bot.ChannelConnector\\API\\BotAPI.cs: 200)\r\n\r\nAny ideas? "}}
{"actor":{"display_login":"nzthiago"}}