# NameError: SSLConnectionSocket Factory not found in packages

**URL:** <https://discuss.elastic.co/t/nameerror-sslconnectionsocket-factory-not-found-in-packages/81748>\
**Category:** Logstash\
**Created:** [April 10, 2017, 6:42am UTC](https://discuss.elastic.co/t/nameerror-sslconnectionsocket-factory-not-found-in-packages/81748 "2017-04-10T06:42:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Girish\_K\_T](https://avatars.discourse-cdn.com/v4/letter/g/58f4c7/32.png) [@Girish\_K\_T](https://discuss.elastic.co/u/Girish_K_T)\
**Post date:** [April 10, 2017, 6:42am UTC](https://discuss.elastic.co/t/nameerror-sslconnectionsocket-factory-not-found-in-packages/81748/1 "2017-04-10T06:42:08Z")

</div>

Hi,

I am new to Logstash. I was trying the command  
`logstash -f logstash.conf` and I'm getting the following error...

> Settings: Default pipeline workers: 4  
> ←[31mPipeline aborted due to error {:exception=\>#\<NameError: SSLConnectionSocket  
> Factory not found in packages org.apache.http.client.methods, org.apache.http.cl  
> ient.entity, org.apache.http.client.config, org.apache.http.config, org.apache.h  
> ttp.conn.socket, org.apache.http.impl, org.apache.http.impl.client, org.apache.h  
> ttp.impl.conn, org.apache.http.impl.auth, org.apache.http.entity, org.apache.htt  
> p.message, org.apache.http.params, org.apache.http.protocol, org.apache.http.aut  
> h, java.util.concurrent, org.apache.http.client.protocol, org.apache.http.conn.s  
> sl, java.security.cert, java.security.spec, java.security, org.apache.http.clien  
> t.utils; last error: cannot load Java class org.apache.http.client.utils.SSLConn  
> ectionSocketFactory\>, :backtrace=\>["file:/E:/Girish-GK00428336/ELK/logstash-2.3.  
> 2/vendor/jruby/lib/jruby.jar!/jruby/java/core\_ext/module.rb:45:in `const_missing '", "E:/Girish-GK00428336/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/mantic ore-0.5.5-java/lib/manticore/client.rb:587:in `ssl\_socket\_factory\_from\_options'"  
> , "E:/Girish-GK00428336/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/manticor  
> e-0.5.5-java/lib/manticore/client.rb:394:in `pool_builder'", "E:/Girish-GK004283 36/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/manticore-0.5.5-java/lib/mant icore/client.rb:402:in `pool'", "E:/Girish-GK00428336/ELK/logstash-2.3.2/vendor/  
> bundle/jruby/1.9/gems/manticore-0.5.5-java/lib/manticore/client.rb:208:in `initi alize'", "E:/Girish-GK00428336/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/e lasticsearch-transport-1.0.17/lib/elasticsearch/transport/transport/http/mantico re.rb:58:in `build\_client'", "E:/Girish-GK00428336/ELK/logstash-2.3.2/vendor/bun  
> dle/jruby/1.9/gems/elasticsearch-transport-1.0.17/lib/elasticsearch/transport/tr  
> ansport/http/manticore.rb:49:in `initialize'", "E:/Girish-GK00428336/ELK/logstas h-2.3.2/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.17/lib/elastics earch/transport/client.rb:118:in `initialize'", "E:/Girish-GK00428336/ELK/logsta  
> sh-2.3.2/vendor/bundle/jruby/1.9/gems/elasticsearch-transport-1.0.17/lib/elastic  
> search/transport.rb:26:in `new'", "E:/Girish-GK00428336/ELK/logstash-2.3.2/vendo r/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.6.2-java/lib/logstash/ou tputs/elasticsearch/http_client.rb:129:in `build\_client'", "E:/Girish-GK00428336  
> /ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2  
> .6.2-java/lib/logstash/outputs/elasticsearch/http\_client.rb:20:in `initialize'", "E:/Girish-GK00428336/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/logstash- output-elasticsearch-2.6.2-java/lib/logstash/outputs/elasticsearch/http_client_b uilder.rb:40:in `build'", "E:/Girish-GK00428336/ELK/logstash-2.3.2/vendor/bundle  
> /jruby/1.9/gems/logstash-output-elasticsearch-2.6.2-java/lib/logstash/outputs/el  
> asticsearch.rb:132:in `build_client'", "E:/Girish-GK00428336/ELK/logstash-2.3.2/ vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-2.6.2-java/lib/logsta sh/outputs/elasticsearch/common.rb:14:in `register'", "E:/Girish-GK00428336/ELK/  
> logstash-2.3.2/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.2-java/lib/logstas  
> h/output\_delegator.rb:75:in `register'", "E:/Girish-GK00428336/ELK/logstash-2.3. 2/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.2-java/lib/logstash/pipeline.rb :181:in `start\_workers'", "org/jruby/RubyArray.java:1613:in `each'", "E:/Girish- GK00428336/ELK/logstash-2.3.2/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.2-j ava/lib/logstash/pipeline.rb:181:in `start\_workers'", "E:/Girish-GK00428336/ELK/  
> logstash-2.3.2/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.2-java/lib/logstas  
> h/pipeline.rb:136:in `run'", "E:/Girish-GK00428336/ELK/logstash-2.3.2/vendor/bun dle/jruby/1.9/gems/logstash-core-2.3.2-java/lib/logstash/agent.rb:465:in `start\_  
> pipeline'"], :level=\>:error}←[0m  
> stopping pipeline {:id=\>"main"}  
> The signal HUP is in use by the JVM and will not work correctly on this platform

Here is my logstash.conf file:

> input {  
> file{  
> path =\> "E:/tomcat-servers/apache-tomcat-8.5.6/logs/catalina.2016-12-29.log"  
> start\_position =\> beginning  
> type =\> "tomcat\_log"  
> sincedb\_path =\> "nul"  
> }  
> }

> filter {  
> grok {  
> match =\> { "message" =\> "%{COMBINEDAPACHELOG}"}  
> }
> 
> date {  
> match =\> ["timestamp" , "dd/MMM/yyyy:HH:mm:ss Z"]  
> }  
> }

> output {  
> elasticsearch {  
> hosts =\> ["localhost:9200"]  
> index =\> "log-%{+YYYY.MM.dd}"  
> }  
> }

Please help me with this..  
Thanks in advance!!!!

---

<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:** [May 8, 2017, 6:50am UTC](https://discuss.elastic.co/t/nameerror-sslconnectionsocket-factory-not-found-in-packages/81748/2 "2017-05-08T06:50:38Z")

</div>

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