Closed Bug 989463 Opened 12 years ago Closed 12 years ago

Some videos on the video CDN stop working until cache is purged

Categories

(www.mozilla.org :: Pages & Content, defect)

Production
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cmore, Assigned: kohei)

References

Details

(Whiteboard: [kb=1320380] )

Attachments

(1 file)

Old URL: https://videos-cdn.mozilla.net New URL: https://videos.cdn.mozilla.net curl -I https://videos-cdn.mozilla.net HTTP/1.1 301 Moved Permanently Server: Apache X-Backend-Server: pp-web03 Vary: Accept-Encoding Content-Type: text/html; charset=iso-8859-1 Date: Fri, 28 Mar 2014 19:24:24 GMT Location: https://videos.cdn.mozilla.net/ Transfer-Encoding: chunked Connection: Keep-Alive X-Cache-Info: caching Here is an example of what we are seeing and how to fix it. 1) Clear local browser cache and view a video page that isn't working like http://www.mozilla.org/en-US/firefox/performance/ (works now) 2) Tell someone else to view the page and verify the video isn't playing. 3) Have one person shift+refresh the page and verify the video is playing. 4) Tell the other person to just to a regular refresh. 5) Magically the video plays fine. Since the users didn't have locale cache, it has to be server or CDN cache. Can we have the CDN cache purge so that it rebuilds? The old URL occurs 57 times in bedrock: ./bedrock/bedrock/firefox/templates/firefox/central.html: prefix='//videos-cdn.mozilla.net/serv/marketing/firefox4/', ./bedrock/bedrock/firefox/templates/firefox/central.html: prefix='//videos-cdn.mozilla.net/serv/marketing/696470/', ./bedrock/bedrock/firefox/templates/firefox/central.html: prefix='//videos-cdn.mozilla.net/serv/marketing/firefox4/', ./bedrock/bedrock/firefox/templates/firefox/customize.html: prefix='//videos-cdn.mozilla.net/serv/marketing/696470/', ./bedrock/bedrock/firefox/templates/firefox/customize.html: prefix='//videos-cdn.mozilla.net/serv/marketing/firefox4/', ./bedrock/bedrock/firefox/templates/firefox/features.html: prefix='//videos-cdn.mozilla.net/serv/mozhacks/demos/screencasts/runfield/', ./bedrock/bedrock/firefox/templates/firefox/features.html: prefix='//videos-cdn.mozilla.net/serv/mozhacks/demos/screencasts/remixingreality/', ./bedrock/bedrock/firefox/templates/firefox/features.html: prefix='//videos-cdn.mozilla.net/brand/', ./bedrock/bedrock/firefox/templates/firefox/firstrun.html: <source src="//videos-cdn.mozilla.net/brand/Mozilla_Firefox_Manifesto_v0.2_640.webm"> ./bedrock/bedrock/firefox/templates/firefox/fx.html: <source src="//videos-cdn.mozilla.net/serv/marketing/Firefox/Firefox%20Tabs_1.webm"> ./bedrock/bedrock/firefox/templates/firefox/mobile/sms-thankyou.html: <source src="//videos-cdn.mozilla.net/serv/marketing/fxforandroid/10-07-12_firefox_for_android_american-640x360 Video Sharing.webm"> ./bedrock/bedrock/firefox/templates/firefox/nightly_firstrun.html: <source src="//videos-cdn.mozilla.net/serv/qa/qa-360p-mp4.theora.ogv" type="video/ogg"> ./bedrock/bedrock/firefox/templates/firefox/performance.html: prefix='//videos-cdn.mozilla.net/serv/mozhacks/demos/screencasts/runfield/', ./bedrock/bedrock/firefox/templates/firefox/technology.html: <video preload="auto" width="160" src="//videos-cdn.mozilla.net/serv/firefoxlive/meetthecubs.webm" onmouseover="this.play()" onmouseout="this.pause()"></video> ./bedrock/bedrock/firefox/templates/firefox/whatsnew.html: <source src="//videos-cdn.mozilla.net/serv/marketing/fxforandroid/10-07-12_firefox_for_android_{{ locales_with_video[request.locale] }}-640x360 Video Sharing.webm"> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/a-competitive-world.html: prefix='//videos-cdn.mozilla.net/serv/mozillaorg/') }} ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/broadening-our-scope.html: <source src="//videos-cdn.mozilla.net/serv/mobile/meetFFXmobile2-640x360.webm" type="video/webm"/> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/broadening-our-scope.html: <source src="//videos-cdn.mozilla.net/serv/mobile/meetFFXmobile2-640x360.theora.ogv" type="video/ogg"/> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/broadening-our-scope.html: <source src="//videos-cdn.mozilla.net/serv/mobile/meetFFXmobile2-640x360.mp4" type="video/mp4"/> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/broadening-our-scope.html: <li><a href="//videos-cdn.mozilla.net/serv/mobile/meetFFXmobile2-640x360.webm">{{ _('WebM format') }}</a></li> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/broadening-our-scope.html: <li><a href="//videos-cdn.mozilla.net/serv/mobile/meetFFXmobile2-640x360.theora.ogv">{{ _('Ogg Theora format') }}</a></li> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/broadening-our-scope.html: <li><a href="//videos-cdn.mozilla.net/serv/mobile/meetFFXmobile2-640x360.mp4">{{ _('MPEG-4 format') }}</a></li> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/broadening-our-scope.html: <source src="//videos-cdn.mozilla.net/labs/openwebapps/openwebapps.webm" type="video/webm"/> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/broadening-our-scope.html: <source src="//videos-cdn.mozilla.net/labs/openwebapps/openwebapps.ogv" type="video/ogg"/> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/broadening-our-scope.html: <li><a href="//videos-cdn.mozilla.net/labs/openwebapps/openwebapps.webm">{{ _('WebM format') }}</a></li> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/broadening-our-scope.html: <li><a href="//videos-cdn.mozilla.net/labs/openwebapps/openwebapps.ogv">{{ _('Ogg Theora format') }}</a></li> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/broadening-our-scope.html: <source src="//videos-cdn.mozilla.net/serv/firefox4beta/syncvideo5final640x360.webm" type="video/webm"/> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/broadening-our-scope.html: <source src="//videos-cdn.mozilla.net/serv/firefox4beta/syncvideo5final640x3%23161DA3.ogv" type="video/ogg"/> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/broadening-our-scope.html: <source src="//videos-cdn.mozilla.net/serv/firefox4beta/syncvideo5final640x360.mp4" type="video/mp4"/> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/broadening-our-scope.html: <li><a href="//videos-cdn.mozilla.net/serv/firefox4beta/syncvideo5final640x360.webm">{{ _('WebM format') }}</a></li> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/broadening-our-scope.html: <li><a href="//videos-cdn.mozilla.net/serv/firefox4beta/syncvideo5final640x3%23161DA3.ogv">{{ _('Ogg Theora format') }}</a></li> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2009/broadening-our-scope.html: <li><a href="//videos-cdn.mozilla.net/serv/firefox4beta/syncvideo5final640x360.mp4">{{ _('MPEG-4 format') }}</a></li> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2010/ahead.html: <source src="//videos-cdn.mozilla.net/serv/brand/State%20of%20Mozilla%202011%20(fcp2)-RC%20-%20720p%20-%20MPEG-4.webm" type='video/webm; codecs="vp8, vorbis"' /> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2010/ahead.html: <source src="//videos-cdn.mozilla.net/serv/brand/State%20of%20Mozilla%202011%20(fcp2)-RC%20-%20720p%20-%20MPEG-4.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' /> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2010/ahead.html: <source src="//videos-cdn.mozilla.net/serv/brand/State%20of%20Mozilla%202011%20(fcp2)-RC%20-%20720p%20-%20MPEG-4.theora%202.ogv" type='video/ogg; codecs="theora, vorbis"' /> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2010/index.html: <source src="//videos-cdn.mozilla.net/brand/Mozilla_Firefox_Manifesto_v0.2_640.webm" type='video/webm; codecs="vp8, vorbis"' /> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2010/index.html: <source src="//videos-cdn.mozilla.net/brand/Mozilla_Firefox_Manifesto_v0.2_640.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' /> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2010/index.html: <source src="//videos-cdn.mozilla.net/brand/Mozilla_Firefox_Manifesto_v0.2_640.theora.ogv" type='video/ogg; codecs="theora, vorbis"' /> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2010/index.html: <li><a href="//videos-cdn.mozilla.net/brand/Mozilla_Firefox_Manifesto_v0.2_640.webm">{{ _('WebM format') }}</a></li> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2010/index.html: <li><a href="//videos-cdn.mozilla.net/brand/Mozilla_Firefox_Manifesto_v0.2_640.theora.ogv">{{ _('Ogg Theora format') }}</a></li> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2010/index.html: <li><a href="//videos-cdn.mozilla.net/brand/Mozilla_Firefox_Manifesto_v0.2_640.mp4">{{ _('MPEG-4 format') }}</a></li> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2010/people.html: <source src="//videos-cdn.mozilla.net/serv/webmademovies/Moz_Doc_0329_GetInvolved_ST.webm" type='video/webm; codecs="vp8, vorbis"' /> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2010/people.html: <source src="//videos-cdn.mozilla.net/serv/webmademovies/Moz_Doc_0329_GetInvolved_ST.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' /> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2010/people.html: <source src="//videos-cdn.mozilla.net/serv/webmademovies/Moz_Doc_0329_GetInvolved_ST.ogv" type='video/ogg; codecs="theora, vorbis"' /> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2010/people.html: <li><a href="//videos-cdn.mozilla.net/serv/webmademovies/Moz_Doc_0329_GetInvolved_ST.webm">{{ _('WebM format') }}</a></li> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2010/people.html: <li><a href="//videos-cdn.mozilla.net/serv/webmademovies/Moz_Doc_0329_GetInvolved_ST.ogv">{{ _('Ogg Theora format') }}</a></li> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2010/people.html: <li><a href="//videos-cdn.mozilla.net/serv/webmademovies/Moz_Doc_0329_GetInvolved_ST.mp4">{{ _('MPEG-4 format') }}</a></li> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2011.html: <a class="video-play" href="//videos-cdn.mozilla.net/brand/Mozilla_2011_Story.webm" data-video-source="//videos-cdn.mozilla.net/brand/Mozilla_2011_Story" title="{{ _('Click to play this video') }}"> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2011.html: <a class="video-play" href="https://webmaker.org/videos/" data-video-source="//videos-cdn.mozilla.net/serv/webmademovies/webmakers-instructors" title="{{ _('Click to view this video') }}"> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2011.html: <a class="video-play" href="//videos-cdn.mozilla.net/serv/drafts/MozCamp-Latam.webm" data-video-source="//videos-cdn.mozilla.net/serv/drafts/MozCamp-Latam" title="{{ _('Click to play this video') }}"> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2011.html: <a class="contributor contrib-play" href="//videos-cdn.mozilla.net/serv/drafts/Contributorstory1.webm" data-poster="{{ media('img/foundation/annualreport/2011/contributors/chit-poster.jpg') }}"> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2011.html: <a class="contributor contrib-play" href="//videos-cdn.mozilla.net/serv/drafts/Contributorstory2.webm" data-poster="{{ media('img/foundation/annualreport/2011/contributors/viking-poster.jpg') }}"> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2011.html: <a class="contributor contrib-play" href="//videos-cdn.mozilla.net/serv/drafts/Contributorstory4.webm" data-poster="{{ media('img/foundation/annualreport/2011/contributors/keng-poster.jpg') }}"> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2011.html: <a class="contributor contrib-play" href="//videos-cdn.mozilla.net/serv/drafts/Contributorstory5.webm" data-poster="{{ media('img/foundation/annualreport/2011/contributors/claire-poster.jpg') }}"> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2011.html: <a class="contributor contrib-play" href="//videos-cdn.mozilla.net/serv/drafts/Contributorstory6.webm" data-poster="{{ media('img/foundation/annualreport/2011/contributors/haitham-poster.jpg') }}"> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2011.html: <a class="contributor contrib-play" href="//videos-cdn.mozilla.net/serv/drafts/Contributorstory7.webm" data-poster="{{ media('img/foundation/annualreport/2011/contributors/ioana-poster.jpg') }}"> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2011.html: <a class="contributor contrib-play" href="//videos-cdn.mozilla.net/serv/drafts/Contributorstory8.webm" data-poster="{{ media('img/foundation/annualreport/2011/contributors/brian-poster.jpg') }}"> ./bedrock/bedrock/foundation/templates/foundation/annualreport/2011.html: <a class="contributor contrib-play" href="//videos-cdn.mozil
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Status: REOPENED → NEW
Assignee: nobody → kohei.yoshino
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [kb=1320380]
See also bug 988444 comment 17, which explains why the 301 is not working.
Status: NEW → ASSIGNED
Commits pushed to master at https://github.com/mozilla/bedrock https://github.com/mozilla/bedrock/commit/c67c110f5818f43e15923b6a854f44160c9afda2 Fix Bug 989463 - Some videos on the video CDN stop working until cache is purged Update the CDN hostname to fix the playback issue. https://github.com/mozilla/bedrock/commit/c2b6e3b840b252a1a2a4ae6ba6923e7f2749998d Merge pull request #1850 from kyoshino/bug-989463-videos-cdn Fix Bug 989463 - Some videos on the video CDN stop working until cache is purged
Status: ASSIGNED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: