How to extend timeout in Kendo React UI for the POST method of saveurl

0 Answers 75 Views
Upload
Got1999
Top achievements
Rank 1
Got1999 asked on 19 May 2023, 05:09 AM
How to extend timeout for the POST axios method used for saving the file using saveURL in kendo React UI upload 
Filip
Telerik team
commented on 22 May 2023, 04:40 PM

Hello,

Can you provide more information on your scenario, so that we can advise further?

Regards,
Filip
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Got1999
Top achievements
Rank 1
commented on 23 May 2023, 03:27 AM

I am trying to upload GB sized files and trying to save in DB,after several parsing/formatting my file. The post method throws ECONN RESET error exactly after 5 mins of starting the upload from kendo UI Upload React. 

It works fine for small sizes like KB, to 512 MB.

Just wanted to know how the saveurl saves/posts the file. Is there anyway to extend the timeout to support the upload of such large files

Vessy
Telerik team
commented on 24 May 2023, 02:30 PM

Hello, 

The `ECONN RESET error` is a common problem related to network connectivity, that usually happens when the request is canceled before completing.

Basically, the `saveUrl` can both set the URL of the endpoint for the upload request and accept a Callback function where the the requested `FormData` key is named after the `saveField` property and contains the list of files that will be uploaded:

For convenience, I have prepared a sample demonstrating a basic mocking of a save request, so you can see if implementing such will be helpful for your scenario:

No answers yet. Maybe you can help?

Tags
Upload
Asked by
Got1999
Top achievements
Rank 1
Share this question
or