I have tried to install LWP::Protocol::https multiple times. All the dependencies are installed, but I keep getting the following error

This is the only modules I am having issues with

t/example.t ............ # Failed test 'success status' # at t/example.t line 19. # Failed test 'have header Client-SSL-Socket-Class' # at t/example.t line 29. # Failed test 'have header Client-SSL-Cipher' # at t/example.t line 44. # Failed test 'found expected document content' # at t/example.t line 46. # 'Can't connect to www.example.com:443 # # ' # doesn't match '(?^:Example Domain)' t/example.t ............ 1/2 # Looks like you failed 4 tests of 6. # Failed test 'Request GET https://www.example.com' # at t/example.t line 47. # Failed test 'success status' # at t/example.t line 54. t/example.t ............ 2/2 # Looks like you failed 1 test of 2. # Failed test 'Check for warnings from GET https://www.example.com ( +RT #81948)' # at t/example.t line 57. # Looks like you failed 2 tests of 2. t/example.t ............ Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests t/https_proxy.t ........ ok Test Summary Report ------------------- t/example.t (Wstat: 512 (exited 2) Tests: 2 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 Files=4, Tests=62, 361 wallclock secs ( 0.02 usr 0.01 sys + 0.53 cus +r 0.07 csys = 0.63 CPU) Result: FAIL Failed 1/4 test programs. 2/62 subtests failed. make: *** [test_dynamic] Error 255 OALDERS/LWP-Protocol-https-6.11.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports OALDERS/LWP-Protocol-https-6.11.tar.gz Failed during this command: OALDERS/LWP-Protocol-https-6.11.tar.gz : make_test NO

In reply to Installing LWP::Protocol::https Failure by crabbit

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.