Skip Menu |

This queue is for tickets about the App-perlbrew CPAN distribution.

Report information
The Basics
Id: 61257
Status: open
Priority: 0/
Queue: App-perlbrew

People
Owner: Nobody in particular
Requestors: ROBN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.10
Fixed in: (no value)



Subject: Doesn't work with local http_proxy
I have a Squid proxy on my laptop: rob@junai:~$ echo $http_proxy http://junai:3128 This host is configured appropriately in /etc/hosts 127.0.0.1 junai junai.home localhost perlbrew returns _immediately_ with errors like the following: rob@junai:~$ perlbrew mirror Fetching mirror list Fail to get http://search.cpan.org/mirror (error: Connection timed out) at /home/rob/perl5/perlbrew/bin/perlbrew line 1278. Clearing http_proxy before running works: rob@junai:~$ http_proxy= perlbrew mirror Fetching mirror list [ 1] Africa, South Africa, Cape Town (mirror.ac.za) [ 2] Africa, South Africa, Gauteng, Johannesburg (is.co.za) ...
This worked for me with perlbrew 0.50.
From: dan.thibadeau [...] hp.com
I had the same issue. In my case the issue was with "curl". It seems to ignore the $http_proxy variable. To resolve I set "proxy = http://some-proxy.com:8080" in my ~/.curlrc file. Some info on my setup: $ perlbrew --version ~/perl5/bin/perlbrew - App::perlbrew/0.50 $ curl --version curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.12.6.2 zlib/1.2.3 libidn/1.18 libssh2/1.2.2 Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.0 (Santiago)