L-Yeiser

Results 26 comments of L-Yeiser

We were able to match a failed upload with an the corresponding s3 Post. The `Unknown Error` is triggered by a 400 incomplete body. It would be awesome if s3...

Unfortunately the failure is intermittent. I have added a substantial amount of error logging and will be pushing a release out in the next few days. Will post more when...

@TSMMark we are still unable to reproduce issue but we are seeing it frequently. Looking through our sentry breadcrumbs it appears to occur after an `Lost connection to background transfer...

Is there a thread limit? We often spawn 10+ uploads at once.

@superandrew213 the completed event fires when the upload completes but not when I get `unknown error` - in those cases the error event does fire. Where are you capturing that...

@superandrew213 retrying the upload does not work in our case. ATM we are batching uploads in groups of three and retrying any failed upload five times before failing the process....

The NSURLErrorUnknown is always proceeded by a [NSURLErrorBackgroundSessionWasDisconnected](https://developer.apple.com/documentation/foundation/1508628-url_loading_system_error_codes/nsurlerrorbackgroundsessionwasdisconnected?language=objc) error thrown from the same line.

@TSMMark I was able to reproduce this issue consistently on an iphone 7 from the example app posted above when attempting to upload large video. In the example app we...

@TSMMark wondering if it would work to use `NSURLSessionUploadTask` instead of `NSURLSessionDataTask`? Counter to [this line](https://github.com/Vydia/react-native-background-upload/blob/master/ios/VydiaRNFileUploader.m#L200) [the docs](https://developer.apple.com/documentation/foundation/nsurlsessionuploadtask) make it sound like `NSURLSessionUploadTask` is the correct class to use when...