[pm-h] Error 401 Authorization Required

Fraser Baker flbaker at sbcglobal.net
Thu Mar 14 18:09:04 PDT 2013


Hi John:

Answers to your questions are below:

But, your second comment rang true. Updating to 5.16.2 from 5.10 restored ppm, and I was able to download the module I needed.

Thanks

Fraser
  ----- Original Message ----- 
  From: John Ellyson 
  To: Houston.pm located in Houston, TX. 
  Sent: Thursday, March 14, 2013 4:35 PM
  Subject: Re: [pm-h] Error 401 Authorization Required


  Fraser,


  Can you share the following information?
    - What distribution of Perl are you using?  (ActivePerl, Strawberry Perl, etc.)
  Active Perl
    - What version of Perl are you using?  (5.12, 5.14, etc.)
  v5.10.0
    - Are you using 32-bit or 64-bit Perl?  (I'm assuming 32-bit due to Windows XP.)
  32-bit
    - What module are you trying to install?
  Statistics-LineFit ... I have tried others at random and the same error occurs
    - Which PPM repository are you trying to install from?
  Active State Package Repository


  Without the above information, others have to make a lot of guesses and assumptions to try to figure out how to offer any assistance.


  Based on the very limited informaiton that you shared, here's my guesses on what could be the situation.


  Guess 1:  You're behind an HTTP (and/or FTP) proxy that requires authentication.
  Solution:  You can update the PPM utility to store this information.  Look at the documentation on PPM's configuration for information on how to do this.


  Guess 2:  You're using an old version of free ActivePerl and trying to install a module from ActiveState's repository.
  Solution:  You may need to upgrade to a newer version of ActivePerl.  I know that ActiveState only provides access to the newer versions and builds of free ActivePerl on their site.  Those who have paid for support for their business edition of ActivePerl have access to older versions and builds of ActivePerl.  I'm wondering if it's possible that you're using an old version of ActivePerl and ActiveState is no longer providing free access to their repository for that version of ActivePerl.


  Guess 3:  You're trying to install a module from a repository that might have issues at the moment.
  Solution:  Try contacting the repository maintainer for assistance.  Within the past month or two, I remember seeing someone post on PerlMonks.org that the Bribes repository was no longer accessible and then a few weeks later someone else reported that it was accessible again.


  Hopefully some of this information helps out.


  Also, if you are using a version of free ActivePerl, you may want to also check with the user forums on ActiveState.  That's the official "support" for the free edition of ActivePerl.


  John Ellyson


  On Thu, Mar 14, 2013 at 12:51 PM, Fraser Baker <flbaker at sbcglobal.net> wrote:

    Hi Y'all:

    All of a sudden, PPM is refusing to download a package, returning a 401 error saying that Authorization is required. I googled this and can't figure out why this is happening. I have tested this now on three machines and all do the same. I have run PPM as administrator with no difference.  Using XP.

    Fraser

    _______________________________________________
    Houston mailing list
    Houston at pm.org
    http://mail.pm.org/mailman/listinfo/houston
    Website: http://houston.pm.org/





------------------------------------------------------------------------------


  _______________________________________________
  Houston mailing list
  Houston at pm.org
  http://mail.pm.org/mailman/listinfo/houston
  Website: http://houston.pm.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/mailman/private/houston/attachments/20130314/421f7be4/attachment.html>


More information about the Houston mailing list