Closed Bug 1151698 Opened 9 years ago Closed 9 years ago

[Nexus 5] Browsing over cellular data fails

Categories

(Firefox OS Graveyard :: RIL, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: pmathur, Unassigned)

Details

(Whiteboard: [2.2-nexus-5-l])

Attachments

(2 files)

Steps to reproduce
1. On the Nexus 5 device, go to Settings > Cellular & Data and enable Data Connection. 
2. Launch the browser app and tap on any Top Sites tile.

Expected Results
The webpage loads in the browser because of an Internet connection through cellular data.

Actual Results
An error message is displayed: "<Website> requires an Internet connection." The "Check settings" button is displayed.

Test Environment 
Gaia-Rev        a6351e1197d54f8624523c2db9ba1418f2aa046f
Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/c3335a5d3063
Build-ID        20150406002503
Version         37.0
Device-Name     hammerhead
FW-Release      5.0
FW-Incremental  eng.cltbld.20150406.035814
FW-Date         Mon Apr  6 03:58:30 EDT 2015
Bootloader      HHZ12d
Flags: needinfo?(hcheng)
I cannot reproduce this bug with bellow build.

* My STR:
1. disable WIFI
2. enable Data connection (3g)
3. Launch the Browser and tap on any top sites title.

* Test env:
Build ID               20150406162505
Gaia Revision          485322797a069e5b185931e87d15d4e921e25b64
Gaia Date              2015-04-06 18:36:29
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/f766e5052b39
Gecko Version          37.0
Device Name            hammerhead
Firmware(Release)      5.0
Firmware(Incremental)  eng.cltbld.20150406.195612
Firmware Date          Mon Apr  6 19:56:28 EDT 2015
Bootloader             HHZ12d
Flags: needinfo?(hcheng)
Whiteboard: [2.2-nexus-5-l]
Hi Parul,
Could you please provide us log with ril debugger enabled? And capture the log by "adb logcat -b radio -b main -v time|  (time parameter is helpful for us, please don't forget it:p ). Thank you.
Flags: needinfo?(pmathur)
Currently using Android 5.0, will switch to 5.1 this week.
https://intranet.mozilla.org/QA/B2G_Tips_and_Tricks#Android_5.0
blocking-b2g: 2.2? → 2.2+
Attached log with ril debugger enabled.

Steps to Reproduce:
1. Go to Settings > Developer and turn on 'RIL output in ADB'.
2. Execute the command |adb logcat -b radio -b main -v time|
3. Disable WiFi and enable Data connection.
4. Launch the Browser and tap on any top sites title.

Test Environment
same build as in Comment 0
Flags: needinfo?(pmathur)
According to the line |04-07 18:34:32.500 I/Gecko   (  193): -*- DataConnectionHandler[0]: No network interface for default data.|  I reason that gecko hasn't received apn setting from gaia, but as I couldn't see any messages related to "apn",  more messages are needed to help.

Hi Parul,
Please help capture the log again. And please record log messages starting from booting, thank you.
Flags: needinfo?(pmathur)
Attached adb logcat with ril-related debug flags turned on. Repeated steps in Comment 4. Magic happened. Functionality now working as expected. Bug could not be reproduced.

== Steps to enable debug flags of ril, mms, network in runtime ==
Go to https://github.com/bevis-tseng/Debug_Tools and download script "enable_debug_flags.sh".
adb root
chmod +x enable_debug_flags.sh
./enable_debug_flags.sh
Wait for B2G restarting complete.

== Steps to capture the packets in the devices ==
Go to https://github.com/bevis-tseng/Debug_Tools and download binary "tcpdump".
Install attached tcpdump command into test device:
adb remount; adb push tcpdump system/bin/;adb shell chmod 777 /system/bin/tcpdump
Start capturing tcpdump:
adb shell tcpdump -i any -p -s 0 -w /data/capture.pcap

error: only position independent executables (PIE) are supported.
http://dan.drown.org/android/
Q: What does the error "error: only position independent executables (PIE) are supported" mean?
A: Android 5.0 brought the requirement that only executables compiled with the -fPIE flag. These packages were compiled for Android 4.4 and earlier, so they won't work on 5.0.
Flags: needinfo?(pmathur)
Status: NEW → RESOLVED
blocking-b2g: 2.2+ → ---
Closed: 9 years ago
Keywords: smoketest
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: