Closed
Bug 986312
Opened 12 years ago
Closed 12 years ago
[Tarako][Settings] "Check now" for checking updates always occurs error
Categories
(Firefox OS Graveyard :: Vendcom, defect)
Tracking
(blocking-b2g:1.3T+)
RESOLVED
WONTFIX
| blocking-b2g | 1.3T+ |
People
(Reporter: ashiue, Assigned: seinlin)
Details
(Whiteboard: 1.3tarakorun1)
Attachments
(1 file)
|
479 bytes,
patch
|
Details | Diff | Splinter Review |
[Environment]
Tarako 1.3t
Gaia 85991dbf56616d0107e68465152f8fc3f97b656e
Gecko d7ce5d5fb3a285e84143368f0a621ea72e37a633
BuildID 20140321105246
Version 28.0
ro.build.version.incremental=87
ro.build.date=Fri Mar 21 08:01:31 CST 2014
[Reproduce steps]
1. go to "Settings" -> "Device Information" -> "Software updates".
2. Tap "Check now".
* Expect result:
It should tell me "This is already the latest version of Firefox OS" when there is no updates, or tell me there is something that I can update.
* Actural result: always show "There was an error when checking for updates."
[Logs]
I/Gecko ( 81): UpdatePrompt: Forcing update check
I/Gecko ( 81): *** AUS:SVC Checker: checkForUpdates, force: true
E/GeckoConsole( 81): AUS:SVC Checker: checkForUpdates, force: true
I/Gecko ( 81): *** AUS:SVC Checker:getUpdateURL - update URL: http://update.boot2gecko.org/default/update.xml?force=1
E/GeckoConsole( 81): AUS:SVC Checker:getUpdateURL - update URL: http://update.boot2gecko.org/default/update.xml?force=1
I/Gecko ( 81): *** AUS:SVC Checker:checkForUpdates - sending request to: http://update.boot2gecko.org/default/update.xml?force=1
E/GeckoConsole( 81): AUS:SVC Checker:checkForUpdates - sending request to: http://update.boot2gecko.org/default/update.xml?force=1
I/GeckoDump( 81): XXX FIXME : Got a mozContentEvent: force-update-check
E/GeckoConsole( 81): [JavaScript Error: "syntax error" {file: "http://update.boot2gecko.org/default/update.xml?force=1" line: 1 column: 50 source: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">"}]
I/Gecko ( 81): *** AUS:SVC Checker:onLoad - request completed downloading document
E/GeckoConsole( 81): AUS:SVC Checker:onLoad - request completed downloading document
I/Gecko ( 81): *** AUS:SVC Checker:_updates get - unexpected node name!
E/GeckoConsole( 81): AUS:SVC Checker:_updates get - unexpected node name!
I/Gecko ( 81): *** AUS:SVC Checker:onLoad - there was a problem checking for updates. Exception: Error: Unexpected node name, expected: updates, got: parsererror
E/GeckoConsole( 81): AUS:SVC Checker:onLoad - there was a problem checking for updates. Exception: Error: Unexpected node name, expected: updates, got: parsererror
I/Gecko ( 81): *** AUS:SVC Checker:onLoad - request.status: 404
E/GeckoConsole( 81): AUS:SVC Checker:onLoad - request.status: 404
I/Gecko ( 81): *** AUS:SVC getStatusTextFromCode - transfer error: Update XML file not found (404), code: 404
E/GeckoConsole( 81): AUS:SVC getStatusTextFromCode - transfer error: Update XML file not found (404), code: 404
I/Gecko ( 81): UpdatePrompt: Setting gecko.updateStatus: check-error-http-404
I/Gecko ( 81): *** AUS:SVC UpdateService:onError - error during background update. error code: 1404, status text: Update XML file not found (404)
E/GeckoConsole( 81): AUS:SVC UpdateService:onError - error during background update. error code: 1404, status text: Update XML file not found (404)
E/GeckoConsole( 847): Content JS WARN at app://settings.gaiamobile.org/gaia_build_defer_index.js:6 in consoleWarn: [l10n] #check-error-http-404 is undefined.
E/GeckoConsole( 847): Content JS ERROR at app://settings.gaiamobile.org/js/about.js:103 in onUpdateStatus: Error checking for system update: check-error-http-404
W/WifiHW ( 81): wifi_command: SIGNAL_POLL
D/wpa_supplicant( 408): nl80211: survey data missing!
| Reporter | ||
Updated•12 years ago
|
Whiteboard: 1.3tarakorun1
| Reporter | ||
Updated•12 years ago
|
Severity: normal → major
Noming because there's more concern about not being able to update properly if there was something to update with.
blocking-b2g: --- → 1.3T?
| Reporter | ||
Updated•12 years ago
|
Severity: major → normal
Comment 2•12 years ago
|
||
Tim, can you please help investigate if the error could be on our side or a vendcom issue ?
blocking-b2g: 1.3T? → 1.3T+
Flags: needinfo?(timdream)
Comment 3•12 years ago
|
||
http://update.boot2gecko.org/default/update.xml?force=1 is indeed 404 so the error is expected.
To test whether or not this bug actual exists we need to config our builds for testing properly.
Component: Gaia::Settings → General
Flags: needinfo?(timdream)
Comment 4•12 years ago
|
||
to Kli for now, please reassign as you see fit. thanks
Assignee: nobody → kli
| Assignee | ||
Comment 5•12 years ago
|
||
The root cause is what Tim said in comment 3. In another word the "app.update.url" should be configured correctly where update server is hosted.
The url for checking update can be overridden in device perf file as in the attached file.
I setup/verfiy with a dummy update server and found the update checking process does work properly.
-----
I/Gecko ( 81): UpdatePrompt: Forcing update check
I/Gecko ( 81): *** AUS:SVC Checker: checkForUpdates, force: true
E/GeckoConsole( 81): AUS:SVC Checker: checkForUpdates, force: true
I/Gecko ( 81): *** AUS:SVC Checker:getUpdateURL - update URL: http://10.247.24.88/tarako/update.xml?force=1
E/GeckoConsole( 81): AUS:SVC Checker:getUpdateURL - update URL: http://10.247.24.88/tarako/update.xml?force=1
I/Gecko ( 81): *** AUS:SVC Checker:checkForUpdates - sending request to: http://10.247.24.88/tarako/update.xml?force=1
E/GeckoConsole( 81): AUS:SVC Checker:checkForUpdates - sending request to: http://10.247.24.88/tarako/update.xml?force=1
I/GeckoDump( 81): XXX FIXME : Got a mozContentEvent: force-update-check
I/Gecko ( 81): *** AUS:SVC Checker:onLoad - request completed downloading document
E/GeckoConsole( 81): AUS:SVC Checker:onLoad - request completed downloading document
I/Gecko ( 81): *** AUS:SVC Checker:getUpdateURL - update URL: http://10.247.24.88/tarako/update.xml?force=1
E/GeckoConsole( 81): AUS:SVC Checker:getUpdateURL - update URL: http://10.247.24.88/tarako/update.xml?force=1
I/Gecko ( 81): *** AUS:SVC Checker:onLoad - number of updates available: 1
E/GeckoConsole( 81): AUS:SVC Checker:onLoad - number of updates available: 1
| Assignee | ||
Comment 6•12 years ago
|
||
Joe, Can we resolve this as invalid as it does work as expected?
Comment 7•12 years ago
|
||
Please move to a different component than General when blocking on a bug.
Updated•12 years ago
|
Component: General → Gaia::System
Comment 8•12 years ago
|
||
lets make it right in the 1.3T branch
can you make the change? thanks
Flags: needinfo?(kli)
| Assignee | ||
Comment 9•12 years ago
|
||
Joe, I think it could be better to leave it in General because it is not related to gaia. When oem/odm confirmed where update server is hosted, they just need to update server url to device pref file as attached file in comment 5. No need to check-in code to gecko or gaia.
Component: Gaia::System → General
Flags: needinfo?(kli)
Updated•12 years ago
|
Component: General → Vendcom
Comment 10•12 years ago
|
||
(In reply to Kai-Zhen Li from comment #9)
> Joe, I think it could be better to leave it in General because it is not
> related to gaia. When oem/odm confirmed where update server is hosted, they
> just need to update server url to device pref file as attached file in
> comment 5. No need to check-in code to gecko or gaia.
We actually have a triage rule right now where we require all blocking bugs to be components other than General, as bugs in General get lost in the abyss easily.
Comment 11•12 years ago
|
||
this will need to be fixed by our final commercial launch partner
let's close this as won't fix
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•