Open Bug 762597 Opened 8 years ago Updated 3 months ago

Downloads immediately fail when connection lost on some devices


(Firefox for Android :: General, defect, P3)




Tracking Status
fennec - ---
firefox-esr68 --- affected
firefox57 --- wontfix
firefox58 --- wontfix
firefox59 --- affected
firefox60 --- affected
firefox61 --- affected
firefox62 --- affected
firefox63 --- affected
firefox64 --- affected
firefox65 --- affected
firefox66 --- affected
firefox67 --- affected
firefox68 --- affected


(Reporter: bnicholson, Unassigned)



On some devices, losing the connection during a download (switching to airplane mode, unplugging the router, etc) will immediately fail that download. The expected behavior is that the download will switch to an idle state, then resume once the connection is restored. This bug can will likely be annoying for users downloading larger files - particularly those users who have a spotty connection.

I looked into this some in bug 747388 (see comments 13-15). It looked like we were getting an ETIMEDOUT error, but I wasn't able to figure anything out beyond that. This bug had the side effect of leaving the .part file behind after failure; this was fixed in bug 747388 by checking for any temp files after a dl-failed, but it would be better if we could fix the actual failure.

So far, this has only been confirmed on Samsung Devices (Galaxy S, Galaxy Note, and Galaxy Nexus). My Droid RAZR does not have this problem.
Also please note that on some devices the download notification indicates the download as being complete when the connection is lost - covered in Bug 753710.
tracking-fennec: ? → -
See Also: → 857947
Duplicate of this bug: 1301896
As it can be seen in the duplicate bug 1301896 mentioned above, the bug still exists.
I'm using Samsung Galaxy S5, running Android 6.0.1.
Switching from mobile data over to a Wi-Fi network (and vice versa) while a download is in progress makes it fail.

If you need any more info, feel free to ask.
Priority: -- → P3

Hi! This is reproducible on ESR 68.1b5 with Nexus 9 (Android 7.1.1).

You need to log in before you can comment on or make changes to this bug.