Closed
Bug 1132734
Opened 10 years ago
Closed 10 years ago
Server Side Updates mechanism seems to be stalled.
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: karlcow, Assigned: Atoll)
References
()
Details
In Web Compatibility, we noticed discrepancies in the UA override on the device and the status of the list.
The latest update to the UA override list has been done by Bug 1103680 on 2014-12-22 21:28:48
Which explicitly removed the UA override for "linkedin.com" into
https://hg.mozilla.org/mozilla-central/file/tip/b2g/app/ua-update.json.in
(We removed the spoofing for linkedin because the site is broken with it. Not functioning mobile version.)
When testing on a Flame the site linkedin.com, we noticed that
1. spoofing Firefox OS UA on Gecko Desktop, get us the desktop site (normal)
2. spoofing Firefox OS UA on Blink mobile emulator, get us the desktop site (normal)
3. deactivating the update mechanism, get us the desktop site (normal)
pref("general.useragent.updates.enabled", false); in
/system/b2g/defaults/pref/user.js
BUT
4. with the update mechanism enabled, we receive the mobile version.
It means the spoofing is going on.
So there is something broken somewhere. :)
We need to find out.
I found out today about Bug 1072050 but that doesn't seem related to our issue.
Question:
* Is the sync mechanism is still active in between mozilla central and the cdn?
* Which URI could we manually test to double check the server is sending the right list? I see, but don't know what %APP_ID% is supposed to be.
pref("general.useragent.updates.url", "https://dynamicua.cdn.mozilla.net/0/%APP_ID%");
Comment 1•10 years ago
|
||
Looks like it's not syncing. The URL is https://dynamicua.cdn.mozilla.net/0/%7B3c2e2abc-06d4-11e1-ac3b-374f68613e61%7D
![]() |
Reporter | |
Comment 2•10 years ago
|
||
So something is clearly broken. Who owns this part of the infrastructure?
Flags: needinfo?(nchen)
![]() |
Reporter | |
Comment 4•10 years ago
|
||
So from Bug 957818
* Brandon Burton (:solarce) not at Moz anymore?
* Chris Turra (:cturra) not at Moz anymore?
from Bug 912215
* Jake Maul (:jakem) not at Moz anymore?
* Ah maybe Correy Shields -> ni
We seem to have an issue. The current lists are out of sync, and probably for a long time.
https://hg.mozilla.org/mozilla-central/file/tip/b2g/app/ua-update.json.in
https://dynamicua.cdn.mozilla.net/0/%7B3c2e2abc-06d4-11e1-ac3b-374f68613e61%7D
Could you help us to get it fixed?
Flags: needinfo?(cshields)
![]() |
Reporter | |
Updated•10 years ago
|
![]() |
Reporter | |
Updated•10 years ago
|
Comment 5•10 years ago
|
||
Sorry guys, I was out on PTO last week. Will ask webops to help here.
Flags: needinfo?(cshields)
The update script is buggy:
if [ ! -d $CODE_DIR/$FILE_REVISION_NAME ]
Needs to be revised to:
if [ ! -f
Because otherwise on every run, it overwrites the deployed revision file with the latest revision, and then exits cleanly because the two versions match.
I temporarily patched the -d/-f fix into the update script and ran it manually, which appears to have deployed the updated dyanmicua content for you - and then reverted my temporary fix so this can be repaired by whatever normal process occurs here.
Comment 9•10 years ago
|
||
I've also issued a purge request for dynamicua.cdn.mozilla.net/0/*.* so it should pick up the new content fairly quickly.
![]() |
Assignee | |
Comment 10•10 years ago
|
||
And since Webops owns that script, I've committed the changes and it should be correct moving forward.
Comment 11•10 years ago
|
||
Should this be considered fixed now?
Comment 12•10 years ago
|
||
I think so.
Assignee: nobody → rsoderberg
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•