SimonSimCity / Xamarin-CrossDownloadManager

A cross platform download manager for Xamarin
MIT License
149 stars 68 forks source link

Random PAUSED - WAITING TO RETRY #127

Closed shakazulu89 closed 4 years ago

shakazulu89 commented 4 years ago

Hey and thank you for this library.

Has anyone come across this issue where downloads on android (both emulator and real device, both small and large files, can happen either at the start of file download or in middle of transfer for example when bytes were already written) seem to randomly hit a "PAUSED - WAITING TO RETRY" status before the downloader tries to continue the download and then it finishes?

I appreciate any feedback and sorry for not using the template!

Thanks Roy

SimonSimCity commented 4 years ago

Can you please answer some questions on this?

shakazulu89 commented 4 years ago
shakazulu89 commented 4 years ago

i havent tried the sample app yet but i did try to use different files to make sure it hasnt to do with my server and the issues is still happening when i try to use this link for downloading: https://file-examples-com.github.io/uploads/2017/10/file-example_PDF_1MB.pdf

and i did confirm it simply pauses randomly somewhere in the download and then continues after 20 seconds or so...

any ideas what might be causing this?

shakazulu89 commented 4 years ago

update: i tried the sample app using the file i sent in my previous comment and same thing is happening. not always, but after clicking download 3 times the downloader went into "Paused.WaitingToRetry".

i was also thinking what would be the best way to make the downloader immediately retry to download again instead of waiting around 30 seconds before retrying... ?

i would really appreciate any help because this is a big issue fir me.

Thanks

shakazulu89 commented 4 years ago

it seems to only happen on the emulator. i remember checking on device and it happened but now i cant recreate it so i will close this ticket ...

SimonSimCity commented 4 years ago

I didn't have much time until now to test this, and haven't heard of others having this issue. Feel free to request a re-opening as you see it appearing again.

Seems to be another issue which might be solved by implementing a custom download manager for Android #34

nziosys commented 3 years ago

I'm facing a similer issue. Only on simulator and randomly the download pauses about 99% or less, than retries and fails.