We are downloading files using Axios from AWS S3 storage, but when the files are large, there seems to be a limit on Chrome where the request fails (but server returns 200 OK). We tried it on Firefox and we can download multiple large files at once without an issue.
The situation:
- We have 4 large video files (about 12 GB each)
- User triggers a download of one of these files and the downloading starts just fine (downloading is via Axios, not a browser)
- While the download is running (can be immediately after the start of the first download), the user triggers a download of a second file. But this request immediately fails even though the server returns 200 OK, but in the dev tools network tab you can see that the request failed and Axios throws "Network error" without any further info.
- This limit seems to be device dependent as my colleague is able to trigger 3 downloads of the same files before it fails. But it is consistent.
- The issue is the same on MS Edge browser (chromium based), but not on Firefox.
- Downloading many smaller (tens or hundreds of MB) number of files does not throw this error. But I'm guessing if we had enough simultaneous downloads running the issue would appear as it seems to be connected to overall size of concurrent downloads.
- I'm using the latest version of said browsers
Does Chrome have some kind of limit on downloading large files? If so, how can we bypass/workaround this limit?
I have tried searching for this issue, but I didn't find anything that would match our case.