Not able to install the elastic search report plugin

Hi All,

We are trying to install the elastic search report plugin which one is available on git hub malike/elasticsearch-report-engine

But getting the error ERROR: elasticsearch directory is missing in the plugin zip

We are trying to install using the below command

bin/elasticsearch-plugin install https://github.com/malike/elasticsearch-report-engine/archive/master.zip

Any help should be appreciated.

Not sure of what you downloaded. Probably the github source and not the distribution itself.
As far as I can read the Github README it seems to be available only with elasticsearch 5.4.1:

Thanks. understand the issue need to download the distribution..

@dadoonet

we have tried in Elastic search 5.4.1 facing Exception in thread "main" javax.net.ssl.SSLException: SSL peer shut down incorrectly.

What does mean that? Could you please explain this issue?

What is the full message please? The stacktrace.

Please find below the stack trace.

Exception in thread "main" javax.net.ssl.SSLException: SSL peer shut down incorrectly at sun.security.ssl.InputRecord.readV3Record(InputRecord.java:596) at sun.security.ssl.InputRecord.read(InputRecord.java:532) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983) at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940) at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) at java.io.BufferedInputStream.read1(BufferedInputStream.java:284) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) at sun.net.www.MeteredStream.read(MeteredStream.java:134) at java.io.FilterInputStream.read(FilterInputStream.java:133) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3375) at java.io.FilterInputStream.read(FilterInputStream.java:133) at org.elasticsearch.plugins.ProgressInputStream.read(ProgressInputStream.java:55) at org.elasticsearch.plugins.ProgressInputStream.read(ProgressInputStream.java:62) at java.nio.file.Files.copy(Files.java:2908) at java.nio.file.Files.copy(Files.java:3027) at org.elasticsearch.plugins.InstallPluginCommand.downloadZip(InstallPluginCommand.java:284) at org.elasticsearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:257) at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:213) at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:199) at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67) at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122) at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:69) at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122) at org.elasticsearch.cli.Command.main(Command.java:88) at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47) Suppressed: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: SSL peer shut down incorrectly at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1551) at sun.security.ssl.AppInputStream.available(AppInputStream.java:60) at java.io.BufferedInputStream.available(BufferedInputStream.java:410) at sun.net.www.MeteredStream.available(MeteredStream.java:170) at sun.net.www.http.KeepAliveStream.close(KeepAliveStream.java:85) at java.io.FilterInputStream.close(FilterInputStream.java:181) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.close(HttpURLConnection.java:3448) at java.io.FilterInputStream.close(FilterInputStream.java:181) at org.elasticsearch.plugins.InstallPluginCommand.downloadZip(InstallPluginCommand.java:285) ... 9 more [CIRCULAR REFERENCE:javax.net.ssl.SSLException: SSL peer shut down incorrectly]

What exact command did you run?

.\bin\elasticsearch-plugin install http://github.com/malike/elasticsearch-report-engine/releases/download/v.1.0.0-RC/st.malike.elasticsearch.report.engine-1.0-RC.zip

This is the exact command I run.

I think the link in doc is https not http: https://github.com/malike/elasticsearch-report-engine/releases/download/v.1.0.0-RC/st.malike.elasticsearch.report.engine-5.4.1.zip

Anyway, can you download it locally then install with:

bin/elasticsearch-plugin install file:///path/to/zip

?

We have tried https, but unfortunately we have faced the java.util.zip.exception. I have shared the screen shot for your reference.

elastic-report

What about the local download I mentioned?

If it's still failing, I'd recommend that you open an issue in the project repository.

we will try the local download and let you know the updates. Thanks a lot for your help.

We have download locally and tried to install, But we are facing difference issue. PFA for reference.

Please don't post images of text as they are hardly readable and not searchable.

Instead paste the text and format it with </> icon. Check the preview window.

Anyway. You need to contact the author.

Thanks and sorry for the inconvenience caused.

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