Closed Bug 1132734 Opened 6 years ago Closed 6 years ago
Server Side Updates mechanism seems to be stalled
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%");
Looks like it's not syncing. The URL is https://dynamicua.cdn.mozilla.net/0/%7B3c2e2abc-06d4-11e1-ac3b-374f68613e61%7D
So something is clearly broken. Who owns this part of the infrastructure?
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?
Sorry guys, I was out on PTO last week. Will ask webops to help here.
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.
I've also issued a purge request for dynamicua.cdn.mozilla.net/0/*.* so it should pick up the new content fairly quickly.
And since Webops owns that script, I've committed the changes and it should be correct moving forward.
Should this be considered fixed now?
I think so.
Assignee: nobody → rsoderberg
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.