Dearest Monks,

I am driving myself crazy in a new contract I'm working on... I am obviously behind a firewall/proxy in this shop, however i am more than a little confused at something -->
I cannot seem to add any modules or even find them through PPM or CPAN shells. I can go right to the repositories online and download the files, even using the same URLs that fail in the shell...

I am using ActiveState Perl 5.12.4

When I use PPM, the activestate repository always reads "0" modules and I'm unable to add anything not "in the box"

When I run CPAN shell, I have tried setting the following config options:

Which gets me this far:
(example is searching for Test::Simple module)
cpan> i test::simple Fetching with LWP: http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz LWP failed with code[404] message[Not Found] Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tmp8008'. Giving up on it. Fetching with LWP: http://cpan.perl.org/authors/01mailrc.txt.gz LWP failed with code[404] message[Not Found] Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tmp8008'. Giving up on it. Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tmp8008'. Giving up on it. No external ftp command available Fetching with LWP: http://ppm.activestate.com/CPAN/authors/01mailrc.txt.gz LWP failed with code[404] message[Not Found] Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tmp8008'. Giving up on it. Fetching with LWP: http://cpan.perl.org/authors/01mailrc.txt.gz LWP failed with code[404] message[Not Found] Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tmp8008'. Giving up on it. Warning: no success downloading 'C:\Perl\cpan\sources\authors\01mailrc +.txt.gz.tmp8008'. Giving up on it. No external ftp command available Please check, if the URLs I found in your configuration file (http://ppm.activestate.com/CPAN, http://cpan.perl.org) are valid. The urllist can be edited. E.g. with 'o conf urllist push ftp://myurl/' Could not fetch authors/01mailrc.txt.gz

As an effort in troubleshooting, I have browsed to every single URL in the above CPAN output. If I copy the complete "01mailrc.txt.gz" URL to my browser's address bar and hit enter: I get the GZ file complete with all the email addresses and names of cpan authors. Both of the (http://ppm.activestate.com/CPAN, http://cpan.perl.org) URLs work from my browser as well.

  • What.IN.the.H***. is getting in my way here?
  • What else can I try to get around this so I can move on extending my perl environment??

  • Also worth noting: If I don't configure any proxy stuff, I get "bad hostname" errors after every attempt to load something
    Fetching with LWP: http://cpan.perl.org/authors/01mailrc.txt.gz LWP failed with code[500] message[Can't connect to cpan.perl.org:80 (B +ad hostname)]

    In reply to PPM/CPAN connection issues by technojosh

    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.