Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: cpanm not retrieving remote files

by Anonymous Monk
on Feb 27, 2015 at 00:42 UTC ( [id://1118021]=note: print w/replies, xml ) Need Help??


in reply to cpanm not retrieving remote files

Well, increase the verbosity/debugging level on cpanm, and check the logs, post the logs

Then do the same for wget...

Then compare to see if you can see or we can see something different between the two

Maybe wget has got proxy settings in an .wgetrc that are not in %ENV so cpanm/lwp doesn't see ... or something

Replies are listed 'Best First'.
Re^2: cpanm not retrieving remote files
by cLive ;-) (Prior) on Feb 27, 2015 at 03:36 UTC

    ran cpanm with -v and got the same log output.

    wget and curl are both working in the shell, so I don't know what's to be gained by running them under debug.

    I've also tried it with the --curl / --wget / --lwp flags and it always fails.

    I just went through the docs, and noticed that I can add --no-curl, --no-wget or --no-lwp options. The first two still fail, but --no-lwp works! Talk about non-intuitive :D

    So, I had a thought, and updated LWP:

    cpanm -v --no-lwp LWP

    Updated LWP, but still doesn't resolve the issue. At least it works now, but I don't know why. Just as long as I include the --no-lwp flag. Bizarre.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1118021]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-25 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found