phungthaihoa / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

An error has occured: The request was aborted: The request was canceled. #658

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi..i am using Gooogle API to upload video using C#.Hence this API is working 
for upto 10MB  video.But more than 10MB it is not working.

The trace i am getting is:
 System.Net.WebException: The request was aborted: The request was canceled.
   at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32
 offset, Int32 size, AsyncCallback callback, Object state)
   at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at Google.Apis.Upload.ResumableUpload`1.SendChunk(Stream stream, Uri uri, Int
64 position) in c:\code.google.com\google-api-dotnet-client\default_release\Tool
s\BuildRelease\bin\Debug\output\default\Src\GoogleApis\Apis\Upload\ResumableUplo
ad.cs:line 450
   at Google.Apis.Upload.ResumableUpload`1.Upload() in c:\code.google.com\google
-api-dotnet-client\default_release\Tools\BuildRelease\bin\Debug\output\default\S
rc\GoogleApis\Apis\Upload\ResumableUpload.cs:line 325
   at Youtube.Program.<>c__DisplayClass3.<Main>b__2() in D:\Test\Youtube\Youtube
\Program.cs:line 60
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Kindly do help to gt rid of that

Original issue reported on code.google.com by Jenifer....@mamigoinc.com on 4 May 2013 at 5:07