logstash-plugins/logstash-output-websocket

ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "logstash":

sumeetawari opened this issue · 2 comments

Hello,

I was trying to install logstash-output-websocket plugin, by using command logstash-plugin.bat install logstash-output-websocket
Following is the error:

Validating logstash-output-websocket
Installing logstash-output-websocket
Plugin version conflict, aborting
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "logstash":
In Gemfile:
logstash-output-websocket java was resolved to 0.1.2, which depends on
logstash (>= 1.4.0, < 2.0.0) java

Could not find gem 'logstash (>= 1.4.0, < 2.0.0)', which is required by gem 'logstash-output-websocket', in any of the sources.

Bundler could not find compatible versions for gem "logstash-core":
In snapshot (Gemfile.lock):
logstash-core (= 7.8.1)

In Gemfile:
logstash-core java

logstash-core-plugin-api java was resolved to 2.1.16, which depends on
  logstash-core (= 7.8.1) java

logstash-input-syslog java was resolved to 3.4.3, which depends on
  logstash-filter-grok java was resolved to 4.3.0, which depends on
    logstash-core (>= 5.6.0) java

logstash-integration-jdbc java was resolved to 5.0.5, which depends on
  logstash-core (>= 6.5.0) java

logstash-output-websocket java was resolved to 0.1.4, which depends on
  logstash-core (>= 1.4.0, < 2.0.0) java

Running bundle update will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

Bundler could not find compatible versions for gem "sinatra":
In snapshot (Gemfile.lock):
sinatra (= 2.0.8.1)

In Gemfile:
logstash-core java was resolved to 7.8.1, which depends on
sinatra (~> 2) java

logstash-output-websocket java was resolved to 3.0.5, which depends on
  sinatra (~> 1.4.6) java

Running bundle update will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

  • Version: 7.8.1
  • Operating System: Windows/Linux

I'm getting the same error, I can only get the websocket-output-plugin to work in logstash:7.5.2

I am getting the same error on Logstash 7.12.1

  • Version: 7.12.1
  • Operating System: Red Hat Enterprise Linux 7.8

The error message is as follow:


Using bundled JDK: /usr/share/logstash/jdk
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Validating logstash-output-websocket
Installing logstash-output-websocket
Plugin version conflict, aborting
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "logstash":
In Gemfile:
logstash-output-websocket java was resolved to 0.1.2, which depends on
logstash (>= 1.4.0, < 2.0.0) java

Could not find gem 'logstash (>= 1.4.0, < 2.0.0)', which is required by gem 'logstash-output-websocket', in any of the sources.

Bundler could not find compatible versions for gem "logstash-core":
In snapshot (Gemfile.lock):
logstash-core (= 7.12.1)

In Gemfile:
logstash-core java

logstash-core-plugin-api java was resolved to 2.1.16, which depends on
  logstash-core (= 7.12.1) java

logstash-input-syslog java was resolved to 3.4.5, which depends on
  logstash-filter-grok java was resolved to 4.4.0, which depends on
    logstash-core (>= 5.6.0) java

logstash-integration-jdbc java was resolved to 5.0.6, which depends on
  logstash-core (>= 6.5.0) java

logstash-integration-kafka java was resolved to 10.7.4, which depends on
  logstash-mixin-deprecation_logger_support (~> 1.0) java was resolved to 1.0.0, which depends on
    logstash-core (>= 5.0.0) java

logstash-output-elasticsearch (>= 10.4.2) java was resolved to 10.8.6, which depends on
  logstash-mixin-ecs_compatibility_support (~> 1.0) java was resolved to 1.1.0, which depends on
    logstash-core (>= 6.0.0) java

logstash-input-elasticsearch java was resolved to 4.9.1, which depends on
  logstash-mixin-validator_support (~> 1.0) java was resolved to 1.0.1, which depends on
    logstash-core (>= 6.8) java

logstash-output-websocket java was resolved to 0.1.4, which depends on
  logstash-core (>= 1.4.0, < 2.0.0) java

Running bundle update will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

Bundler could not find compatible versions for gem "sinatra":
In snapshot (Gemfile.lock):
sinatra (= 2.1.0)

In Gemfile:
logstash-core java was resolved to 7.12.1, which depends on
sinatra (~> 2) java

logstash-output-websocket java was resolved to 3.0.5, which depends on
  sinatra (~> 1.4.6) java

Running bundle update will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.