What steps will reproduce the problem?
1. run sure-generate.pl on a server which needs a proxy to access the internet
What is the expected output? What do you see instead?
Can't connect to www.knowledge-exchange.info:80 (connect: timeout)
What version of the product are you using? On what operating system?
Latest version from ZIP download, OS = RHEL5
Please provide any additional information below.
Fix, add "$ua->env_proxy();" to sure-generate.pl:
sub read_robotlist() {
my $ua = LWP::UserAgent->new();
$ua->env_proxy();
my $url = "http://www.knowledge-exchange.info/Files/Filer/downloads/Usage%20Statistics/robotlist/current/robotslist.xml";
my $req = HTTP::Request->new( GET => $url );
And make sure your proxy server is correctly configured on the OS:
export http_proxy="http://proxy.abc.xyz:3128"
export ftp_proxy="http://proxy.abc.xyz:3128"