Closed Bug 842147 Opened 11 years ago Closed 11 years ago

Captive portal Errors: 02-17 09:31:05.188: E/GeckoConsole(110): [JavaScript Error: "[Exception... "No canonical URL set up." nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: jar:file:///system/b2g/omni.ja!/components/captivedetect.js ::

Categories

(Firefox OS Graveyard :: Wifi, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:-, firefox20 wontfix, firefox21 wontfix, firefox22 fixed, b2g18+ fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 wontfix)

RESOLVED FIXED
B2G C4 (2jan on)
blocking-b2g -
Tracking Status
firefox20 --- wontfix
firefox21 --- wontfix
firefox22 --- fixed
b2g18 + fixed
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- wontfix

People

(Reporter: tchung, Assigned: schien)

References

Details

Attachments

(1 file)

My device is flooded with captive portal errors.  let me know if these are of concern.

Logcat:
02-17 09:31:05.147: I/ONCRPC(115): rpc_handle_rpc_call: for Xid: 1c0, Prog: 31000000, Vers: fc37ad5c, Proc: 00000004
02-17 09:31:05.147: I/ONCRPC(115): rpc_handle_rpc_call: Find Status: 0 Xid: 1c0
02-17 09:31:05.147: I/ONCRPC(115): oncrpc_proxy_handle_cmd_rpc_call: Dispatching xid: 1c0
02-17 09:31:05.147: I/ONCRPC(115): xdr_std_msg_send_call: Received Reply Xid: d1, Prog: 30000000, Ver: ddc9bd91, Proc: 000000b0
02-17 09:31:05.147: I/ONCRPC(115): rpc_handle_rpc_call: for Xid: 1c1, Prog: 31000000, Vers: fc37ad5c, Proc: 0000000f
02-17 09:31:05.147: I/ONCRPC(115): rpc_handle_rpc_call: Find Status: 0 Xid: 1c1
02-17 09:31:05.147: I/ONCRPC(115): oncrpc_proxy_handle_cmd_rpc_call: Dispatching xid: 1c1
02-17 09:31:05.188: E/GeckoConsole(110): [JavaScript Error: "[Exception... "No canonical URL set up."  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: jar:file:///system/b2g/omni.ja!/components/captivedetect.js :: checkCaptivePortal :: line 238"  data: no]" {file: "jar:file:///system/b2g/omni.ja!/components/captivedetect.js" line: 238}]
02-17 09:31:05.208: E/GeckoConsole(110): [JavaScript Error: "[Exception... "No canonical URL set up."  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: jar:file:///system/b2g/omni.ja!/components/captivedetect.js :: checkCaptivePortal :: line 238"  data: no]" {file: "jar:file:///system/b2g/omni.ja!/components/captivedetect.js" line: 238}]
02-17 09:31:05.208: I/Gecko(110): -*- QCContentHelper_QC_B2G: sendMessage to content process: RIL:VoiceInfoChanged{connected : true,emergencyCallsOnly : false,roaming : false,type : 'edge',signalStrength : -109,relSignalStrength : 6,network : {mcc : 310, mnc :410, longName : 'AT&T', shortName : 'AT&T'},cell : {gsmLocationAreaCode : 6037, gsmCellId :483},state : 'registered'}
02-17 09:31:05.218: I/Gecko(110): -*- QCContentHelper_QC_B2G: sendMessage to content process: RIL:DataInfoChanged{connected : true,emergencyCallsOnly : false,roaming : false,type : 'edge',signalStrength : -109,relSignalStrength : 6,network : {mcc : 310, mnc :410, longName : 'AT&T', shortName : 'AT&T'},cell : {gsmLocationAreaCode : 6037, gsmCellId :483},state : 'registered'}
02-17 09:31:07.990: I/ONCRPC(115): rpc_handle_rpc_call: for Xid: 1c4, Prog: 31000000, Vers: fc37ad5c, Proc: 00000012
02-17 09:31:07.990: I/ONCRPC(115): rpc_handle_rpc_call: Find Status: 0 Xid: 1c4
02-17 09:31:07.990: I/ONCRPC(115): oncrpc_proxy_handle_cmd_rpc_call: Dispatching xid: 1c4
02-17 09:31:08.000: D/SST_QC_B2G(110): Signal Strength changed; sending info to content process
02-17 09:31:08.000: D/SIGNAL_STRENGTH_QC_B2G(110): GetDbm = -101
02-17 09:31:08.000: D/SIGNAL_STRENGTH_QC_B2G(110): GetRelSignalStrength = 19
02-17 09:31:08.000: D/SIGNAL_STRENGTH_QC_B2G(110): GetDbm = -101
02-17 09:31:08.000: D/SIGNAL_STRENGTH_QC_B2G(110): GetRelSignalStrength = 19
02-17 09:31:08.000: I/Gecko(110): -*- QCContentHelper_QC_B2G: sendMessage to content process: RIL:VoiceInfoChanged{connected : true,emergencyCallsOnly : false,roaming : false,type : 'edge',signalStrength : -101,relSignalStrength : 19,network : {mcc : 310, mnc :410, longName : 'AT&T', shortName : 'AT&T'},cell : {gsmLocationAreaCode : 6037, gsmCellId :483},state : 'registered'}
02-17 09:31:08.010: I/Gecko(110): -*- QCContentHelper_QC_B2G: sendMessage to content process: RIL:DataInfoChanged{connected : true,emergencyCallsOnly : false,roaming : false,type : 'edge',signalStrength : -101,relSignalStrength : 19,network : {mcc : 310, mnc :410, longName : 'AT&T', shortName : 'AT&T'},cell : {gsmLocationAreaCode : 6037, gsmCellId :483},state : 'registered'}
02-17 09:31:11.233: E/rmt_storage(130): write_log_file: [MyTag]open: fd=-1
02-17 09:31:11.233: E/rmt_storage(130): block rmt_storage client thread

Build:
Gecko  http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/059a7e0badf7
Gaia   4164424049f9caa4e6b26aefe3a4fa7421451b2b
BuildID 20130217070201
Version 18.0
Component: General → Wifi
blocking-b2g: --- → shira?
These are harmless - we throw early when CP detection is not configured.
IMO, we can have it with proper log level and that's it.
Triage: blocking-b2g minus and tracking-b2g only
Assignee: nobody → schien
blocking-b2g: shira? → -
tracking-b2g18: --- → +
This JS exception is harmless as fabrice said in comment 1, but I can provide a patch to translate this scary JS exception into an informative log.
Comment on attachment 715438 [details] [diff] [review]
print debug message instead of JS exception

Review of attachment 715438 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good. Thank you.
Attachment #715438 - Flags: review?(vchang) → review+
https://hg.mozilla.org/mozilla-central/rev/3003f5aa28d4
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment #715438 - Flags: feedback?(fabrice)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: