Open Bug 1778161 Opened 2 years ago Updated 8 months ago

Download error if connection changed (ex WiFi <-> Data)

Categories

(Fenix :: General, defect)

Firefox 118
Unspecified
Android
defect

Tracking

(firefox116 affected, firefox117 affected, firefox118 affected)

Tracking Status
firefox116 --- affected
firefox117 --- affected
firefox118 --- affected

People

(Reporter: stehlampen, Unassigned)

Details

(Whiteboard: [qa-triaged])

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox for Android

Steps to reproduce:

To say it before: The issue happened on Android, but I presume that it does not depend upon the operating system.
Start a download and change the Internet connection from mobile data to WLAN (or vice versa).

Actual results:

In some cases, the download does not continue. Pausing and resuming solves the problem.

Expected results:

The download should continue despite the change of the internet connection.

Assumed cause (Reasonable speculation): A package is sent on mobile data to request a further slice of the file to be downloaded. The answer does not reach its target, since changing the way to connect with the Internet (mobile data / WLAN) changes the IP adress. To solve this issue, Firefox should re-request the data after a connection type change.

The Bugbug bot thinks this bug should belong to the 'Core::Networking' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Networking
Product: Firefox → Core
Component: Networking → Downloads Panel
Product: Core → Firefox

Sorry Dragana, do you believe this is more of a download UI concern than a network handling concern?
In other words, is there anything reasonable network could/should do here, or nothing can be done and the UI may just do a better job at restarting failed downloads?

Flags: needinfo?(dd.mozilla)

The download code in Fenix is pretty different from desktop, so I'm going to move this to a Fenix component.

Component: Downloads Panel → Stability
Product: Firefox → Fenix
Version: Firefox 102 → unspecified

Fenix uses the Gecko network stack to complete the download. I don't think there is anything for the front end to do.

Status: UNCONFIRMED → NEW
Component: Stability → Networking: HTTP
Ever confirmed: true
Product: Fenix → Core
Summary: Download error if connection changed → Download error if connection changed (ex WiFi <-> Data)

(In reply to Marco Bonardo [:mak] from comment #2)

Sorry Dragana, do you believe this is more of a download UI concern than a network handling concern?
In other words, is there anything reasonable network could/should do here, or nothing can be done and the UI may just do a better job at restarting failed downloads?

Necko cannot do anything here. UI should decide if it wants to restart download. Necko does not have such functionality.

Component: Networking: HTTP → Downloads Panel
Flags: needinfo?(dd.mozilla)
Product: Core → Firefox

Still not Firefox for desktop, comment 0 says this happened on Android.

Component: Downloads Panel → Stability
Product: Firefox → Fenix
Component: Stability → General
OS: Unspecified → Android
Severity: -- → S3
Status: NEW → UNCONFIRMED
Ever confirmed: false

I was able to reproduce this issue on the latest Fenix Nightly build from 8/23, Beta 117.0b9, and RC 117.0 build 1, with Google Pixel 6 (Android 14).
Switching from wi-fi to mobile data, or vice-verso while downloading a file, fails the download.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [qa-triaged]
Version: unspecified → Firefox 118
You need to log in before you can comment on or make changes to this bug.