X-pack offline installation problem: Connection refused: connect


(Lior) #1

Hi,
I have standalone windows 2012 r2 server with Elasticsearch, Kibana and Logstash (5.6.3)
The server is not connected to the internet
I download the x-pack zip file for offline installation.

I succeeded to install x-pack on Kibana.
when I'm trying to install it on elasticsearch, i get an error.
the command:
elasticsearch-plugin.bat install file://c:/563/x-pack-5.6.3.zip

the error:
Exception in thread "main" java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.ftp.impl.FtpClient.doConnect(Unknown Source)
at sun.net.ftp.impl.FtpClient.tryConnect(Unknown Source)
at sun.net.ftp.impl.FtpClient.connect(Unknown Source)
at sun.net.ftp.impl.FtpClient.connect(Unknown Source)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(Unknown Source)
at org.elasticsearch.plugins.InstallPluginCommand.downloadZip(InstallPluginCommand.java:328)
at org.elasticsearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:248)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:216)
at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:202)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:70)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:69)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)

need help with this issue.


(Tim Vernum) #2
file://c:/563/x-pack-5.6.3.zip

Can you try file:///c:/563/x-pack-5.6.3.zip

Strictly speaking, a URL is formed with

protocol :// host / path (and then query string etc).

Since you have no host, you should leave that blank and then end up with a triple ///
Although I believe Kibana requires only a double /, so we really should make the handling consistent across the stack.


(Lior) #3

thanks, now it is working.
now after I installed x-pack, in Kibana I need to type usename and password, do you know what is the username and password? I did not need to enter a password and username before x-pack installation


(David Pilato) #4

Before 6.0, defaults were elastic / changeme.


(Lior) #5

thanks, it is working


(system) #6

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.