https-everywhere icon indicating copy to clipboard operation
https-everywhere copied to clipboard

Current BBC ruleset breaks iPlayer

Open jay-to-the-dee opened this issue 12 years ago • 15 comments

I've presently had to disable the BBC (partial) rule as it breaks the Flash BBC iPlayer. I tested with this URL:

http://www.bbc.co.uk/iplayer/episode/b042v5m2/hd/Orphan_Black_Series_2_Governed_by_Sound_Reason_and_True_Religion/ (works)

OR

https://www.bbc.co.uk/iplayer/episode/b042v5m2/Orphan_Black_Series_2_Governed_by_Sound_Reason_and_True_Religion/ (doesn't work)

When the rule is on the page loads fine, but the Flash player displays "This content doesn't appear to be working. Try again later", with the rule disabled content plays fine.

I guess these rules don't play nice with Flash or that there’s some URL checking featuring within the player that's conflicting with the rules right?

jay-to-the-dee avatar May 08 '14 17:05 jay-to-the-dee

Sometimes the page also doesn't initially load properly with the HTTPS link, as Firefox is displaying a "Firefox is blocking content that isn't secure" notification.

jay-to-the-dee avatar May 08 '14 17:05 jay-to-the-dee

Hey @jay-to-the-dee -- do you still see this problem on BCC iplayer videos?

semenko avatar Aug 22 '14 02:08 semenko

Just checked - this rule still causes issues - when I tried Flash simply didn't load at all. Disabled the rule and switched back to plain HTTP and all worked fine again!

jay-to-the-dee avatar Aug 23 '14 18:08 jay-to-the-dee

So if we can work out what's actually broken etc, I know someone who works at the BBC on the iPlayer (backend) team... So we might be able to get them to fix this upstream too...

reedy avatar Aug 24 '14 16:08 reedy

Cool! I don't think I can be much help here, since georestrictions make the iPlayer nonfunctional for me. @jay-to-the-dee -- could you look in your browser console to see if anything stands out as being blocked?

semenko avatar Aug 24 '14 16:08 semenko

Hi @semenko sorry for the late response!

I seem to get the following in the console originating from the https://static.bbc.co.uk/frameworks/requirejs/0.16.0/sharedmodules/require.js library:

Blocked loading mixed active content "http://emp.bbci.co.uk/emp/bump-3/bump-3.js"[Learn More] require.js:1 Error: Script error for: bump-3 http://requirejs.org/docs/errors.html#scripterror require.js:1 Blocked loading mixed active content "http://open.live.bbc.co.uk/wurfldemi/useragent.jsonp?callback=define&ua=Mozilla%2F5.0%20(X11%3B%20Ubuntu%3B%20Linux%20x86_64%3B%20rv%3A32.0)%20Gecko%2F20100101%20Firefox%2F32.0"[Learn More] require.js:1 Error: Script error for: http://open.live.bbc.co.uk/wurfldemi/useragent.jsonp?callback=define&ua=Mozilla%2F5.0%20(X11%3B%20Ubuntu%3B%20Linux%20x86_64%3B%20rv%3A32.0)%20Gecko%2F20100101%20Firefox%2F32.0 http://requirejs.org/docs/errors.html#scripterror require.js:1

and additionally

window.controllers is deprecated. Do not use it for UA detection. https-everywhere.js:335

But I guess the above is probably irrelevant to this!

jay-to-the-dee avatar Oct 11 '14 15:10 jay-to-the-dee

Also Firefox complains about not liking mixed content so I have a feeling it could be something to do with that as well..

jay-to-the-dee avatar Oct 11 '14 15:10 jay-to-the-dee

Just testing Chrome 39 and HTTPSE 2014.9.11.

Very similar set of errors with the ruleset enabled:

Mixed Content: The page at 'https://www.bbc.co.uk/iplayer/episode/b04l3674/the-revolution-will-be-televised-series-3-episode-1' was loaded over HTTPS, but requested an insecure image 'http://ichef.bbci.co.uk/images/ic/192x108/p0287jy1.jpg'. This content should also be served over HTTPS. the-revolution-will-be-televised-series-3-episode-1:17 The page at 'https://www.bbc.co.uk/iplayer/episode/b04l3674/the-revolution-will-be-televised-series-3-episode-1' was loaded over HTTPS, but is submitting data to an insecure location at 'http://search.bbc.co.uk/search': this content should also be submitted over HTTPS.

the-revolution-will-be-televised-series-3-episode-1:133 Mixed Content: The page at 'https://www.bbc.co.uk/iplayer/episode/b04l3674/the-revolution-will-be-televised-series-3-episode-1' was loaded over HTTPS, but requested an insecure image 'http://ichef.bbci.co.uk/images/ic/192x108/p0287jy1.jpg'. This content should also be served over HTTPS. require.js:1 Mixed Content: The page at 'https://www.bbc.co.uk/iplayer/episode/b04l3674/the-revolution-will-be-televised-series-3-episode-1' was loaded over HTTPS, but requested an insecure script 'http://emp.bbci.co.uk/emp/bump-3/bump-3.js'. This request has been blocked; the content must be served over HTTPS. require.js:1 Uncaught Error: Script error for: bump-3 http://requirejs.org/docs/errors.html#scripterror require.js:1 Mixed Content: The page at 'https://www.bbc.co.uk/iplayer/episode/b04l3674/the-revolution-will-be-televised-series-3-episode-1' was loaded over HTTPS, but requested an insecure script 'http://open.live.bbc.co.uk/wurfldemi/useragent.jsonp?callback=define&ua=Moz…7.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F39.0.2171.13%20Safari%2F537.36'. This request has been blocked; the content must be served over HTTPS. require.js:1 Uncaught Error: Script error for: http://open.live.bbc.co.uk/wurfldemi/useragent.jsonp?callback=define&ua=Moz…7.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F39.0.2171.13%20Safari%2F537.36 http://requirejs.org/docs/errors.html#scripterror

reedy avatar Oct 11 '14 22:10 reedy

@jay-to-the-dee what is the current status on this? BBC announced that they will both transition to TLS over time and they also are replacing their flash based player with an html5 version. http://www.bbc.co.uk/blogs/internet/entries/f6f50d1f-a879-4999-bc6d-6634a71e2e60

numismatika avatar Aug 14 '16 14:08 numismatika

Hi @numismatika ! You are entirely correct that they are planning on transitioning away from Flash to HTML5 over time. However I would expect the vast majority people will continue to be presented with the Flash version for at least a few more months. I've also not heard the same news you have about TLS so I've learnt something there!

I haven't looked at his issue for a while, but I've just logged onto iPlayer now whilst enabling the two default disabled rules ("BBCi.co.uk (partial)" & "BBC (need testing and feedback)"). The iPlayer works absolutely fine, in this situation (getting the Flash Player using Firefox 48 on Linux). But I've just tried a BBC news video under the same circumstances and that appears to be break the player when the "BBC (need testing and feedback)" rule is enabled. So for now I have had to disable it again.

Hope this helps!

jay-to-the-dee avatar Aug 15 '16 17:08 jay-to-the-dee

Loveithateit has done quite some work on it indeed https://github.com/EFForg/https-everywhere/commit/a8578fd0e211cf764d116d72603fe427b7daf222 So the exception rules still break the flash version?

numismatika avatar Aug 15 '16 18:08 numismatika

This is the sort of thing that is currently broken http://www.bbc.co.uk/news/world-37026321

jay-to-the-dee avatar Aug 15 '16 19:08 jay-to-the-dee

Seems to the BBCi.co.uk ruleset that's causing it actually!

jay-to-the-dee avatar Aug 15 '16 19:08 jay-to-the-dee

So far it seems that the following 3 subdomains break the player with mixed content trouble:


<target host="emp.bbc.co.uk" /> <!-- live streaming related -->
<target host="open.live.bbc.co.uk"/> <!-- break livestreaming  -->
<target host="emp.bbci.co.uk" />  <!--break livestreaming  -->

unfortunately the underlying Firefox problem is still not solved yet. BBC community management still says "work in progress, be patient".

numismatika avatar Jun 30 '17 08:06 numismatika

BBC is now HTTPS by default and dropped Flash. The given examples WFM.

J0WI avatar Jun 15 '18 17:06 J0WI