Start a new topic
Answered

File uploades seem to fail often on files larger then 2mb

We are running into issues with uploading video files larger then 2mb. I understand this is intense for mobile but is there anything else we can be doing to try and help the situation?



Thanks

Best Answer
Nuno,

Please take a look at following link for better understanding of uploading/downloading files using Kinvey's API console:
https://devcenter.kinvey.com/rest/guides/files#Uploading

Thanks,
Pranav

 


It seems now that  if the video have  more than ~10mb  it fails, I have been test all day, is there is any config or param that I may pass?


Thank you again.

Hi, I know this very old, but Im is the same situation at moment, a  2sec video uploads just fine, a 10 sec one fail.


Im using phonegap lib 3.4.5  and a think a have the same issues with 3.9.0


DATA::

:fileContent:: Blob {name: "1513030546620.3gp", size: 12553214, type: "video/3gpp"}


{filename:"1513030546620.3gp" , mimeType:"video/3gpp", size:12553214, thumb:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD ..... "}



ERROR:::::

 PUT https://www.googleapis.com/upload/storage/v1/b/04463a33b87d417facf1bfe4566271b3/o?name=4b58bde8-6ebf-40ba-b1a1-7185d77c81fa%2F1513030546620.3gp&uploadType=resumable&upload_id=AEnB2UrNLf6cdd6KlutJ_9dIH1qigw3ywvDvy2fwBbZyuKw2wfUdFBu-v0Sba99r2AQ1ADbfYdYfM-CgmAoPAUfV21H-fMSBwA net::ERR_FILE_NOT_FOUND

Error: Internal XMLHttpRequest Error


Any tip will be helfully, Im supposedly to do a demo tomorrow.


Thank you.

Answer
Nuno,

Please take a look at following link for better understanding of uploading/downloading files using Kinvey's API console:
https://devcenter.kinvey.com/rest/guides/files#Uploading

Thanks,
Pranav

 

Hey Lodi, There could be a number of reasons why it's failing:

1) connectivity issues- the mobile connection is cutting out and failing as a result

2) Timeouts- the file takes so long to upload that the request times out

3) Something wrong with the file, undetermined



Can you walk me through steps you're doing to create the issue so I can try and reproduce? I'd also like to rule out connectivity issues if possible.
Caroline,



Right now we record a video from 1 to 15sec long. We call to push the file up to Kinvey and the Google Cloud Storage. We are checking if the user loses a connection during the process at which time the call is canceled and a error is displayed.



We also display a error when Kinvey returns a error so the connection is not totally lost as we get a call back with error.



The issues seem to happen more often when the connection is slower but it is not lost. We are testing how slow the connection is when we get the failure from Kinvey.



Is there anyway to view the server logs? Would be easier if we can see if Google maybe running into errors or just more detail.



Thanks
Do you have the description of the error object?
I've noticed a pattern of similar errors, we're investigating now. I'll keep you updated.
Hi Lodijones,

We deployed some fixes related to this last week. Are you still seeing the same problems?
Login or Signup to post a comment