Fenix can silently fails to load links on network failure with no error notification (loss of connection, loss of WAN connectivity
Categories
(Firefox for Android :: Browser Engine, defect)
Tracking
()
People
(Reporter: acreskey, Unassigned)
References
(Blocks 4 open bugs)
Details
Attachments
(2 files)
On a network with no WAN link,Fenix will silently fail to load links with no error notification.
For comparison, Chrome will generally display an error page, e.g. "This site can't be reached".
Steps to reproduce
- Load a top news site (e.g. bbc.com, cnn.com, ) in Fenix
- Disconnect your wireless access point from the WAN
- Click on a link
Expected behavior
An error is displayed or other indication that the pageload failed
In Chrome, the error page displayed is generally "This site can't be reached"
Actual behavior
The pageload progress bar disappears and thus the pageload silently fails without notification
Here's an example profile with nsHttp:5,nsSocketTransport:5,profilermarkers logs as markers.
https://share.firefox.dev/3XL4yil
From the user's perspective, the page load silently fails after about 47 seconds.
Note that while these particular steps to reproduce are artificial (i.e. disconnecting the access point from the WAN), scenarios in which the access point loses connection to WAN are common for mobile users.
e.g.
• wifi on a public transit as it travels between areas of coverage,
• events/venues: device may be able to connect to venue's wifi network, but there may not be stable WAN uplink to handle all users
Device information
- Firefox version: Fx129, also seeing same behaviour in Fx127, release channel
- Android device model: Samsung A54
- Android OS version: 14
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 1•1 year ago
|
||
We likely will need to move this bug to the ideal product/component.
Comment 2•1 year ago
|
||
The severity field is not set for this bug.
:boek, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 year ago
|
| Reporter | ||
Comment 3•1 year ago
|
||
Updated title because the silent failure can also occur on loss of connection to network.
In this example the connection to the access point was lost.
https://share.firefox.dev/4cyn9ll
nsHttp logs included as profiler markers.
| Reporter | ||
Comment 4•1 year ago
|
||
In this recording I clicked on the link for the main article.
We can see the pageload starts (progress bar at about 25%).
But as the network transitions, the pageload silently fails.
| Reporter | ||
Comment 5•1 year ago
|
||
For comparison, we can see how Chrome handles the same scenario:
The pageload is initiated, progress bar displayed
Chrome displays "No internet" page on loss of connection to initial interface
Chrome automatically resumes pageload on change of network
Page successfully completes load
| Reporter | ||
Comment 6•1 year ago
|
||
A profile (with nsHttp and related logs) where we have the pageload silently fail
https://share.firefox.dev/3SXbVQw
And one where we do actually get the "No internet" error page
https://share.firefox.dev/3SU6uC0
The request is "https://www.nytimes.com/2024/08/21/business/economy/harris-price-gouging-ban-groceries.html"
| Reporter | ||
Comment 7•1 year ago
|
||
If I have this right, the request fails here with this status:
nsHttpChannel::OnStopRequest [this=6bfdf74600 request=6bac822880 status=804b0002]
NS_BINDING_ABORTED = 0x804B0002
| Reporter | ||
Comment 8•8 months ago
|
||
Verified that this bug is still happening in the latest Fenix nightly.
It looks like it's often taking 60 seconds for the link-click load to silently fail.
Chrome is displaying an error page within 6-30 seconds.
For the necko side, let's first verify that we are correctly returning the failure.
Description
•