Logstash Error : Error Registering Plugin

I am getting the following error on running Logstash :
[2018-04-20T13:18:02,661][ERROR][logstash.pipeline ] Error registering plugin {:pipeline_id=>"main", :plugin=>"#<LogStash::OutputDelegator:0x4bf9ba3d @namespaced_metric
=#<LogStash::Instrument::NamespacedMetric:0x5db26838 @metric=#<LogStash::Instrument::Metric:0x35b10995 @collector=#<LogStash::Instrument::Collector:0x26244967 @agent=nil, @met
ric_store=#<LogStash::Instrument::MetricStore:0x208a27cc @store=#<Concurrent::map:0x00000000000fb0 entries=3 default_proc=nil>, @structured_lookup_mutex=#Mutex:0x571c2dc7, @
fast_lookup=#<Concurrent::map:0x00000000000fb4 entries=58 default_proc=nil>>>>, @namespace_name=[:stats, :pipelines, :main, :plugins, :outputs, :cbbe61e4681dee634251665643d028
ec31f4592a3d0004adb8226c5a9559bdf0]>, @metric=#<LogStash::Instrument::NamespacedMetric:0x73f9b529 @metric=#<LogStash::Instrument::Metric:0x35b10995 @collector=#<LogStash::Inst
rument::Collector:0x26244967 @agent=nil, @metric_store=#<LogStash::Instrument::MetricStore:0x208a27cc @store=#<Concurrent::map:0x00000000000fb0 entries=3 default_proc=nil>, @s
tructured_lookup_mutex=#Mutex:0x571c2dc7, @fast_lookup=#<Concurrent::map:0x00000000000fb4 entries=58 default_proc=nil>>>>, @namespace_name=[:stats, :pipelines, :main, :plugi
ns, :outputs]>, @out_counter=org.jruby.proxy.org.logstash.instrument.metrics.counter.LongCounter$Proxy2 - name: out value:0, @strategy=#<LogStash::OutputDelegatorStrategies::
Shared:0x2f6db44f @output=<LogStash::Outputs::Elasticsearch hosts=>[//localhost:9200], id=>"cbbe61e4681dee634251665643d028ec31f4592a3d0004adb8226c5a9559bdf0", enable_metric=

true, codec=><LogStash::Codecs::Plain id=>"plain_e42ae012-b740-4a57-b0a1-3531b8de291e", enable_metric=>true, charset=>"UTF-8">, workers=>1, index=>"logstash-%{+YYYY.MM.d
d}", 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=>f
alse, sniffing_delay=>5, timeout=>60, pool_max=>1000, pool_max_per_route=>100, resurrect_delay=>5, validate_after_inactivity=>10000, http_compression=>false, metric=>#<LogStas
h::Instrument::NamespacedMetric:0x5db26838 @metric=#<LogStash::Instrument::Metric:0x35b10995 @collector=#<LogStash::Instrument::Collector:0x26244967 @agent=nil, @metric_store=
#<LogStash::Instrument::MetricStore:0x208a27cc @store=#<Concurrent::map:0x00000000000fb0 entries=3 default_proc=nil>, @structured_lookup_mutex=#Mutex:0x571c2dc7, @fast_looku
p=#<Concurrent::map:0x00000000000fb4 entries=58 default_proc=nil>>>>, @namespace_name=[:stats, :pipelines, :main, :plugins, :outputs, :cbbe61e4681dee634251665643d028ec31f4592a
3d0004adb8226c5a9559bdf0]>>>, @in_counter=org.jruby.proxy.org.logstash.instrument.metrics.counter.LongCounter$Proxy2 - name: in value:0, @id="cbbe61e4681dee634251665643d028e
c31f4592a3d0004adb8226c5a9559bdf0", @time_metric=org.jruby.proxy.org.logstash.instrument.metrics.counter.LongCounter$Proxy2 - name: duration_in_millis value:0, @metric_event
s=#<LogStash::Instrument::NamespacedMetric:0x47f9f1b1 @metric=#<LogStash::Instrument::Metric:0x35b10995 @collector=#<LogStash::Instrument::Collector:0x26244967 @agent=nil, @me
tric_store=#<LogStash::Instrument::MetricStore:0x208a27cc @store=#<Concurrent::map:0x00000000000fb0 entries=3 default_proc=nil>, @structured_lookup_mutex=#Mutex:0x571c2dc7,
@fast_lookup=#<Concurrent::map:0x00000000000fb4 entries=58 default_proc=nil>>>>, @namespace_name=[:stats, :pipelines, :main, :plugins, :outputs, :cbbe61e4681dee634251665643d02
8ec31f4592a3d0004adb8226c5a9559bdf0, :events]>, @output_class=LogStash::Outputs::Elasticsearch>", :error=>"SSLConnectionSocketFactory not found in packages org.apache.http.cli
ent.methods, org.apache.http.client.entity, org.apache.http.client.config, org.apache.http.config, org.apache.http.conn.socket, org.apache.http.impl, org.apache.http.impl.clie
nt, org.apache.http.impl.conn, org.apache.http.impl.auth, org.apache.http.entity, org.apache.http.message, org.apache.http.params, org.apache.http.protocol, org.apache.http.au
th, java.util.concurrent, org.apache.http.client.protocol, org.apache.http.conn.ssl, java.security.cert, java.security.spec, java.security, org.apache.http.client.utils; last
error: cannot load Java class org.apache.http.client.utils.SSLConnectionSocketFactory", :thread=>"#<Thread:0x2e6ce700 run>"}
[2018-04-20T13:18:02,676][ERROR][logstash.pipeline ] Pipeline aborted due to error {:pipeline_id=>"main", :exception=>#<NameError: SSLConnectionSocketFactory not found
in packages org.apache.http.client.methods, org.apache.http.client.entity, org.apache.http.client.config, org.apache.http.config, org.apache.http.conn.socket, org.apache.http.
impl, org.apache.http.impl.client, org.apache.http.impl.conn, org.apache.http.impl.auth, org.apache.http.entity, org.apache.http.message, org.apache.http.params, org.apache.ht
tp.protocol, org.apache.http.auth, java.util.concurrent, org.apache.http.client.protocol, org.apache.http.conn.ssl, java.security.cert, java.security.spec, java.security, org.
apache.http.client.utils; last error: cannot load Java class org.apache.http.client.utils.SSLConnectionSocketFactory>, :backtrace=>["uri:classloader:/jruby/java/core_ext/modul
e.rb:45:in `const_missing'", "D:/Userfiles/svasudev/Desktop/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/manticore-0.6.1-java/lib/manticore/client.rb:603:in `ssl_socket_facto
ry_from_options'", "D:/Userfiles/svasudev/Desktop/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/manticore-0.6.1-java/lib/manticore/client.rb:394:in `pool_builder'", "D:/Userfi
les/svasudev/Desktop/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/manticore-0.6.1-java/lib/manticore/client.rb:402:in `pool'", "D:/Userfiles/svasudev/Desktop/logstash-6.2.4/v
endor/bundle/jruby/2.3.0/gems/manticore-0.6.1-java/lib/manticore/client.rb:208:in `initialize'", "d:/Userfiles/svasudev/Desktop/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/l
ogstash-output-elasticsearch-9.1.1-java/lib/logstash/outputs/elasticsearch/http_client/manticore_adapter.rb:26:in `initialize'", "d:/Userfiles/svasudev/Desktop/logstash-6.2.4/
vendor/bundle/jruby/2.3.0/gems/logstash-output-elasticsearch-9.1.1-java/lib/logstash/outputs/elasticsearch/http_client.rb:279:in `build_adapter'", ......................

coninued error:
"d:/Userfiles/svasudev/Deskt
op/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/logstash-output-elasticsearch-9.1.1-java/lib/logstash/outputs/elasticsearch/http_client.rb:283:in build_pool'", "d:/Userfiles /svasudev/Desktop/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/logstash-output-elasticsearch-9.1.1-java/lib/logstash/outputs/elasticsearch/http_client.rb:63:ininitialize'",
"d:/Userfiles/svasudev/Desktop/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/logstash-output-elasticsearch-9.1.1-java/lib/logstash/outputs/elasticsearch/http_client_builder.r
b:102:in create_http_client'", "d:/Userfiles/svasudev/Desktop/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/logstash-output-elasticsearch-9.1.1-java/lib/logstash/outputs/elas ticsearch/http_client_builder.rb:98:inbuild'", "d:/Userfiles/svasudev/Desktop/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/logstash-output-elasticsearch-9.1.1-java/lib/logs
tash/outputs/elasticsearch.rb:231:in build_client'", "d:/Userfiles/svasudev/Desktop/logstash-6.2.4/vendor/bundle/jruby/2.3.0/gems/logstash-output-elasticsearch-9.1.1-java/lib /logstash/outputs/elasticsearch/common.rb:24:inregister'", "d:/Userfiles/svasudev/Desktop/logstash-6.2.4/logstash-core/lib/logstash/output_delegator_strategies/shared.rb:9:i
n register'", "d:/Userfiles/svasudev/Desktop/logstash-6.2.4/logstash-core/lib/logstash/output_delegator.rb:42:inregister'", "d:/Userfiles/svasudev/Desktop/logstash-6.2.4/lo
gstash-core/lib/logstash/pipeline.rb:342:in register_plugin'", "d:/Userfiles/svasudev/Desktop/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:353:inblock in register_
plugins'", "org/jruby/RubyArray.java:1734:in each'", "d:/Userfiles/svasudev/Desktop/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:353:inregister_plugins'", "d:/User
files/svasudev/Desktop/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:730:in maybe_setup_out_plugins'", "d:/Userfiles/svasudev/Desktop/logstash-6.2.4/logstash-core/lib /logstash/pipeline.rb:363:instart_workers'", "d:/Userfiles/svasudev/Desktop/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:290:in run'", "d:/Userfiles/svasudev/Deskt op/logstash-6.2.4/logstash-core/lib/logstash/pipeline.rb:250:inblock in start'"], :thread=>"#<Thread:0x2e6ce700 run>"}
[2018-04-20T13:18:02,679][ERROR][logstash.agent ] Failed to execute action {:id=>:main, :action_type=>LogStash::ConvergeResult::FailedAction, :message=>"Could not ex
ecute action: LogStash::PipelineAction::Create/pipeline_id:main, action_result: false", :backtrace=>nil}

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