Logstash: Error while trying to install Plugins [Error Bundler::InstallError]

Created on 30 Mar 2017  路  3Comments  路  Source: elastic/logstash

While trying to install any of the following:

/usr/share/logstash/bin/logstash-plugin install logstash-filter-translate
/usr/share/logstash/bin/logstash-plugin install logstash-filter-tld
/usr/share/logstash/bin/logstash-plugin install logstash-filter-elasticsearch
/usr/share/logstash/bin/logstash-plugin install logstash-filter-rest

Got the Following Message:

Error Bundler::InstallError, retrying 1/10
An error occurred while installing logstash-core-event-java (5.3.0), and Bundler cannot continue.
Make sure that `gem install logstash-core-event-java -v '5.3.0'` succeeds before bundling.
WARNING: SSLSocket#session= is not supported

OS: Ubuntu 14.04
ELK: 5.3.0
Ruby: 1.9.3p484

Most helpful comment

Installing JRuby + jruby-openssl gem don't resolves the issue for me.

My workaround:

  1. download necessary plugin manually, e.g. from github.com
  2. Build your plugin gem by: gem build logstash-filter-awesome.gemspec
  3. install the plugin by: sudo bin/logstash-plugin install --local --no-verify /path/to/your/plugin/logstash-filter-awesome.gem

All 3 comments

Note: I do not exit or need to exit through a Proxy

Installing JRuby + jruby-openssl gem resolves the issue.

Installing JRuby + jruby-openssl gem don't resolves the issue for me.

My workaround:

  1. download necessary plugin manually, e.g. from github.com
  2. Build your plugin gem by: gem build logstash-filter-awesome.gemspec
  3. install the plugin by: sudo bin/logstash-plugin install --local --no-verify /path/to/your/plugin/logstash-filter-awesome.gem
Was this page helpful?
0 / 5 - 0 ratings