Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown failure on large file upload. #22

Open
CraigHall2 opened this issue Jun 17, 2015 · 0 comments
Open

Unknown failure on large file upload. #22

CraigHall2 opened this issue Jun 17, 2015 · 0 comments

Comments

@CraigHall2
Copy link

Hi,

Great little api.

However, when uploading a large video (360mb) using UploadLargeFileAsync, I get a thrown objectdisposedexception. Reliability is high with smaller files, so not sure what is causing this.

Using Mono on Android 16, with version 1.0 of the portable class library.

Stack trace :
" at System.Net.WebConnection.EndWrite (System.Net.HttpWebRequest request, Boolean throwOnError, IAsyncResult result) [0x00000] in :0 \n at System.Net.WebConnectionStream+c__AnonStorey2.<>m__1 (IAsyncResult r) [0x00000] in :0 \n--- End of stack trace from previous location where exception was thrown ---\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in :0 \n at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[System.Net.WebResponse].GetResult () [0x00000] in <filename unknown>:0 \n at System.Net.Http.HttpClientHandler+<SendAsync>c__async0.MoveNext () [0x00000] in <filename unknown>:0 \n--- End of stack trace from previous location where exception was thrown ---\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 \n at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[System.Net.Http.HttpResponseMessage].GetResult () [0x00000] in :0 \n at System.Net.Http.HttpClient+c__async0.MoveNext () [0x00000] in :0 \n--- End of stack trace from previous location where exception was thrown ---\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in :0 \n at System.Runtime.CompilerServices.TaskAwaiter1[System.Net.Http.HttpResponseMessage].GetResult () [0x00000] in <filename unknown>:0 \n at OneDrive.WrappedHttpClientRequest+<GetResponseAsync>d__3.MoveNext () [0x0003f] in e:\\Work\\onedrive-explorer-win-master\\OneDriveSDK\\Http\\WrappedHttpClient.cs:52 \n--- End of stack trace from previous location where exception was thrown ---\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 \n at System.Runtime.CompilerServices.TaskAwaiter1[OneDrive.Http.IHttpResponse].GetResult () [0x00000] in :0 \n at OneDrive.ODConnection+d__4e.MoveNext () [0x001f8] in e:\Work\onedrive-explorer-win-master\OneDriveSDK\ODConnection.cs:344 \n--- End of stack trace from previous location where exception was thrown ---\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in :0 \n at System.Runtime.CompilerServices.TaskAwaiter1[OneDrive.ODDataModel].GetResult () [0x00000] in <filename unknown>:0 \n at OneDrive.LargeFileUploader+<ExecuteUploadFragment>d__a.MoveNext () [0x00090] in e:\\Work\\onedrive-explorer-win-master\\OneDriveSDK\\LargeFileUploader.cs:81 \n--- End of stack trace from previous location where exception was thrown ---\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 \n at System.Runtime.CompilerServices.TaskAwaiter1[OneDrive.ODDataModel].GetResult () [0x00000] in :0 \n at OneDrive.LargeFileUploader+d__0.MoveNext () [0x00151] in e:\Work\onedrive-explorer-win-master\OneDriveSDK\LargeFileUploader.cs:49 \n--- End of stack trace from previous location where exception was thrown ---\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in :0 \n at System.Runtime.CompilerServices.TaskAwaiter1[OneDrive.ODItem].GetResult () [0x00000] in <filename unknown>:0 \n at OneDrive.ODConnection+<StartLargeFileTransfer>d__45.MoveNext () [0x00164] in e:\\Work\\onedrive-explorer-win-master\\OneDriveSDK\\ODConnection.cs:328 \n--- End of stack trace from previous location where exception was thrown ---\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0 \n at System.Runtime.CompilerServices.TaskAwaiter1[OneDrive.ODItem].GetResult () [0x00000] in :0 \n at OneDrive.ODConnection+d__8a.MoveNext () [0x00095] in e:\Work\onedrive-explorer-win-master\OneDriveSDK\ODConnection.public.cs:218 \n--- End of stack trace from previous location where exception was thrown ---\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in :0 \n at System.Runtime.CompilerServices.TaskAwaiter`1[OneDrive.ODItem].GetResult () [0x00000] in :0 \n at Reeson.TimedService+d__b.MoveNext () [0x00844] in c:\Users\Craggs\Desktop\Reeson2\Reeson2\Reeson\TimedService.cs:338 "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant