|No such thing as a small change|
LWP Error '500 Can't connect to gdata.youtube.com:443 (Network is unreachable)'by vcTheGuru (Chaplain)
|on Dec 05, 2012 at 03:01 UTC||Need Help??|
vcTheGuru has asked for the
wisdom of the Perl Monks concerning the following question:
I am getting a 'Network Unreachable' error while trying to download via YouTube API to my server. I use a subroutine
500 Can't connect to gdata.youtube.com:443 (Network is unreachable) Content-Type: text/plain Client-Date: Wed, 05 Dec 2012 02:51:52 GMT Client-Warning: Internal response Can't connect to gdata.youtube.com:443 (Network is unreachable) LWP::Protocol::https::Socket: connect: Network is unreachable at /usr/local/share/perl5/LWP/Protocol/http.pm line 51.
I tried multiple options available in the Monastery and many other forums and failed.
UPDATE: 1. When I use CURL or wget, I could download the data from YouTube. The Problem is with YouTube API only. It works fine with Bing. Youtube sends me the Certificate issued to multiple hosts on Google.
UPDATE : Fixed by force install LWP::Protocol::https::Socket Thanks to all.