Windows Perl Scripting Forums » Perl

Package repository error 401 Unauthorised

(6 posts)

Tags:


  1. allewis
    Member

    Hi,

    Can anyone tell me why I can't install any of the packages listed on this website? I have no trouble with any other Perl repositories on the web! The error is :
    Error: Failed to download URL http://www.roth.net/perl/packages/win32-pipe.ppd: 401 Unauthorized

    Thanks,
    Al Lewis
    Posted 8 years ago #
  2. Dave
    Perl guy

    That is truly odd. The repository does not restrict read permissions for anonymous users. Could you try it again?

    Although this makes me wonder if you are using an HTTP proxy server that may be limiting your access. How are you accessing the repository? Is it using a web browser, PPM or some other technique?
    Posted 7 years ago #
  3. allewis
    Member

    Hi, Dave

    I'm using PPM v3.1 and have no trouble downloading any of the packages on the default Activestate repository. I'm able to add your repository but I don't see any packages when I search and I get the error when I try to install one. I'll send the question over to Activestate support and see what they say.

    Is your repository compatible with the new PPM in 5.8.8.819? I just installed it on a test machine and couldn't see any of your packages from it either.

    Thanks,
    Al Lewis
    Posted 7 years ago #
  4. Dave
    Perl guy

    I just tried searching our repository using PPM v3.1 and had no problems. I added the repository using PPM's interactive mode:

    ppm> repository add "Roth Consulting" http://www.roth.net/perl/packages
    Repositories:
    [1] ActiveState PPM2 Repository
    [2] ActiveState Package Repository
    [3] Roth Consulting
    ppm>  search win32::daemon
    Searching in Active Repositories
      1. Win32-Daemon        [0.2003.06.17] The Win32::Daemon extension for Win32 X86. Allows Perl to be a Win32 service.
      2. Win32-Daemon-Simple        [0.2.6]
     



    Verify your repository list using PPM's "Repository" command and validate our URL with the one above.
    Posted 7 years ago #
  5. allewis
    Member

    Yep, Thats exactly what I've been trying to do. See following command line:

    ppm> rep
    Repositories:
    [1] ActiveState PPM2 Repository
    [2] ActiveState Package Repository
    [3] RothConsulting
    ppm> install win32-pipe
    Error: Failed to download URL http://www.roth.net/perl/packages/win32-pipe.ppd: 401 Unauthorized
    ppm> install win32-asp
    ====================
    Install 'win32-asp' version 2.15 in ActivePerl 5.8.2.808.
    ====================
    Downloaded 9146 bytes.
    Extracting 5/5: blib/arch/auto/Win32/ASP/.exists
    Installing C:\Perl\html\site\lib\Win32\ASP.html
    Installing C:\Perl\site\lib\Win32\ASP.pm
    Successfully installed win32-asp version 2.15 in ActivePerl 5.8.2.808.
    ppm> s win32::pipe
    Searching in Active Repositories
    No matches for 'win32::pipe'; see 'help search'.


    No idea what's changed. I've tried this on XP, Win2000 WS and Win2003 Server - same issue. I've opened a call with Activestate.

    Is your repository compatible with the new PPM GUI?

    Thanks,
    Al Lewis
    Posted 7 years ago #
  6. Dave
    Perl guy

    Our logs do not show anyone receiving an HTTP 401 error. It sounds like you are running into something else.

    Please try the following:
    1) Use a network browser to go to http://www.roth.net/perl/packages/. See if that asks for credentials or gives you a 401 error.

    2) Next, try the following URLs (they are what PPM would use):
    - http://roth.net/perl/packages/Win32-Daemon.ppd
    - http://www.roth.net/perl/packages/x86/Win32/Daemon_5008.tar.gz

    If it is still a problem please get a network trace (eg. using Ethereal or Microsoft's Netmon) of this event and send it to me.
    Posted 7 years ago #

RSS feed for this topic

Reply

You must log in to post.