You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.
On various servers running Java 8, I had the latest logstash-output-elasticsearch plugin installed concurrently with this plugin, and Logstash was consistently crashing shortly after startup with a NoMethodError exception on set_validate_after_inactivity.
It turns out the elasticsearch plugin depends on manticore which calls setValidateAfterInactivity which was added in v4.4 of httpclient. manticore requires version 4.5 of httpclient in its gemspec, while this plugin ships with 4.3. I believe Java 8 is somehow loading these such that the 4.3 versions takes precedence.
I am able to fix the issue locally (and haven't run into any other problems) by swapping the the httpclient and httpcore files for newer versions in this plugin's runtime-jars folder.
The text was updated successfully, but these errors were encountered:
Hmmm interesting - what version of Logstash proper are you using? I haven't updated this plugin in a couple of months, and there's been a few releases of LS since then.
I am currently using 2.3. I believe that was the version I was using when I created this issue, although I was using 2.2 until shortly before and IIRC experienced the same dependency conflict between this package and the elasticsearch. Thanks!
On various servers running Java 8, I had the latest
logstash-output-elasticsearch
plugin installed concurrently with this plugin, and Logstash was consistently crashing shortly after startup with aNoMethodError
exception onset_validate_after_inactivity
.It turns out the elasticsearch plugin depends on
manticore
which callssetValidateAfterInactivity
which was added in v4.4 ofhttpclient
.manticore
requires version 4.5 ofhttpclient
in its gemspec, while this plugin ships with 4.3. I believe Java 8 is somehow loading these such that the 4.3 versions takes precedence.I am able to fix the issue locally (and haven't run into any other problems) by swapping the the
httpclient
andhttpcore
files for newer versions in this plugin'sruntime-jars
folder.The text was updated successfully, but these errors were encountered: