I am using android.app.DownloadManager to download large files - (about 700mb), on android tv - 7.1.1. So when server is giving me files with speed 1mb/s everything is fine. But when speed is 500kb/s I cannot download file. Almost half of file is loaded with status Running, after that DownloadManager giving status FAILED with reason ERROR_CANNOT_RESUME.
I was looking inside source code and found that android.provider.Downloads has STATUS_CANNOT_RESUME that is from 489 error code.
And no much information about what exactly happened. So provide me some suggestions If you reached same problem.
1 more time - the app is working fine if speed connection is fast.