IE11 HTTPS AJAX XMLHttpRequest: Network Error 0x2eff, Could not complete the operation due to error 00002eff

前端 未结 3 954

I have an ajax POST request that can take anywhere between 2 seconds to 30+ minutes. The post request occurs as a result of button click

If the request takes less th

3条回答
  •  萌比男神i
    2020-12-03 07:29

    can take anywhere between 2 seconds to 30+ minutes

    I assume this is because of large amount of data to transfer.

    I have creating large file uploader, that handles 20GB+ video files and may last for several hours.

    In my experience - uploading large data with single ajax request can cause strange browser crashes (for example my Chrome browser crashes in about 20% of upload tests).

    The most reliable way, what I found, is to split data in chunks of 1MB and send them sequentially to the server by separate ajax requests.

提交回复
热议问题