<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Tor plugin fails with BBC downloads</title>
        <description> Hello to all :-)
First, an apology in advance regarding the length of this post;
I'll try to be as detailed as possible and will provide some additional 
knowledge regarding the BBC iplayer (tv+radio) streams, with the aim 
of better helping the devs (namely tong2shot, who himself said that
 he's not too familiar with BBC...) and maybe shed some more light
 in other posters' queries...
I, on the other hand, have been following BBC iPlayer since way back 
in 2008, in its infancy days...Am also a user of the specialized tool 
get_iplayer (used to provide guidance in its mailing list, too), but I do also 
like FRD for its simplicity ;-).

As mentioned in some of my previous posts, my physical location is non-UK;
up until last Sunday (18/05/2014), FRD 0.9u3, tor.frp 1.0.0, geoip 1.0.0 &amp; 
latest bbc.frp 1.1.9 worked in perfect unison  together, so I was able to download 
(without using a UK proxy) tv files as well as the UK-only HQ radio (audio) files...
1) Regarding the video-on-demand files, the SD ones (pixel height &amp;lt;=480p) are being
distributed by the Akamai (ak) &amp; Limelight (ll) CDNs.
ak CDNs are very reliable, but they are geo-blocked at FMS level, 
meaning they are available to UK users (or non-UK ones who use UK VPNs), 
but off-limits to the rest; FRD can't connect to those ones when using the 
Tor Network or a specific UK proxy.
ll CDNs used to also be very reliable and the only ones who worked for overseas 
users, since they're not blocked at server level - these are the ones FRD connects to 
when used with Tor or a UK proxy. Sadly, especially after the introduction of the 
new version of TV iplayer, there has been a change implemented on those
(possibly deliberate, to fence off international users, or just a technical glitch, maybe?), 
that makes them exhibit a very erratic behaviour, also discussed by tong2shot here.
However, with some perseverance, I was always able to download from those via Tor.
 FWIW, this Limelight CDN issue is not unique to FRD: Even in the case where I configure Firefox 
to use a UK http proxy and try to play a BBC iplayer TV programme, I have to reload the 
page several times for the show to start playing in the browser (via a ll CDN). 

HD (720p) TV files are likewise served through Akamai (again, geo-blocked at FMS level) 
and Level3 (not geo-blocked) CDNs; Level3 servers are very reliable, FRD could easily 
connect to those via Tor plugin/ UK proxy.

2) Regarding audio-on-demand radio files, these are, almost exclusively, served through Limelight CDNs.
If in the UK, there exist two quality variants:
a. &quot;Normal Bandwidth&quot; (HQ) one, which, for the majority of the National  Stations, is encoded with 
AAC LC @128kbpsABR. The notable exception here is Radio 3 programmes, which are offered at an elevated 
bitrate of 320kbpsABR.
b. &quot;Lower Bandwidth&quot; (LQ) one, which is for all National Stations encoded with HE-AACv2 @48kbpsABR.
Judging by the nominal bitrate, LQ files are roughly 1/3 the size of the HQ ones, but in the case of Radio 3 only 
3/20 of the HQ size...
For overseas users, all radio files are offered at LQ; the specs of the audio files are the same to their UK LQ counterparts, 
but there exist separate international Limelight rtmp streams for non-UK IPs.

So, to recap, on last Sunday afternoon, if I tried to fetch the 480p version of Click 17/05/2014 by using FRD's inate tor plugin, 
I could grab it from the ll CDN on the 4th to 6th attempt, whereas if I wanted the 720p version of it, 
this could be easily grabbed at first attempt from the l3 CDN.
And if I wanted to save BBC Radio 1's The Official Chart , I would end up with a ~ 170MB fle (= UK HQ version).

 Late in the evening of Sunday came the prompt to upgrade FRD to 0.9u4; I did so without a problem, 
keeping 0.9u3 version's settings...

 In the morning of Monday (19/05/2014), the &quot;ll CDN issue&quot; had become even more pronounced - 
I had to retry 8 -10 times to begin the download of a TV programme, but the radio downloads still worked OK,
 producing the HQ audio files.

 But in the afternoon, there was a totally new situation:
1) Every TV programme tried failed to download, with the ominous message &quot;ERROR - Cannot download from service&quot; 
shown on the &quot;Est. Time&quot; column of FRD, immediately after the first download attempt.
2) Radio downloads did work, but now they only produced the LQ versions; e.g. the radio show linked to previously would yield a 65 MB only file...
 It was as if FRD was using my real non-UK IP to connect to iplayer servers, resulting in a denial for TV content and in the int'l LQ radio version!

Initially I blamed the malfunction to the upgrade, but I did a downgrade to version 0.9u3
(from a kept backup, just in case...) only to discover that the error persisted :X

I then generated a debug log with v.0.9u4 while trying to download Click@480p (attached, b044trs9_tor_fail.log);
I took a brief look at it &amp; it appears there is some problem with the tor plugin:


INFO: Connection: default, country: gr
INFO: Initializing proxy for 'gb'
INFO: Starting Orchid (version: 1.0.0)
INFO: Loading cached network information from disk
INFO: Loading certificates
INFO: Cannot build circuits because we don't have enough directory information
INFO: Loading consensus
INFO: Loading microdescriptor cache
INFO: loading state file
INFO: =====Saving updated/added files into the database (1) =====
SEVERE: Status code je 500
INFO: Setting state to ERROR

To test my theory, I then configured FRD to use a UK http proxy (79.143.xx.xxx:8080, 
not showing the full IP because the proxy will get abused...), and lo &amp; behold 
the video file quickly started to download (see attachment b044trs9_UKproxy_success.jpg).

The same goes for audio downloads - my default connection with the (malfunctioning) 
tor plugin produces the LQ file (see attachment b043jk4j_tor_LQ.jpg), while using a UK 
http proxy in FRD (which overrides the tor plugin) fetches the HQ file (attachment b043jk4j_UKproxy_HQ.jpg).

Unfortunately, tor.frp can't be disabled and bbc.frp is hooked to the former, so for a non-UK user like me to regain 
complete BBC iplayer functions would require the use of UK proxies in FRD (or the use of a UK VPN with 
default rtmp port 1935  open - these are very few and usually paid for... - despite my pleas, the devs do not want
to rewrite rtmp.frp so as to try the alternate rtmp ports 443,80 when 1935 is closed; that would be ideal for using 
several FREE VPNs which always have port 1935 blocked...).

If p.vanderwal isn't located inside the UK, then maybe he is in the same boat as I...

I can't tell how the tor.frp issue I described could affect UK users; in theory, their original UK IP should prevail 
over the tor plugin and so they could still download stuff (with the known Limelight CDNs caveat). 

Thanks for your time in reading this...</description>
        <link>https://wordrider.net/forum/10/14356/14356/_subject_#msg-14356</link>
        <lastBuildDate>Sat, 11 Apr 2026 06:39:27 +0000</lastBuildDate>
        <generator>Phorum 5.2.10</generator>
        <item>
            <guid>https://wordrider.net/forum/10/14356/14482/_subject_#msg-14482</guid>
            <title>Re: Tor plugin fails with BBC downloads</title>
            <link>https://wordrider.net/forum/10/14356/14482/_subject_#msg-14482</link>
            <description><![CDATA[ KES Wrote:<br />
-------------------------------------------------------<br />
&gt; Will try but not hopeful as configure of proxy<br />
&gt; still a mess to me.<br />
&gt; <br />
&gt; Still no work. tried many proxies from<br />
&gt; [<a href="http://www.xroxy.com/proxylist.php?port=&type=&ssl" rel="nofollow" >www.xroxy.com</a>]<br />
&gt; =&country=GB&latency=&reliability=&sort=reliabilit<br />
<br />
Define no work.<br />
<br />
<br />
&gt; with differing RTMP ports<br />
&gt; and CDN and cannot get anything that works.<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br/></small><strong>As @TVjunkie said some proxies can't connect to Akamai CDN, so if you choose Akamai and you get 0 byte flv, that indicates that the proxy can't connect to Akamai, so you have to choose the other (Limelight or Level3). At this moment, Limelight is unstable, so you may have to try several times before the file can be downloaded.</strong><br/>
</div></blockquote>
<br />
How do you know which stream, which CDN get chosen eventually? Start FRD in debug mode, try to download the file, then open app.log. Search for : "Selected stream", CDN is mentioned as 'supplier'.<br />
<br />
How to start FRD in debug mode : see "Troubleshooting" section of <a href="http://wordrider.net/freerapid/bugs-and-features.html" rel="nofollow" >this page</a>.<br />
<br />
Where is app.log? Help -&gt; Browse to log file.<br />
<br />
<br />
&gt; Extremly boring....if others can get it to work<br />
&gt; why can't they give the FULL details of how.<br />
<br />
They already gave the FULL details.<br />
<br />
<br />
&gt; And if according to plugin settings if TOR is not<br />
&gt; used when in UK or using UK proxy then does tor<br />
&gt; work when you're not? because it doesn't seem to.<br />
<br />
It was mentioned several times : <blockquote class="bbcode"><div><small>Quote<br/></small><strong>tor exit node ip address produced by tor network cannot be identified as UK ip address</strong><br/>
</div></blockquote>
<br />
in short <b>at this moment</b> Tor is not working for BBC plugin. We put the option, so that if <b>in the future</b> Tor is working, you can just enable it without having to use proxy.]]></description>
            <dc:creator>tong2shot</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Tue, 03 Jun 2014 22:52:49 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14356/14458/_subject_#msg-14458</guid>
            <title>Re: Tor plugin fails with BBC downloads</title>
            <link>https://wordrider.net/forum/10/14356/14458/_subject_#msg-14458</link>
            <description><![CDATA[ Will try but not hopeful as configure of proxy still a mess to me.<br />
<br />
Still no work. tried many proxies from [<a href="http://www.xroxy.com/proxylist.php?port=&type=&ssl=&country=GB&latency=&reliability=&sort=reliability&desc=true&pnum=0#table" rel="nofollow" >www.xroxy.com</a>] with differing RTMP ports and CDN and cannot get anything that works.<br />
<br />
Extremly boring....if others can get it to work why can't they give the FULL details of how.<br />
<br />
And if according to plugin settings if TOR is not used when in UK or using UK proxy then does tor work when you're not? because it doesn't seem to.]]></description>
            <dc:creator>KES</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Sun, 01 Jun 2014 04:15:52 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14356/14456/_subject_#msg-14456</guid>
            <title>Re: Tor plugin fails with BBC downloads</title>
            <link>https://wordrider.net/forum/10/14356/14456/_subject_#msg-14456</link>
            <description><![CDATA[ TVjunkie Wrote:<br />
-------------------------------------------------------<br />
&gt; .....<br />
&gt; I know this is a very small bug (possibly windows<br />
&gt; only?), could it be fixed, please?<br />
&gt; (I could not figure out for more than 15min why my<br />
&gt; player wasn't showing the subs...:S)<br />
<br />
Thanks for the report.<br />
<br />
Fixed in plugin v1.1.12, also there is option to disable Tor.]]></description>
            <dc:creator>tong2shot</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Sun, 01 Jun 2014 01:49:00 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14356/14449/_subject_#msg-14449</guid>
            <title>Re: Tor plugin fails with BBC downloads</title>
            <link>https://wordrider.net/forum/10/14356/14449/_subject_#msg-14449</link>
            <description><![CDATA[ Hello :-)<br />
<br />
OS: WinVista SP2 x86<br />
JRE 7u60<br />
FRD 0.9u4<br />
bbc.frp 1.1.11<br />
(its settings are:<br />
480p<br />
1935 (default)<br />
Limelight<br />
"Download subtitles" is ticked)<br />
UK http proxy configured in FRD.<br />
<br />
Sample TV file:<br />
<br />
<a href="http://www.bbc.co.uk/iplayer/episode/b045cjf7/bbc-radio-1s-big-weekend-2014-calvin-harris-example" rel="nofollow" >BBC Radio 1's Big Weekend - 2014: Calvin Harris & Example</a><br />
<br />
The video file does download (eventually) from the Limelight CDN, <br />
but as its file name contains the "wild" character "&",<br />
<pre class="bbcode">
BBC Radio 1's Big Weekend - 2014 - Calvin Harris & Example.flv</pre>
<br />
the corresponding subtitle file (.srt) does not have a matching file name;<br />
<br />
<pre class="bbcode">
BBC Radio 1's Big Weekend - 2014 - Calvin Harris &_amp; Example.srt

(I have included an underscore between "&" and "amp;", else the forum software 
wouldn't show it correctly...)</pre>
<br />
I know this is a very small bug (possibly windows only?), could it be fixed, please?<br />
(I could not figure out for more than 15min why my player wasn't showing the subs...:S)<br />
<br />
Many regards]]></description>
            <dc:creator>TVjunkie</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Fri, 30 May 2014 01:43:31 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14356/14448/_subject_#msg-14448</guid>
            <title>Re: Tor plugin fails with BBC downloads</title>
            <link>https://wordrider.net/forum/10/14356/14448/_subject_#msg-14448</link>
            <description><![CDATA[ KES Wrote:<br />
-------------------------------------------------------<br />
&gt; Please help those of us that are not so savvy as<br />
&gt; you.<br />
&gt; <br />
&gt; EXACTLY how to make bbc.co.uk programs<br />
&gt; downloadable. Clear simple easy to follow<br />
&gt; instructions with examples of working proxies and<br />
&gt; port numbers etc.<br />
&gt; <br />
&gt; [<a href="http://www.bbc.co.uk/iplayer/cbbc/episode/b045k74c" rel="nofollow" >www.bbc.co.uk</a>]<br />
&gt; /Rockets_Island_Series_2_The_Mermaids_Song/<br />
<br />
For example of working proxies you can google/bing/yahoo (I'm being indifferent here :-) ) it.<br />
<br />
Once you have one, you can configure FRD to use the proxy (Options-&gt;Preferences-&gt;Connections-&gt;Configure proxy..).<br />
<br />
Now to configure BBC plugin (Options-&gt;Preferences-&gt;Plugins-&gt;Settings), select bbc.co.uk, then press "Options" button. Choose your preferred quality level. You can leave RTMP port with the default value (1935), unless the proxy that you are using blocks port 1935. <br />
<br />
As @TVjunkie said some proxies can't connect to Akamai CDN, so if you choose Akamai and you get 0 byte flv, that indicates that the proxy can't connect to Akamai, so you have to choose the other (Limelight or Level3). At this moment, Limelight is unstable, so you may have to try several times before the file can be downloaded.<br />
<br />
For the details, you can read @TVjunkie posts, it's very informative.]]></description>
            <dc:creator>tong2shot</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Thu, 29 May 2014 22:35:35 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14356/14437/_subject_#msg-14437</guid>
            <title>Re: Tor plugin fails with BBC downloads</title>
            <link>https://wordrider.net/forum/10/14356/14437/_subject_#msg-14437</link>
            <description><![CDATA[ Please help those of us that are not so savvy as you.<br />
<br />
EXACTLY how to make bbc.co.uk programs downloadable. Clear simple easy to follow instructions with examples of working proxies and port numbers etc.<br />
<br />
[<a href="http://www.bbc.co.uk/iplayer/cbbc/episode/b045k74c/Rockets_Island_Series_2_The_Mermaids_Song/" rel="nofollow" >www.bbc.co.uk</a>]]]></description>
            <dc:creator>KES</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Thu, 29 May 2014 02:07:44 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14356/14415/_subject_#msg-14415</guid>
            <title>Re: Tor plugin fails with BBC downloads</title>
            <link>https://wordrider.net/forum/10/14356/14415/_subject_#msg-14415</link>
            <description><![CDATA[ tong2shot wrote:<br />
-------------------------------------------------------<br />
<br />
&gt; How about adding CDN (Akamai, Limelight, Level3) selection in the plugin option instead?<br />
&gt; If the preferred CDN doesn't exist in the streams, then we'll apply this rule : Level3 &gt; Limelight &gt; Akamai.<br />
<br />
&gt; BBC plugin v1.1.11 now supports CDN selection. <br />
<br />
&gt; Use plugin v1.1.11 then choose limelight or level3 as the preferred CDN in the plugin option. <br />
<br />
Hi :-)<br />
<br />
I've just updated directly from bbc.frp 1.1.9 to 1.1.11 and conducted some quick checks...<br />
<br />
1) It's been more than 5 days now that the tor plugin isn't producing the desired effect for BBC iPlayer; <br />
it appears they have blocked the Tor Network. Yesterday I ran the same test you did, i.e. I installed the <br />
latest Tor Browser Bundle for Windows (v3.6.1) and modified Tor's torrc file (by adding these lines:<br />
<pre class="bbcode">ExitNodes {GB}
StrictExitNodes 1
NumEntryGuards 6
KeepalivePeriod 60
NewCircuitPeriod 15</pre>)<br />
<br />
to configure a UK exit node; it did give me this UK IP: 37.130.227.133,<br />
but sadly it is treated as non-UK by iplayer's geolocation mechanism :X<br />
(this same IP address does still work with ITVplayer, though - thank God for that - <br />
so the itv.frp is still good to go without the need for a UK proxy).<br />
I am not very optimistic about things returning to the way they were, so <br />
maybe in the next release of the plugin, bbc.frp could be unhooked from tor.frp <br />
or (which seems better) you could include a "use Tor plugin" selection in the options <br />
(much like the option "use tunlr" that existed back in those glorious days of the hulu plugin...)<br />
for when/if it begins to (hopefully) work again...:S<br />
<br />
2) Video file sample link: <a href="http://www.bbc.co.uk/iplayer/episode/b044trs9/click-17052014" rel="nofollow" >Click 17/05/2014</a><br />
<br />
This TV show is available both @ 720p (CDNs: Ak, L3) and @ 480p (CDNs: Ak, Ll)<br />
<br />
I first set a working UK proxy within FRD's connections, then inside bbc.frp's options I chose 720p /<br />
1935 (default) / Limelight.<br />
The HD version (415 MiB ) began quickly to download from L3 CDN (tu)<br />
I then opted to download the 480p SD version; connection to the Limelight CDNs is still <br />
a trial-and-error thing these days :?, but upon my fifth attempt I managed to get it saving on disk (261 MiB ) (tu).<br />
<br />
3) I finally tried saving an audio file, <a href="http://www.bbc.co.uk/iplayer/episode/b043jw08/The_Official_Chart_Update_Scotts_sneak_preview!/" rel="nofollow" >The Official Chart Update 21/05/2014</a> - Ll CDN,<br />
and by using a UK proxy it indeed fetched the HQ file (28.7 MiB ) (tu), while with a direct connection <br />
it yielded the LQ variant (10.9 MiB ).<br />
<br />
So, from the end of an overseas user employing a UK http proxy, <br />
SO FAR SO GOOD! :)-D<br />
<br />
Your constant efforts have been highly appreciated!<br />
Much obliged, really!]]></description>
            <dc:creator>TVjunkie</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Sun, 25 May 2014 01:53:40 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14356/14412/_subject_#msg-14412</guid>
            <title>Re: Tor plugin fails with BBC downloads</title>
            <link>https://wordrider.net/forum/10/14356/14412/_subject_#msg-14412</link>
            <description><![CDATA[ rancor Wrote:<br />
-------------------------------------------------------<br />
&gt; Plugin v1.1.10: problem with download some files<br />
&gt; (0 Bytes) example file<br />
&gt; [<a href="http://www.bbc.co.uk/iplayer/episode/b01cnyff/esca" rel="nofollow" >www.bbc.co.uk</a>]<br />
&gt; pe-to-the-country-series-12-50-cotswolds  Download<br />
&gt; via UK proxy (old plugin working OK).<br />
&gt; <br />
&gt; File<br />
&gt; [<a href="http://www.bbc.co.uk/iplayer/episode/b044k05w/hd/r" rel="nofollow" >www.bbc.co.uk</a>]<br />
&gt; hs-chelsea-flower-show-2014-episode-7 HD 720p<br />
&gt; download direct (polish IP).<br />
<br />
Use plugin v1.1.11 then choose limelight or level3 as the preferred CDN in the plugin option.]]></description>
            <dc:creator>tong2shot</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Sat, 24 May 2014 21:58:34 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14356/14411/_subject_#msg-14411</guid>
            <title>Re: Tor plugin fails with BBC downloads</title>
            <link>https://wordrider.net/forum/10/14356/14411/_subject_#msg-14411</link>
            <description><![CDATA[ BBC plugin v1.1.11 now supports CDN selection.]]></description>
            <dc:creator>tong2shot</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Sat, 24 May 2014 21:50:00 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14356/14395/_subject_#msg-14395</guid>
            <title>Re: Tor plugin fails with BBC downloads</title>
            <link>https://wordrider.net/forum/10/14356/14395/_subject_#msg-14395</link>
            <description><![CDATA[ TVjunkie Wrote:<br />
-------------------------------------------------------<br />
&gt; Unfortunately, I cannot write Java code but if I<br />
&gt; may offer my humble opinion, <br />
&gt; the way to go is for the BBC plugin to replicate<br />
&gt; the downloading behaviour of get_iplayer:<br />
&gt; First attempt to connect and dump from the ak CDNs<br />
&gt; - this will get the UK inhabitants<br />
&gt; (& the users of UK VPNs) covered; if this first<br />
&gt; attempt produces no video file <br />
&gt; (see lines <br />
&gt; code: NetConnection.Connect.Rejected],  : Access<br />
&gt; denied!]]]]<br />
&gt; &<br />
&gt; WARNING: video duration is null<br />
&gt; inside the log)<br />
&gt; then it should fall back to the ll CDNs - this<br />
&gt; should cater for the non-UK FRD users who connect<br />
&gt; through a UK proxy.<br />
&gt; The current implementation of selecting either<br />
&gt; only ak CDN (v1.1.10) or ll CDN (v1.1.9) <br />
&gt; cannot meet the needs of both sets of FRD<br />
&gt; users...<br />
<br />
How about adding CDN (Akamai, Limelight, Level3) selection in the plugin option instead?  If the preferred CDN doesn't exist in the streams, then we'll apply this rule : Level3 &gt; Limelight &gt; Akamai.<br />
<br />
Thanks again for the details :-)]]></description>
            <dc:creator>tong2shot</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Thu, 22 May 2014 10:32:04 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14356/14393/_subject_#msg-14393</guid>
            <title>Re: Tor plugin fails with BBC downloads</title>
            <link>https://wordrider.net/forum/10/14356/14393/_subject_#msg-14393</link>
            <description><![CDATA[ rancor wrote (I took the liberty of doing some rewording):<br />
-------------------------------------------------------<br />
&gt; Plugin v1.1.10: problem with downloading some files (0 Bytes)<br />
&gt; via UK proxy (old plugin working OK)<br />
&gt; Example file:<br />
&gt; <a href="http://www.bbc.co.uk/iplayer/episode/b01cnyff/escape-to-the-country-series-12-50-cotswolds" rel="nofollow" >http://www.bbc.co.uk/iplayer/episode/b01cnyff/escape-to-the-country-series-12-50-cotswolds</a><br />
<br />
tong2shot Wrote:<br />
-------------------------------------------------------<br />
&gt; Do you mean the first link is not working, and the second link is working?<br />
&gt; Or both links are not working?<br />
<br />
I can easily reproduce rancor's issue from my Greek original IP.<br />
If I set no UK proxy within FRD (0.9u4) and attempt to download his 1st <br />
sample link, then I quickly get the<br />
<br />
 <blockquote class="bbcode"><div><small>Quote<br/></small><strong>ERROR - This video is not available in  your area</strong><br/></div></blockquote>
<br />
message; as you have explained, this is because<br />
 <br />
<blockquote class="bbcode"><div><small>Quote<br/></small><strong>tor exit node ip address produced by tor network cannot be identified as UK ip address, even if we select UK for exit node</strong><br/></div></blockquote>
<br />
in other words, the sad news is that the Beeb have somehow blocked the Tor Network as a way of IP spoofing...:-(<br />
Hulu did it, so I guess they can, too! :X<br />
<br />
Now, if I configure FRD to use a UK http proxy (a tested & working one), <br />
then the bbc plugin thinks I am in the UK and according to what you've said<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br/></small><strong>Also the new plugin (v1.1.10) prefers akamai for UK users</strong><br/></div></blockquote>
<br />
tries to download the video file from the Akamai CDN;<br />
but for reasons I have explained in detail in the first post of this thread, <br />
ak rtmp streams are not downloadable by FRD by simply using a UK proxy...<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br/></small><strong>they are geo-blocked at FMS level, meaning they are available to UK users (or non-UK ones who use UK VPNs), but off-limits to the rest; <br />
FRD can't connect to those ones when using the Tor Network or a specific UK proxy.</strong><br/></div></blockquote>
<br />
Hence the 0 bytes download I (& rancor) experience <br />
<br />
All the above is very well illustrated in the attached debug log, see file "bbc1110_UKproxy_app.log"<br />
<br />
On the other hand, previous version of the plugin (1.1.9) gave precedence to the Limelight CDNs <br />
over Akamai; Limelight is downloadable by FRD with UK proxy (albeit after a small number <br />
of retries...) <br />
<br />
<blockquote class="bbcode"><div><small>Quote<br/></small><strong>... and the only ones who worked for overseas users, since they're not blocked at server level<br />
- these are the ones FRD connects to when used with Tor or a UK proxy.</strong><br/></div></blockquote>
<br />
hence the "(old plugin working OK)" remark by rancor.<br />
<br />
I have a backup copy of bbc.frp 1.1.9 and temporarily reverted to it and tested it with FRD 0.9u4.<br />
Using the same UK proxy as before in the case of v1.1.10, now the file soon begins to download <br />
from the ll CDN.<br />
Look at the attached screengrab (file "b01cnyff_UKproxy_bbcfrp119.jpg") <br />
& also at the attached (partial) debug log (file "bbc119_UKproxy_app.log").<br />
<br />
Unfortunately, I cannot write Java code but if I may offer my humble opinion, <br />
the way to go is for the BBC plugin to replicate the downloading behaviour of get_iplayer:<br />
First attempt to connect and dump from the ak CDNs - this will get the UK inhabitants<br />
(& the users of UK VPNs) covered; if this first attempt produces no video file <br />
(see lines <br />
code: NetConnection.Connect.Rejected], [STRING(0x02) description: [ AccessManager.Reject ] : Access denied!]]]]<br />
&<br />
WARNING: video duration is null<br />
inside the log)<br />
then it should fall back to the ll CDNs - this should cater for the non-UK FRD users who connect through a UK proxy.<br />
The current implementation of selecting either only ak CDN (v1.1.10) or ll CDN (v1.1.9) <br />
cannot meet the needs of both sets of FRD users...<br />
<br />
&gt; For me both links are working just fine, also via UK proxy.<br />
<br />
If you don't mind my asking, on which territory are you testing the BBC plugin?<br />
Because if you actually reside within the UK, setting simply a UK proxy inside FRD's prefs <br />
is not enough to replicate FRD's behaviour for an overseas user - rtmp traffic from the ak <br />
CDN will pass successfully via your UK ISP, so it would (falsely) appear that the bbc plugin <br />
1.1.10 succeeds when used with a UK proxy...<br />
<br />
Many greetings B)<br />
<br />
PS: Huge thanks for the implementation of rtmp-port selection &gt;:D&lt;]]></description>
            <dc:creator>TVjunkie</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Thu, 22 May 2014 03:49:48 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14356/14384/_subject_#msg-14384</guid>
            <title>Re: Tor plugin fails with BBC downloads</title>
            <link>https://wordrider.net/forum/10/14356/14384/_subject_#msg-14384</link>
            <description><![CDATA[ Do you mean the first link is not working, and the second link is working? Or both links are not working?<br />
<br />
For me both links are working just fine, also via UK proxy.<br />
<br />
Please run FRD in <b>debug</b> mode, then test working link and not working link, then attach app.log. See "Troubleshooting" section of <a href="http://wordrider.net/freerapid/bugs-and-features.html" rel="nofollow" >this page</a> on how to enable debug mode.]]></description>
            <dc:creator>tong2shot</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Wed, 21 May 2014 21:45:00 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14356/14381/_subject_#msg-14381</guid>
            <title>Re: Tor plugin fails with BBC downloads</title>
            <link>https://wordrider.net/forum/10/14356/14381/_subject_#msg-14381</link>
            <description><![CDATA[ Plugin v1.1.10: problem with download some files (0 Bytes) example file [<a href="http://www.bbc.co.uk/iplayer/episode/b01cnyff/escape-to-the-country-series-12-50-cotswolds" rel="nofollow" >www.bbc.co.uk</a>]  Download via UK proxy (old plugin working OK).<br />
<br />
File [<a href="http://www.bbc.co.uk/iplayer/episode/b044k05w/hd/rhs-chelsea-flower-show-2014-episode-7" rel="nofollow" >www.bbc.co.uk</a>] HD 720p download direct (polish IP).]]></description>
            <dc:creator>rancor</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Wed, 21 May 2014 19:40:21 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14356/14370/_subject_#msg-14370</guid>
            <title>Re: Tor plugin fails with BBC downloads</title>
            <link>https://wordrider.net/forum/10/14356/14370/_subject_#msg-14370</link>
            <description><![CDATA[ TVjunkie Wrote:<br />
-------------------------------------------------------<br />
&gt;  It was as if FRD was using my real non-UK IP to<br />
&gt; connect to iplayer servers, resulting in a denial<br />
&gt; for TV content and in the int'l LQ radio version!<br />
&gt; ......<br />
&gt; I took a brief look at it & it appears there is<br />
&gt; some problem with the tor plugin:<br />
&gt; <br />
&gt; <br />
&gt; INFO: Connection: default, country: gr<br />
&gt; INFO: Initializing proxy for 'gb'<br />
&gt; INFO: Starting Orchid (version: 1.0.0)<br />
&gt; INFO: Loading cached network information from<br />
&gt; disk<br />
&gt; INFO: Loading certificates<br />
&gt; INFO: Cannot build circuits because we don't have<br />
&gt; enough directory information<br />
&gt; INFO: Loading consensus<br />
&gt; INFO: Loading microdescriptor cache<br />
&gt; INFO: loading state file<br />
&gt; INFO: =====Saving updated/added files into the<br />
&gt; database (1) =====<br />
&gt; SEVERE: Status code je 500<br />
&gt; INFO: Setting state to ERROR<br />
<br />
Actually FRD still uses Tor, if you are not using UK ip address. The Tor plugin is working just fine. The problem is that tor exit node ip address produced by tor network cannot be identified as UK ip address, even if we select UK for exit node ( 'gb' as ISO country code). The same behaviour also reproduce in Tor Browser bundle, with the same config. That means when the plugin requests media selector for TV programme via Tor with 'gb' as exit node, it gets HTTP error 500, with content mentioning about geolocation error. I also tried to open BBC TV programme with Tor Browser bundle with the same config, it showed "BBC iPlayer TV programmes are available to play in the UK only". Not only that, both FRD Tor plugin and Tor Browser bundle with same config produce exactly the same exit node ip address, when I tested them. Maybe exit nodes for 'gb' are so limited, I'm not sure. In plugin v1.1.10 you'll get more meaningful error message for this kind of behaviour.<br />
<br />
<br />
&gt; Unfortunately, tor.frp can't be disabled and<br />
&gt; bbc.frp is hooked to the former, so for a non-UK<br />
&gt; user like me to regain <br />
&gt; complete BBC iplayer functions would require the<br />
&gt; use of UK proxies in FRD (or the use of a UK VPN<br />
&gt; with <br />
&gt; default rtmp port 1935  open - these are very few<br />
&gt; and usually paid for... - despite my pleas, the<br />
&gt; devs do not want<br />
&gt; to rewrite rtmp.frp so as to try the alternate<br />
&gt; rtmp ports 443,80 when 1935 is closed; that would<br />
&gt; be ideal for using <br />
&gt; several FREE VPNs which always have port 1935<br />
&gt; blocked...).<br />
<br />
Plugin v1.1.10 now supports RTMP port selection. You can choose port number 1935 or 80 or 443.<br />
<br />
<img src="http://i.imgur.com/WrmatQ8.png" class="bbcode" border="0" /><br />
<br />
<br />
&gt; I can't tell how the tor.frp issue I described<br />
&gt; could affect UK users; in theory, their original<br />
&gt; UK IP should prevail <br />
&gt; over the tor plugin and so they could still<br />
&gt; download stuff (with the known Limelight CDNs<br />
&gt; caveat). <br />
&gt; <br />
&gt; Thanks for your time in reading this...<br />
<br />
UK users don't use Tor. Also the new plugin prefers akamai for UK users.<br />
Thanks for the detail info. It helps me a lot.]]></description>
            <dc:creator>tong2shot</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Wed, 21 May 2014 14:50:42 +0000</pubDate>
        </item>
        <item>
            <guid>https://wordrider.net/forum/10/14356/14356/_subject_#msg-14356</guid>
            <title>Tor plugin fails with BBC downloads</title>
            <link>https://wordrider.net/forum/10/14356/14356/_subject_#msg-14356</link>
            <description><![CDATA[ Hello to all :-)<br />
First, an apology in advance regarding the length of this post;<br />
I'll try to be as detailed as possible and will provide some additional <br />
knowledge regarding the BBC iplayer (tv+radio) streams, with the aim <br />
of better helping the devs (namely tong2shot, who himself <a href="http://wordrider.net/forum/10/14269/14298/re__bbc_plugin_not_working_anymore#msg-14298" rel="nofollow" >said</a> that<br />
 he's not too familiar with BBC...) and maybe shed some more light<br />
 in other posters' queries...<br />
I, on the other hand, have been following BBC iPlayer since way back <br />
in 2008, in its infancy days...Am also a user of the specialized tool <br />
get_iplayer (used to provide guidance in its mailing list, too), but I do also <br />
like FRD for its simplicity ;-).<br />
<br />
As mentioned in some of my previous posts, my physical location is non-UK;<br />
up until last Sunday (18/05/2014), FRD 0.9u3, tor.frp 1.0.0, geoip 1.0.0 & <br />
latest bbc.frp 1.1.9 worked in perfect unison  together, so I was able to download <br />
(without using a UK proxy) tv files as well as the UK-only HQ radio (audio) files...<br />
1) Regarding the video-on-demand files, the SD ones (pixel height &lt;=480p) are being<br />
distributed by the Akamai (ak) & Limelight (ll) CDNs.<br />
ak CDNs are very reliable, but they are geo-blocked at FMS level, <br />
meaning they are available to UK users (or non-UK ones who use UK VPNs), <br />
but off-limits to the rest; FRD can't connect to those ones when using the <br />
Tor Network or a specific UK proxy.<br />
ll CDNs used to also be very reliable and the only ones who worked for overseas <br />
users, since they're not blocked at server level - these are the ones FRD connects to <br />
when used with Tor or a UK proxy. Sadly, especially after the introduction of the <br />
new version of TV iplayer, there has been a change implemented on those<br />
(possibly deliberate, to fence off international users, or just a technical glitch, maybe?), <br />
that makes them exhibit a very erratic behaviour, also discussed by tong2shot <a href="http://wordrider.net/forum/10/14269/14292/re__bbc_plugin_not_working_anymore#msg-14292" rel="nofollow" >here</a>.<br />
However, with some perseverance, I was always able to download from those via Tor.<br />
 FWIW, this Limelight CDN issue is not unique to FRD: Even in the case where I configure Firefox <br />
to use a UK http proxy and try to play a BBC iplayer TV programme, I have to reload the <br />
page several times for the show to start playing in the browser (via a ll CDN). <br />
<br />
HD (720p) TV files are likewise served through Akamai (again, geo-blocked at FMS level) <br />
and Level3 (not geo-blocked) CDNs; Level3 servers are very reliable, FRD could easily <br />
connect to those via Tor plugin/ UK proxy.<br />
<br />
2) Regarding audio-on-demand radio files, these are, almost exclusively, served through Limelight CDNs.<br />
If in the UK, there exist two quality variants:<br />
a. "Normal Bandwidth" (HQ) one, which, for the majority of the National  Stations, is encoded with <br />
AAC LC @128kbpsABR. The notable exception here is Radio 3 programmes, which are offered at an elevated <br />
bitrate of 320kbpsABR.<br />
b. "Lower Bandwidth" (LQ) one, which is for all National Stations encoded with HE-AACv2 @48kbpsABR.<br />
Judging by the nominal bitrate, LQ files are roughly 1/3 the size of the HQ ones, but in the case of Radio 3 only <br />
3/20 of the HQ size...<br />
For overseas users, all radio files are offered at LQ; the specs of the audio files are the same to their UK LQ counterparts, <br />
but there exist separate international Limelight rtmp streams for non-UK IPs.<br />
<br />
So, to recap, on last Sunday afternoon, if I tried to fetch the 480p version of <a href="http://www.bbc.co.uk/iplayer/episode/b044trs9/click-17052014" rel="nofollow" >Click 17/05/2014</a> by using FRD's inate tor plugin, <br />
I could grab it from the ll CDN on the 4th to 6th attempt, whereas if I wanted the 720p version of it, <br />
this could be easily grabbed at first attempt from the l3 CDN.<br />
And if I wanted to save <a href="http://www.bbc.co.uk/iplayer/episode/b043jk4j/The_Official_Chart_with_Jameela_Jamil_Rita_Ora_Is_Number_1!/" rel="nofollow" >BBC Radio 1's The Official Chart</a> , I would end up with a ~ 170MB fle (= UK HQ version).<br />
<br />
 Late in the evening of Sunday came the prompt to upgrade FRD to 0.9u4; I did so without a problem, <br />
keeping 0.9u3 version's settings...<br />
<br />
 In the morning of Monday (19/05/2014), the "ll CDN issue" had become even more pronounced - <br />
I had to retry 8 -10 times to begin the download of a TV programme, but the radio downloads still worked OK,<br />
 producing the HQ audio files.<br />
<br />
 But in the afternoon, there was a totally new situation:<br />
1) Every TV programme tried failed to download, with the ominous message "ERROR - Cannot download from service" <br />
shown on the "Est. Time" column of FRD, immediately after the first download attempt.<br />
2) Radio downloads did work, but now they only produced the LQ versions; e.g. the radio show linked to previously would yield a 65 MB only file...<br />
 It was as if FRD was using my real non-UK IP to connect to iplayer servers, resulting in a denial for TV content and in the int'l LQ radio version!<br />
<br />
Initially I blamed the malfunction to the upgrade, but I did a downgrade to version 0.9u3<br />
(from a kept backup, just in case...) only to discover that the error persisted :X<br />
<br />
I then generated a debug log with v.0.9u4 while trying to download Click@480p (attached, b044trs9_tor_fail.log);<br />
I took a brief look at it & it appears there is some problem with the tor plugin:<br />
<br />
<pre class="bbcode">
INFO: Connection: default, country: gr
INFO: Initializing proxy for 'gb'
INFO: Starting Orchid (version: 1.0.0)
INFO: Loading cached network information from disk
INFO: Loading certificates
INFO: Cannot build circuits because we don't have enough directory information
INFO: Loading consensus
INFO: Loading microdescriptor cache
INFO: loading state file
INFO: =====Saving updated/added files into the database (1) =====
SEVERE: Status code je 500
INFO: Setting state to ERROR</pre>
<br />
To test my theory, I then configured FRD to use a UK http proxy (79.143.xx.xxx:8080, <br />
not showing the full IP because the proxy will get abused...), and lo & behold <br />
the video file quickly started to download (see attachment b044trs9_UKproxy_success.jpg).<br />
<br />
The same goes for audio downloads - my default connection with the (malfunctioning) <br />
tor plugin produces the LQ file (see attachment b043jk4j_tor_LQ.jpg), while using a UK <br />
http proxy in FRD (which overrides the tor plugin) fetches the HQ file (attachment b043jk4j_UKproxy_HQ.jpg).<br />
<br />
Unfortunately, tor.frp can't be disabled and bbc.frp is hooked to the former, so for a non-UK user like me to regain <br />
complete BBC iplayer functions would require the use of UK proxies in FRD (or the use of a UK VPN with <br />
default rtmp port 1935  open - these are very few and usually paid for... - despite my pleas, the devs do not want<br />
to rewrite rtmp.frp so as to try the alternate rtmp ports 443,80 when 1935 is closed; that would be ideal for using <br />
several FREE VPNs which always have port 1935 blocked...).<br />
<br />
If <a href="http://wordrider.net/forum/10/14329/14343/re__bbc-plugin_not_working_properly_anymore#msg-14343" rel="nofollow" >p.vanderwal</a> isn't located inside the UK, then maybe he is in the same boat as I...<br />
<br />
I can't tell how the tor.frp issue I described could affect UK users; in theory, their original UK IP should prevail <br />
over the tor plugin and so they could still download stuff (with the known Limelight CDNs caveat). <br />
<br />
Thanks for your time in reading this...]]></description>
            <dc:creator>TVjunkie</dc:creator>
            <category>FreeRapid Downloader - Plugins</category>
            <pubDate>Wed, 21 May 2014 03:05:40 +0000</pubDate>
        </item>
    </channel>
</rss>
