Skip Menu |

This queue is for tickets about the CGI-apacheSSI CPAN distribution.

Report information
The Basics
Id: 111571
Status: resolved
Priority: 0/
Queue: CGI-apacheSSI

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.95



Subject: Using http://www.yahoo.com as a test URL is problematic
http://www.yahoo.com nowadays redirects to the https equivalent, and this may cause problems on some systems using newest Mozilla::CA: PERL_DL_NONLAZY=1 "/bbbike/perl-5.20.3/bin/perl5.20.3" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t CGI::apacheSSI error: failed to get('http://www.yahoo.com/'): 500 Can't connect to www.yahoo.com:443 (certificate verify failed). # Failed test 'include virtual 1' # at t/basic_tests.t line 132. CGI::apacheSSI error: failed to get('http://www.yahoo.com/'). # Failed test 'exec cgi' # at t/basic_tests.t line 151. # Looks like you failed 2 tests of 21. t/basic_tests.t .... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/21 subtests A discussion of the problem can be read here: https://github.com/gisle/mozilla-ca/pull/5 Probably it's best to use a test URL which is really using just http, not https.
See also Test::RequiresInternet, to first check that the URL is reachable.
On 2016-01-30 12:39:30, ETHER wrote: Show quoted text
> See also Test::RequiresInternet, to first check that the URL is reachable.
It's not a problem whether the site is reachable --- it's a problem that on some systems some https sites simply do not work anymore when accessed with LWP::UserAgent due to certificate problems. See the linked Mozilla::CA discussion above.
Resolved in 0.95. Let me know if the problem persists for some reason.
Resolved. Closing.