Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Podcast indexing produces empty cache file #271

Closed
dinkypumpkin opened this issue Jul 30, 2016 · 1 comment
Closed

Podcast indexing produces empty cache file #271

dinkypumpkin opened this issue Jul 30, 2016 · 1 comment
Milestone

Comments

@dinkypumpkin
Copy link
Contributor

dinkypumpkin commented Jul 30, 2016

The BBC have switched all podcast feeds to https URLs for some unknown reason. get_iplayer uses the Perl LWP module for retrieving files via HTTP, but HTTPS support for LWP is not installed on all systems by default. If your system does not also have the LWP::Protocol::httpsmodule installed (or it isn't installed properly) LWP cannot retrieve files via HTTPS and thus cannot retrieve any podcast feeds for indexing. For the present, this issue only affects podcasts, not catch-up programmes. You can easily download podcasts in your browser from the BBC web site or by using podcatcher software.

The LWP::Protocol::https module is included in the get_iplayer Windows installer, but one of its dependencies does not work properly in the customised Perl installation used by get_iplayer. As a temporary workaround, you can set an environment variable at the command prompt that will configure LWP to bypass use of the broken module:

32-bit Windows:

set HTTPS_CA_FILE="C:\Program Files\get_iplayer\perl\lib\Mozillla\CA\cacert.pem"

64-bit Windows:

set HTTPS_CA_FILE="C:\Program Files (x86)\get_iplayer\perl\lib\Mozillla\CA\cacert.pem"

If that doesn't work, another workaround is available by setting a different environment variable:

set PERL_LWP_SSL_VERIFY_HOSTNAME=0

The second option is not entirely without risk since it instructs LWP not to cryptographically verify that the peer at the other end of the SSL connection is in fact the BBC server it claims to be.

@get-iplayer get-iplayer locked and limited conversation to collaborators Jul 30, 2016
@dinkypumpkin dinkypumpkin added this to the 2.96 milestone Jul 30, 2016
@dinkypumpkin
Copy link
Contributor Author

Closed in Windows installer 2.95.2:

https://github.com/get-iplayer/get_iplayer_win32/releases/latest

@dinkypumpkin dinkypumpkin removed this from the 2.96 milestone Aug 1, 2016
@dinkypumpkin dinkypumpkin added this to the 2.96 milestone Sep 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant