{"action":"created","issue":{"url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/162","repository_url":"https://api.github.com/repos/MrRoundRobin/telegram.bot","labels_url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/162/comments","events_url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/162/events","html_url":"https://github.com/MrRoundRobin/telegram.bot/issues/162","id":157089803,"number":162,"title":"TaskCanceledException","user":{"login":"jcmag","id":7235638,"avatar_url":"https://avatars.githubusercontent.com/u/7235638?v=3","gravatar_id":"","url":"https://api.github.com/users/jcmag","html_url":"https://github.com/jcmag","followers_url":"https://api.github.com/users/jcmag/followers","following_url":"https://api.github.com/users/jcmag/following{/other_user}","gists_url":"https://api.github.com/users/jcmag/gists{/gist_id}","starred_url":"https://api.github.com/users/jcmag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcmag/subscriptions","organizations_url":"https://api.github.com/users/jcmag/orgs","repos_url":"https://api.github.com/users/jcmag/repos","events_url":"https://api.github.com/users/jcmag/events{/privacy}","received_events_url":"https://api.github.com/users/jcmag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-26T22:06:12Z","updated_at":"2016-05-28T12:40:30Z","closed_at":null,"body":"Hi,\r\n\r\nI get sometimes this TaskCanceledException:\r\n\r\n`System.Threading.Tasks.TaskCanceledException: A task was canceled. \r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) \r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) \r\n   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable'1.ConfiguredTaskAwaiter.GetResult() \r\n   at Telegram.Bot.Api.<SendWebRequest>d__89'1.MoveNext() in D:\\Bitbucket\\Bot\\Telegram.Bot\\Api.cs:line 1060 \r\n--- End of stack trace from previous location where exception was thrown --- \r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() \r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) \r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) \r\n   at System.Runtime.CompilerServices.TaskAwaiter'1.GetResult() \r\n   at Telegram.Bot.Service.Core.<SendMessageHtml>d__17.MoveNext() in D:\\Bitbucket\\Bot\\Telegram.Bot.Service\\Core.cs:line 291 \r\n`\r\n\r\nIt comes from this line, in Api.SendWebRequest<T>:\r\n`response = await client.PostAsync(uri, form).ConfigureAwait(false);`\r\n\r\nDo you know the reason?"},"comment":{"url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/comments/222306556","html_url":"https://github.com/MrRoundRobin/telegram.bot/issues/162#issuecomment-222306556","issue_url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/162","id":222306556,"user":{"login":"jcmag","id":7235638,"avatar_url":"https://avatars.githubusercontent.com/u/7235638?v=3","gravatar_id":"","url":"https://api.github.com/users/jcmag","html_url":"https://github.com/jcmag","followers_url":"https://api.github.com/users/jcmag/followers","following_url":"https://api.github.com/users/jcmag/following{/other_user}","gists_url":"https://api.github.com/users/jcmag/gists{/gist_id}","starred_url":"https://api.github.com/users/jcmag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcmag/subscriptions","organizations_url":"https://api.github.com/users/jcmag/orgs","repos_url":"https://api.github.com/users/jcmag/repos","events_url":"https://api.github.com/users/jcmag/events{/privacy}","received_events_url":"https://api.github.com/users/jcmag/received_events","type":"User","site_admin":false},"created_at":"2016-05-28T12:40:30Z","updated_at":"2016-05-28T12:40:30Z","body":"I've increased the UploadTimeout, I'll see if the exception occurs again. But my bot is on a server with a gigabit connection... \r\nIs there anything else which can generate this exception?"}}
{"actor":{"display_login":"jcmag"}}