rkshyam has asked for the wisdom of the Perl Monks concerning the following question:

Hi Whenever I open perl package manager(ppm), getting the following error.I know I am behind the firewall and I have tried all work arounds/troubleshooting tips such as adding http_proxy environment variable, trying through CPAN, tried with different repositiory otherthan active state etc. But no luck. Downloading ActiveState Package Repository packlist ... failed 500 Can't connect to ppm4.activestate.com:80 (timeout) Because of this I am unable to install any of the external packages. Can any one help me on this? thanks for your help in advance.

Replies are listed 'Best First'.
Re: troubleshoot ppm error?
by BrowserUk (Patriarch) on Apr 04, 2012 at 15:33 UTC

    What do you get if you type  ppm4.activestate.com:80 into your browser's url field?


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      with (http://ppm4.activestate.com:80) from the browser, not getting anything. If I remove the port 80 and use only http://ppm4.activestate.com then it is redirecting into activestate website.

        , not getting anything

        Not even an error?

        When I go to that address, :80 intact, the redirect to http://code.activestate.com/ppm/ is immediate, but then there is a ~5 seconds delay before the page starts to be sent. I assume that the code at the other end is waiting for the PPM client software to send some kind of request, When it doesn't receive it, it just display a normal web page.

        I know I am behind the firewall

        Is this your own personal firewall, or your company firewall?

        If it is your personal firewall, you may need to authorise Perl to perform outbound tctip requests and receive replies.

        If it is a company firewall, you'll certainly need to contact your support people. Even if you blagged your way past it, you'd be putting your job at risk if they catch you.

        Either way, until you can reach that address manually using your browser, perl won't be able to either.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

        The start of some sanity?

Re: troubleshoot ppm error?
by ww (Archbishop) on Apr 04, 2012 at 15:35 UTC
    I don't know the cause, and am assuming -- for lack of information about your OS -- that the question deals with a Win version.

    I have a similar issue (w/AS 5.012 and Win 7) if I invoke ppm without arguments at the command prompt: ppm4 goes to its GUI mode in that case, and fails with a 500 or a 'bad hostname' message.

    Two workarounds: add bribes or other repositories to your repos OR use the command line version ( c:\<ppm help ) for starters

    ... OR do both.

      The OS that I have it is windows vista 32 bit.I have also added other repositories but still not working,resulting with same error.