# Logstash not able to start. Error undefined method set\_validate\_after\_inactivity

**URL:** <https://discuss.elastic.co/t/logstash-not-able-to-start-error-undefined-method-set-validate-after-inactivity/109148>\
**Category:** Logstash\
**Created:** [November 26, 2017, 8:21pm UTC](https://discuss.elastic.co/t/logstash-not-able-to-start-error-undefined-method-set-validate-after-inactivity/109148 "2017-11-26T20:21:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abel\_Gbeli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abel_gbeli/32/24686_2.png) [@Abel\_Gbeli](https://discuss.elastic.co/u/Abel_Gbeli)\
**Post date:** [November 26, 2017, 8:21pm UTC](https://discuss.elastic.co/t/logstash-not-able-to-start-error-undefined-method-set-validate-after-inactivity/109148/1 "2017-11-26T20:21:08Z")

</div>

Hi i'm beginner in Logstash and i have some problem with it.  
I am Using Logstash-6.0.0 with windows 10. The service is not getting started. Its breaking with following error mentioned below :

[2017-11-26T20:00:07,621][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2017-11-26T20:00:07,977][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}  
[2017-11-26T20:00:09,597]**[ERROR][logstash.pipeline] Error registering plugin**  **{:pipeline\_id=\>"main", :plugin=\>"#\<LogStash::OutputDelegator** :0x16c8a3fc @namespaced\_metric=#\<LogStash::Instrument::NamespacedMetric:0x20bd5e76 @metric=#\<LogStash::Instrument::Metric:0x54914339 @collector=#\<LogStash::Instrument::Collector:0x53226d9f @agent=nil, @metric\_store=#\<LogStash::Instrument::MetricStore:0x26e344 @store=#\<Concurrent:🗺0x00000000000fb0 entries=3 default\_proc=nil\>, @structured\_lookup\_mutex=#Mutex:0x4a2243d8, @fast\_lookup=#\<Concurrent:🗺0x00000000000fb4 entries=74 default\_proc=nil\>\>\>\>, @namespace\_name=[:stats, :pipelines, :main, :plugins, :outputs, :HGewLw7jTIql8oRiwR8OWg]\>, @metric=#\<LogStash::Instrument::NamespacedMetric:0x54fa80aa @metric=#\<LogStash::Instrument::Metric:0x54914339 @collector=#\<LogStash::Instrument::Collector:0x53226d9f @agent=nil, @metric\_store=#\<LogStash::Instrument::MetricStore:0x26e344 @store=#\<Concurrent:🗺0x00000000000fb0 entries=3 default\_proc=nil\>, @structured\_lookup\_mutex=#Mutex:0x4a2243d8, @fast\_lookup=#\<Concurrent:🗺0x00000000000fb4 entries=74 default\_proc=nil\>\>\>\>, @namespace\_name=[:stats, :pipelines, :main, :plugins, :outputs]\>, @logger=#\<LogStash::Logging::Logger:0x3b95c697 @logger=#Java::OrgApacheLoggingLog4jCore::Logger:0xd9ec5f2\>, @out\_counter=org.jruby.proxy.org.logstash.instrument.metrics.counter.LongCounter$Proxy2 - namespace: [stats, pipelines, main, plugins, outputs, HGewLw7jTIql8oRiwR8OWg, events] key: out value:0, @strategy=#\<LogStash::OutputDelegatorStrategies::Shared:0x655543d0 @output=\<LogStash::Outputs::ElasticSearch id=\>"HGewLw7jTIql8oRiwR8OWg", hosts=\>[[//localhost:9200](https://localhost:9200)], index=\>"kaggle", enable\_metric=\>true, codec=\>\<LogStash::Codecs::Plain id=\>"plain\_03c60e81-954f-48b9-8e84-372800f0b4a4", enable\_metric=\>true, charset=\>"UTF-8"\>, workers=\>1, manage\_template=\>true, template\_name=\>"logstash", template\_overwrite=\>false, doc\_as\_upsert=\>false, script\_type=\>"inline", script\_lang=\>"painless", script\_var\_name=\>"event", scripted\_upsert=\>false, retry\_initial\_interval=\>2, retry\_max\_interval=\>64, retry\_on\_conflict=\>1, action=\>"index", ssl\_certificate\_verification=\>true, sniffing=\>false, sniffing\_delay=\>5, timeout=\>60, pool\_max=\>1000, pool\_max\_per\_route=\>100, resurrect\_delay=\>5, validate\_after\_inactivity=\>10000, http\_compression=\>false\>\>, @in\_counter=org.jruby.proxy.org.logstash.instrument.metrics.counter.LongCounter$Proxy2 - namespace: [stats, pipelines, main, plugins, outputs, HGewLw7jTIql8oRiwR8OWg, events] key: in value:0, @id="HGewLw7jTIql8oRiwR8OWg", @time\_metric=org.jruby.proxy.org.logstash.instrument.metrics.counter.LongCounter$Proxy2 - namespace: [stats, pipelines, main, plugins, outputs, HGewLw7jTIql8oRiwR8OWg, events] key: duration\_in\_millis value:0, @metric\_events=#\<LogStash::Instrument::NamespacedMetric:0x70619093 @metric=#\<LogStash::Instrument::Metric:0x54914339 @collector=#\<LogStash::Instrument::Collector:0x53226d9f @agent=nil, @metric\_store=#\<LogStash::Instrument::MetricStore:0x26e344 @store=#\<Concurrent:🗺0x00000000000fb0 entries=3 default\_proc=nil\>, @structured\_lookup\_mutex=#Mutex:0x4a2243d8, @fast\_lookup=#\<Concurrent:🗺0x00000000000fb4 entries=74 default\_proc=nil\>\>\>\>, @namespace\_name=[:stats, :pipelines, :main, :plugins, :outputs, :HGewLw7jTIql8oRiwR8OWg, :events]\>, **@output\_class=LogStash::Outputs::ElasticSearch\>", :error=\>"undefined method `set\_validate\_after\_inactivity' for #Java::OrgApacheHttpImplConn::PoolingHttpClientConnectionManager:0x46957964**", :thread=\>"#\<Thread:0x1d9c1414@C:/logstash-6.0.0/logstash-core/lib/logstash/pipeline.rb:290 run\>"}

Please help me

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 24, 2017, 8:21pm UTC](https://discuss.elastic.co/t/logstash-not-able-to-start-error-undefined-method-set-validate-after-inactivity/109148/2 "2017-12-24T20:21:15Z")

</div>

Closed on December 24, 2017, 8:21pm UTC

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