Skip to content

SSL error messages can be improved #117

Closed
miyagawa opened this Issue Aug 17, 2011 · 1 comment

2 participants

@miyagawa
Owner

when there's no LWP::Protocol::https installed the error messages when failing to fetch https tar balls is cryptic. It could be more explicit errors.

@doherty
doherty commented Mar 7, 2013

Specifically, the error will look like

$ cpanm -nf --installdeps WWW::Hashbang::Pastebin
cpanm (App::cpanminus) 1.5018 on perl 5.016002 built for x86_64-linux
Work directory is /home/mike/.cpanm/work/1362622913.31225
You have make /usr/bin/make
You have LWP 6.04
You have /bin/tar: tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching WWW::Hashbang::Pastebin on mirror https://cpan.metacpan.org ...
Downloading index file https://cpan.metacpan.org/modules/02packages.details.txt.gz ...
--> Working on WWW::Hashbang::Pastebin
Fetching https://cpan.metacpan.org/authors/id/D/DO/DOHERTY/WWW-Hashbang-Pastebin-0.004.tar.gz ... FAIL
! Download https://cpan.metacpan.org/authors/id/D/DO/DOHERTY/WWW-Hashbang-Pastebin-0.004.tar.gz failed. Retrying ... 
! Download https://cpan.metacpan.org/authors/id/D/DO/DOHERTY/WWW-Hashbang-Pastebin-0.004.tar.gz failed. Retrying ... 
! Download https://cpan.metacpan.org/authors/id/D/DO/DOHERTY/WWW-Hashbang-Pastebin-0.004.tar.gz failed. Retrying ... 
! Failed to download https://cpan.metacpan.org/authors/id/D/DO/DOHERTY/WWW-Hashbang-Pastebin-0.004.tar.gz
! Failed to fetch distribution WWW-Hashbang-Pastebin-0.004

[1]

@miyagawa miyagawa added a commit that referenced this issue Apr 5, 2013
@miyagawa Checking in changes prior to tagging of version 1.6105.
Changelog diff is:

diff --git a/Changes b/Changes
index 20e3ffc..cfc9773 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 See http://github.com/miyagawa/cpanminus/ for the latest development.

+1.6105  Thu Apr  4 22:15:44 PDT 2013
+   [Improvements]
+      - Better error message when https is not supported with LWP #117
+
 1.6104  Tue Apr  2 18:02:53 PDT 2013
    [New Features]
       - Added --self-contained, it's like --local-lib-contained but without --local-lib (schwern)
7a94f12
@miyagawa miyagawa added a commit that referenced this issue Apr 6, 2013
@miyagawa Checking in changes prior to tagging of version 1.6106.
Changelog diff is:

diff --git a/Changes b/Changes
index cfc9773..b08df28 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 See http://github.com/miyagawa/cpanminus/ for the latest development.

+1.6106  Sat Apr  6 14:18:25 PDT 2013
+   [Improvements]
+      - Support git-ssh with @commit (ikasam_a)
+
 1.6105  Thu Apr  4 22:15:44 PDT 2013
    [Improvements]
       - Better error message when https is not supported with LWP #117
b3f755c
@miyagawa miyagawa closed this Apr 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.