For almost the past 24 hours, I have been receiving TaskCanceledExceptions as the result of calls to ResumeableUpload's UploadAsync. Uploads are failing probably 90% of the time. I am uploading videos to youtube.
I was using an earlier version of the google-apis (1.4) so I tried upgrading to the latest nuget packages for 1.5, but the issue is unchanged.
Any idea what might be occurring? I am perplexed as I haven't changed my code in sometime...
The stack trace is as follows:
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Google.Apis.Upload.ResumableUpload`1.<Upload>d__0.MoveNext() in c:\code.google.com\google-api-dotnet-client\default_3\Tools\Google.Apis.Release\bin\Debug\output\default\Src\GoogleApis\Apis\[Media]\Upload\ResumableUpload.cs:line 362