Closed
Bug 870297
Opened 12 years ago
Closed 12 years ago
[Buri][Shira-49060][APN]Set APN proxy, but the browser does not use the proxy
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect, P2)
Tracking
(blocking-b2g:tef+)
People
(Reporter: sync-1, Assigned: pgravel)
Details
(Whiteboard: [status: needs patch] Poland, IOT, Buri, [POVB][buri][COM_RIL])
Attachments
(1 file)
59.36 KB,
application/octet-stream
|
Details |
AU_LINUX_GECKO_ICS_STRAWBERRY_V1.01.00.01.019.094
Firefox os v1.0.1
Mozilla build ID:20130502070201
+++ This bug was initially created as a clone of Bug #451487 +++
DEFECT DESCRIPTION:
[DT][APN]Set APN proxy, but the browser does not use the proxy
REPRODUCING PROCEDURES:
1.Insert a 2G China mobile sim card
2.goto settings --> cellular & data --> data settings, choose the cmwap APN, the APN proxy is 10.0.0.172
3.browser some websites and catch the trace, find no request is sent to the proxy, the device still goes directly online and is not using it!---KO
EXPECTED BEHAVIOUR:
If a proxy server is defined, it shall be used.
ASSOCIATE SPECIFICATION:
TEST PLAN REFERENCE:
TOOLS AND PLATFORMS USED:
USER IMPACT:Customers defining their own proxy for usage can not use it properly since the device is ignoring proxy settings.
REPRODUCING RATE:5/5
For FT PR, Please list reference mobile's behavior:
++++++++++ end of initial bug #451487 description ++++++++++
Updated•12 years ago
|
blocking-b2g: --- → tef?
Comment 3•12 years ago
|
||
Proxy settings would be applied system-wide, not just in the browser app.
Moving to settings to investigate whether this is being set correctly.
Component: Gaia::Browser → Gaia::Settings
Updated•12 years ago
|
Whiteboard: Poland, IOT, Buri
Comment 4•12 years ago
|
||
Can you help us to understand what testing milestone will be blocked by this bug for you? We're looking for a specific deadline.
Flags: needinfo?(chengan.xiong)
Comment 5•12 years ago
|
||
(In reply to Alex Keybl [:akeybl] from comment #4)
> Can you help us to understand what testing milestone will be blocked by this
> bug for you? We're looking for a specific deadline.
IOT2
Flags: needinfo?(chengan.xiong)
Comment 6•12 years ago
|
||
Ben is right the proxy settings are applied system-wide. How do you see in the logs that requests are not sent to the proxy? I would recommend you guys to enable RIL and Network Manager logs for reporting Telephony/Networking related issues. For doing that just turn to true both vars, or just the second one if you are running with commercial RIL.
http://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/NetworkManager.js#109
http://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_consts.js#17
Comment 7•12 years ago
|
||
Dylan - can you help to reassign for resolution this week?
Assignee: nobody → doliver
blocking-b2g: tef? → tef+
Target Milestone: --- → 1.0.1 IOT2 (31may)
Updated•12 years ago
|
Whiteboard: Poland, IOT, Buri → [status: needs owner] Poland, IOT, Buri
Comment 8•12 years ago
|
||
Anyone who could provide the logs I requested in comment #6 please? BTW, what tool has been used to get the logs attached here?
Anshul, proxy settings are set system-wide by the Network Manager implemented in [1] by the `setNetworkProxy` function in the reference implementation. Does the commercial RIL handle proxy settings in a different way? Please, let me know as son as you can. Thanks!
[1] http://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/NetworkManager.js
Assignee: doliver → josea.olivera
Flags: needinfo?(anshulj)
Comment 9•12 years ago
|
||
I'm able to reproduce the issue. Just pushed a tcpdump binary onto the device and I see that traffic is not going through the proxy If it's set. Figuring out what's goin on. Keep you guys updated.
Updated•12 years ago
|
Whiteboard: [status: needs owner] Poland, IOT, Buri → [status: needs patch] Poland, IOT, Buri
Comment 10•12 years ago
|
||
Got it. The issue is because the commercial RIL. The proxy settings are lost and are empty when they reach the network manager code. The test has been done on the 20130515 Buri build. Here is the network manager logs.
Commercial RIL:
I/Gecko ( 592): -*- NetworkManager: Evaluating whether active network needs to be changed.
E/SST_QC_B2G( 592): FormatNetworkSelectionMessage
I/Gecko ( 592): -*- NetworkManager: Going to change route and DNS to rmnet0
I/Gecko ( 592): -*- NetworkManager: No proxy support for rmnet0 network interface.
I/Gecko ( 592): -*- NetworkManager: getNetworkInterfaceStats for rmnet0
I/Gecko ( 592): -*- NetworkManager: Network 'rmnet0' registered.
I/Gecko ( 592): -*- NetworkManager: Network rmnet0 changed state to 1
I/Gecko ( 592): -*- NetworkManager: Going to add host route on rmnet0
I/Gecko ( 592): -*- NetworkManager: Remove default route for rmnet0
I/Gecko ( 592): -*- NetworkManager: Evaluating whether active network needs to be changed.
I/Gecko ( 592): -*- NetworkManager: Going to change route and DNS to rmnet0
I/Gecko ( 592): -*- NetworkManager: Proxy conf is :
I/Gecko ( 592): -*- NetworkManager: No proxy support for rmnet0 network interface.
Reference RIL:
I/Gecko ( 146): -*- NetworkManager: Evaluating whether active network needs to be changed.
I/Gecko ( 146): RIL Worker: Received 192 bytes.
I/Gecko ( 146): RIL Worker: Already read 0
I/Gecko ( 146): RIL Worker: New incoming parcel of size 188
I/Gecko ( 146): RIL Worker: Parcel (size 188): 1,0,0,0,242,3,0,0,6,0,0,0,1,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,2,0,0,0,2,0,0,0,73,0,80,0,0,0,0,0,6,0,0,0,114,0,109,0,110,0,101,0,116,0,48,0,0,0,0,0,15,0,0,0,49,0,48,0,46,0,49,0,51,0,46,0,50,0,53,0,49,0,46,0,52,0,57,0,47,0,51,0,48,0,0,0,25,0,0,0,56,0,48,0,46,0,53,0,56,0,46,0,54,0,49,0,46,0,50,0,53,0,48,0,32,0,56,0,48,0,46,0,53,0,56,0,46,0,54,0,49,0,46,0,50,0,53,0,52,0,0,0,12,0,0,0,49,0,48,0,46,0,49,0,51,0,46,0,50,0,53,0,49,0,46,0,53,0,48,0,0,0,0,0
I/Gecko ( 146): -*- NetworkManager: getNetworkInterfaceStats for rmnet0
I/Gecko ( 146): RIL Worker: We have at least one complete parcel.
I/Gecko ( 146): RIL Worker: Unsolicited response for request type 1010
I/Gecko ( 146): RIL Worker: Handling parcel as UNSOLICITED_DATA_CALL_LIST_CHANGED
I/Gecko ( 146): -*- NetworkManager: Network 'rmnet0' registered.
I/Gecko ( 146): -*- RadioInterfaceLayer: Data call settings: nothing to do.
I/Gecko ( 146): -*- NetworkManager: Network rmnet0 changed state to 1
I/Gecko ( 146): -*- NetworkManager: Going to add host route on rmnet0
I/Gecko ( 146): -*- NetworkManager: Remove default route for rmnet0
I/Gecko ( 146): RIL Worker: Next parcel size unknown, going to sleep.
I/Gecko ( 146): -*- NetworkManager: Evaluating whether active network needs to be changed.
I/Gecko ( 146): -*- NetworkManager: Going to change route and DNS to rmnet0
I/Gecko ( 146): -*- NetworkManager: Proxy conf is 10.138.255.133:10.138.255.133
I/Gecko ( 146): -*- NetworkManager: Going to set proxy settings for rmnet0 network interface.
Anshul, thoughts?
Updated•12 years ago
|
Whiteboard: [status: needs patch] Poland, IOT, Buri → [status: needs patch] Poland, IOT, Buri, [POVB][buri][COM_RIL]
Comment 11•12 years ago
|
||
Phil, please have a look at this issue. Reassigning the bug to Phil as this seems like a commercial RIL issue at this moment.
Assignee: josea.olivera → pgravel
Flags: needinfo?(anshulj) → needinfo?(pgravel)
Assignee | ||
Comment 12•12 years ago
|
||
Issue reproduced and resolved.
Fix will be released in an upcoming AU (111, most likely).
Flags: needinfo?(pgravel)
Assignee | ||
Comment 13•12 years ago
|
||
Fixed released in AU_LINUX_GECKO_ICS_STRAWBERRY_V1.01.00.01.019.110
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Comment 14•12 years ago
|
||
reverting to Fixed statis, since comment 13 infers fixed, versus invalid.
Resolution: INVALID → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•