I am trying to install the license plug-in for elasticsearch, but
my proxy refuse the connection. When i execute the command plugin install license i get the error:
C:\elasticsearch-2.2.0\bin>plugin install license
-> Installing license...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugi
n/license/2.2.0/license-2.2.0.zip ...
Failed: ConnectException[Connection refused: connect]
ERROR: failed to download out of all possible locations..., use --verbose to get
detailed information
Download the file from the path in the error message (https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.2.0/license-2.2.0.zip) and put it into „C:\“
then execute the following command in cmd
C:\elasticsearch-2.2.0\bin> plugin install file:"C:\license-2.2.0.zip"
Alternative:
You can specify a Proxy with
C:\elasticsearch-2.2.0\bin>plugin -DproxyPort=number -DproxyHost=hostname_or_ip install <plugin>
Related
I was trying to install logstash plugins in a Linux server in cloud(Amazon Linux AMI 2016.09). and got the error that the server is not able to download data from https://rubygems.org. Handshake_failure
Command used to install plugin: sudo /usr/share/logstash/bin/logstash-plugin install logstash-filter-environment
Error log: Validating logstash-filter-environment
Unable to download data from https://rubygems.org - Received fatal alert: handshake_failure (https://api.rubygems.org/latest_specs.4.8.gz)
ERROR: Installation aborted, verification failed for logstash-filter-environment
Tried to access this website from this server with this command: w3m https://rubygems.org
Error log: Bad cert ident from rubygems.org: dNSName=j.sni.global.fastly.net
I can successfully wget https://rubygems.org/latest_specs.4.8.gz from the server and it got downloaded successfully.
Got this issue with Ruby 2.0, so upgraded version to Ruby 3.0 and still the same error.
when i tried to run composer install on ubuntu 18.04 i got this:
The "https://packagist.org/packages.json" file could not be downloaded: SSL
operation failed with code 1. OpenSSL Error messages:
error:1408F10B:SSL routines:ssl3_get_record:wrong version number
Failed to enable crypto
failed to open stream: operation failed
I got the rigth proxy configuration on my /etc/apt/apt.conf and /etc/profile, but the error goes on and on, no mather what i do.
The proxy configuration needed for using composer is located in /etc/enviroment file.
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
http_proxy="http://username:password#10.4.1.20:3128"
https_proxy="http://username:password#10.4.1.20:3128"
Unable to install elasticsearch-head in Windows 7. Getting the following error in command prompt.
elasticsearch-2.4.0\bin>plugin install mobz/elasticsearch-head
Installing mobz/elasticsearch-head...
ing https://github.com/mobz/elasticsearch-head/archive/master.zip ...
OR: failed to download out of all possible locations..., use --verbose to get detailed information
How to fix?
[update]
C:\elasticsearch-2.4.0\bin>plugin.bat install mobz/elasticsearch-head --verbose
-> Installing mobz/elasticsearch-head...
Trying https://github.com/mobz/elasticsearch-head/archive/master.zip ...
Failed: SocketTimeoutException[connect timed out]
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information
For ElasticSearch => 5.0
Running as a plugin of Elasticsearch is now deprecated for security problems.
1 . Enable CORS in elasticsearch
config/elasticsearch.yml:
http.cors.enabled : true
http.cors.allow-origin : "*"
http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type, Content-Length
2. you have to run it in another server, like this for example:
(you will need npm => 6)
go to: github.com/mobz/elasticsearch-head.git
donwload it
cd elasticsearch-head
npm install
npm run start
open http://localhost:9100/
it worked for me.
I'm working on an Ubuntu VM, with a proxy.
I have this error then i try to install an elasticsearch plugin :
bin/plugin install --verbose license
-Dhttp.proxyHost=https://myusername:mypassword#my.url.proxy
-Dhttp.proxyPort=portnum -Dhttps.protocols=TLSv1.1,TLSv1.2
-> Installing license...
Trying
https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.2.0/license-2.2.0.zip
...
Failed: SSLHandshakeException[Remote host closed connection during handshake]; nested: EOFException[SSL peer shut down incorrectly];
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information
with or without the options -Dhttp.proxyHost, -Dhttp.proxyPort and -Dhttps.protocols, i have the same problem.
Any help will be appreciated,
Christophe
Why do I get the following error when i try to install the elasticsearch - head` plugin through Command prompt?
C:\tomcat\webapps\elasticsearch-1.1.1\bin>plugin -install mobz/elasticsearch-head
Error is :
Installing mobz/elasticsearch-head...
Trying https://github.com/mobz/elasticsearch-head/archive/master.zip...
**Failed to install mobz/elasticsearch-head, reason:** failed to download out of all
possible locations..., use -verbose to get detailed information
Download it manually from https://github.com/mobz/elasticsearch-head and unzip it in elasticsearch-1.4.2/plugins/head/_site/
and start elasticsearch server
then check in browser
http://localhost:9200/_plugin/head/
I installed it successfully in this way:
bin/plugin -DproxyPort=port_number -DproxyHost=hostname -install mobz/elasticsearch-head
Replace the port_number and hostname in above command.
It seems that head plugin installer is broken. It reports:
Can't get https://github.com/movz/elasticsearch-head/archive/master.zip
And when you try to download this file by hand, you will realize that installer can't work.
However you can use head plugin easily if you download it as zip from https://github.com/mobz/elasticsearch-head, and then you just open index.html in your browser.