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

This is annoying. I start up PPM 4 and get a 407 proxy auth error when it tries to read the repository db. I've added the http_proxy setting to the environment variables (win 2k server) without any success. I know for a fact these work, as I can browse quite happily from the console. I have also tried downloading the tar.gz package I'm after and doing ppm install from cmd, but it won't find the package. Any help appreciated

Replies are listed 'Best First'.
Re: getting 407 error in ppm 4
by moritz (Cardinal) on Mar 10, 2008 at 13:25 UTC
    Does your proxy need authentication? And did you provide proxy username and password?

    Do other programs work that rely on the http_proxy environment variable? (you could test that with wget for windows)

      Yes and yes. Just tried wget, and that doesn't work either. I'll reboot the server overnight JIC it needs that.
Re: getting 407 error in ppm 4
by igelkott (Priest) on Mar 10, 2008 at 13:30 UTC
    Need a username and/or password for your proxy. Assuming windows, you might not see this for other applications because they could use your domain login credentials.

    Format is http_proxy=http://username:password@hostname:port

      see above comments.

      Just tried the set option mentioned in wget help.

      very spooky, it worked. I'll switch the setting on the server. Thanks for the suggestions.