Hey all,
I'm having some trouble downloading elasticsearch plugins from within a heavily firewalled environment.
This is what happens:
[root@aoaapld00135la ~]# /usr/share/elasticsearch/bin/plugin -i elasticsearch/marvel/latest --verbose
-> Installing elasticsearch/marvel/latest...
Trying http://download.elasticsearch.org/elasticsearch/marvel/marvel-latest.zip...
Failed: UnknownHostException[download.elasticsearch.org]
Trying http://search.maven.org/remotecontent?filepath=elasticsearch/marvel/latest/marvel-latest.zip...
Failed: UnknownHostException[search.maven.org]
Trying https://oss.sonatype.org/service/local/repositories/releases/content/elasticsearch/marvel/latest/marvel-latest.zip...
Failed: UnknownHostException[oss.sonatype.org]
Trying https://github.com/elasticsearch/marvel/archive/latest.zip...
Failed: UnknownHostException[github.com]
Trying https://github.com/elasticsearch/marvel/archive/master.zip...
Failed: UnknownHostException[github.com]
Failed to install elasticsearch/marvel/latest, reason: failed to download out of all possible locations..., use --verbose to get detailed information
I have an http proxy setup that allows me to pull down the file using wget:
[root@aoaapld00135la ~]# wget http://download.elasticsearch.org/elasticsearch/marvel/marvel-latest.zip
--2015-07-15 13:56:59-- http://download.elasticsearch.org/elasticsearch/marvel/marvel-latest.zip
Connecting to 173.213.208.231:80... connected.
Proxy request sent, awaiting response... 200 OK
Length: 2001380 (1.9M) [application/zip]
Saving to: “marvel-latest.zip”
100%[======================================================================================================================================================================================================================================>] 2,001,380 --.-K/s in 0.1s
2015-07-15 13:56:59 (13.3 MB/s) - “marvel-latest.zip” saved [2001380/2001380]
[root@aoaapld00135la ~]# echo $http_proxy
xx.xx.xx.xx.:80
Is there someplace I can set the proxy information that will me to use the plugin command directly?
Thanks