Since two days i can't generate bitly url. Here is the error i am having:
$VAR1 = bless( { '_content' => 'Can\'t connect to api-ssl.bitly.com:44 +3 LWP::Protocol::https::Socket: SSL connect attempt failed with unkn +own error error:0D0C50A1:asn1 encoding routines:ASN1_item_verify:unkn +own message digest algorithm at /usr/local/share/perl/5.10.1/LWP/Prot +ocol/http.pm line 51. ', '_rc' => 500, '_headers' => bless( { 'client-warning' => 'Internal +response', 'client-date' => 'Wed, 15 Apr +2015 18:08:08 GMT', 'content-type' => 'text/plain' }, 'HTTP::Headers' ), '_msg' => 'Can\'t connect to api-ssl.bitly.com:443', '_request' => bless( { '_content' => '', '_uri' => bless( do{\(my $o = +'https://api-ssl.bitly.com/v3/shorten?login=LOGIN&apiKey=API_KEY&long +url=LONG_URL')}, 'URI::https' ), '_headers' => bless( { 'user-a +gent' => 'libwww-perl/6.04' }, 'HTTP: +:Headers' ), '_method' => 'GET' }, 'HTTP::Request' ) }, 'HTTP::Response' );
cat /etc/issue.net Ubuntu 10.04.4 LTS openssl version -a OpenSSL 0.9.8k 25 Mar 2009 built on: Mon Aug 18 16:08:20 UTC 2014 platform: debian-amd64 options: bn(64,64) md2(int) rc4(ptr,char) des(idx,cisc,16,int) blowfi +sh(ptr2) compiler: cc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT + -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wa,--noexec +stack -g -Wall -DMD32_REG_T=int -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSH +A256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM apt-cache policy openssl openssl: Installed: 0.9.8k-7ubuntu8.21 Candidate: 0.9.8k-7ubuntu8.27 Version table: 0.9.8k-7ubuntu8.27 0 500 http://archive.ubuntu.com/ubuntu/ lucid-updates/main Packa +ges 500 http://security.ubuntu.com/ubuntu/ lucid-security/main Pac +kages *** 0.9.8k-7ubuntu8.21 0 100 /var/lib/dpkg/status 0.9.8k-7ubuntu8 0 500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages $ perl -MIO::Socket::SSL -e 'print $IO::Socket::SSL::VERSION' 1.74 $ perl -MIO::Socket::SSL -e 'print $Net::SSLeay::VERSION' 1.48 $ perl -MIO::Socket::SSL -e 'print $LWP::Protocol::https::VERSION' + $ perl -MLWP -le "print(LWP->VERSION)" 6.04 $ perl -MIO::Socket::SSL -e 'print Net::SSLeay::OPENSSL_VERSION_NU +MBER()' 9470143
Any insight appreciated.

In reply to LWP Can't connect to api-ssl.bitly.com by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.