You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/14 12:41:44 UTC

[GitHub] [cordova-plugin-file-transfer] officerreports opened a new issue #247: IOS 13 Video files are not uploading

officerreports opened a new issue #247: IOS 13 Video files are not uploading
URL: https://github.com/apache/cordova-plugin-file-transfer/issues/247
 
 
   # Bug Report
   IOS 13 Big video files are not uploading.
   ## Problem
   We have an app which uploads  video,audio,images and docs to the server. Prior ios 13 that is ios 12 the video files used to upload whether large or small. But now large file size with above 50MB size are failing to upload to the server.  
   ### What is expected to happen?
   Large video files with the size more than 50MB should upload, which used to happen and is happening in the lower versions of ios but having an issue in IOS  13.
   
   
   ### What does actually happen?
   When we try to upload a large file with a size of 52MB it just throws error to the cordova side.  
   
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   Have also checked in the Objective c code (CDVfiletranfer.m) of the file transfer plugin. this is the error which i was getting in the xcode. 
   
   2019-11-11 17:35:18.322215+0530 OfficerReports[2975:1293164] -[CDVFileTransfer requestForUploadCommand:fileData:]
    [Line 224] fileData length: 52041341
   
   2019-11-11 17:35:18.393344+0530 OfficerReports[2975:1293164] THREAD WARNING: ['FileTransfer'] took '71.375977' ms. Plugin should use a background thread.
   
   2019-11-11 17:35:19.946234+0530 OfficerReports[2975:1294084] File Transfer Finished with response code 413
   
   2019-11-11 17:35:19.947255+0530 OfficerReports[2975:1294084] FileTransferError {
       body = "The page was not displayed because the request entity is too large.";
       code = 3;
       "http_status" = 413;
       source = "file:///var/mobile/Containers/Data/Application/0D7E7F52-76FE-4541-992C-87FFA4484FD3/tmp/trim.BC29DB30-721B-4698-AC7F-5499B7BB24E3.MOV";
       target = "https://officerreports.net/api/FileUpload/Upload";
   }
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   Platform : IOS 
   Device: IOS 13 devices
   
   ### Version information
   latest cordova file transfer plugin, 
   xcode version 11.2.1
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ ] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [ ] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org