# Getting the error in logstash5.2.1 and elasticsearch 5.2.1

**URL:** <https://discuss.elastic.co/t/getting-the-error-in-logstash5-2-1-and-elasticsearch-5-2-1/76614>\
**Category:** Logstash\
**Created:** [February 27, 2017, 11:53am UTC](https://discuss.elastic.co/t/getting-the-error-in-logstash5-2-1-and-elasticsearch-5-2-1/76614 "2017-02-27T11:53:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naveen\_Kumar\_M\_A](https://avatars.discourse-cdn.com/v4/letter/n/0ea827/32.png) [@Naveen\_Kumar\_M\_A](https://discuss.elastic.co/u/Naveen_Kumar_M_A)\
**Post date:** [February 27, 2017, 11:53am UTC](https://discuss.elastic.co/t/getting-the-error-in-logstash5-2-1-and-elasticsearch-5-2-1/76614/1 "2017-02-27T11:53:25Z")

</div>

```
`Sending Logstash's logs to /home/user/tools/logstash-5.2.1/logs which is now configured via log4j2.properties
[2017-02-27T17:43:52,402][INFO][logstash.inputs.twitter] Starting twitter tracking {:locations=>"-179.985,-78,180,89"}
[2017-02-27T17:43:52,504][ERROR][logstash.agent] Pipeline aborted due to error {: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.http.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=>["file:/home/user/tools/logstash-5.2.1/vendor/jruby/lib/jruby.jar!/jruby/java/core_ext/module.rb:45:in `const_missing'", "/home/user/tools/logstash-5.2.1/vendor/bundle/jruby/1.9/gems/manticore-0.6.0-java/lib/manticore/client.rb:587:in `ssl_socket_factory_from_options'", "/home/user/tools/logstash-5.2.1/vendor/bundle/jruby/1.9/gems/manticore-0.6.0-java/lib/manticore/client.rb:394:in `pool_builder'", "/home/user/tools/logstash-5.2.1/vendor/bundle/jruby/1.9/gems/manticore-0.6.0-java/lib/manticore/client.rb:402:in `pool'", "/home/user/tools/logstash-5.2.1/vendor/bundle/jruby/1.9/gems/manticore-0.6.0-java/lib/manticore/client.rb:208:in `initialize'", "/home/user/tools/logstash-5.2.1/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-6.2.6-java/lib/logstash/outputs/elasticsearch/http_client/manticore_adapter.rb:26:in `initialize'", "/home/user/tools/logstash-5.2.1/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-6.2.6-java/lib/logstash/outputs/elasticsearch/http_client.rb:243:in `build_adapter'", "/home/user/tools/logstash-5.2.1/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-6.2.6-java/lib/logstash/outputs/elasticsearch/http_client.rb:247:in `build_pool'", "/home/user/tools/logstash-5.2.1/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-6.2.6-java/lib/logstash/outputs/elasticsearch/http_client.rb:58:in `initialize'", "/home/user/tools/logstash-5.2.1/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-6.2.6-java/lib/logstash/outputs/elasticsearch/http_client_builder.rb:80:in `build'", "/home/user/tools/logstash-5.2.1/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-6.2.6-java/lib/logstash/outputs/elasticsearch.rb:207:in `build_client'", "/home/user/tools/logstash-5.2.1/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-6.2.6-java/lib/logstash/outputs/elasticsearch/common.rb:20:in `register'", "/home/user/tools/logstash-5.2.1/logstash-core/lib/logstash/output_delegator_strategies/shared.rb:8:in `register'", "/home/user/tools/logstash-5.2.1/logstash-core/lib/logstash/output_delegator.rb:37:in `register'", "/home/user/tools/logstash-5.2.1/logstash-core/lib/logstash/pipeline.rb:234:in `start_workers'", "org/jruby/RubyArray.java:1613:in `each'", "/home/user/tools/logstash-5.2.1/logstash-core/lib/logstash/pipeline.rb:234:in `start_workers'", "/home/user/tools/logstash-5.2.1/logstash-core/lib/logstash/pipeline.rb:188:in `run'", "/home/user/tools/logstash-5.2.1/logstash-core/lib/logstash/agent.rb:302:in `start_pipeline'"]}
[2017-02-27T17:43:52,549][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=>9600}
RubyJacksonModule.java:21:in `<clinit>': java.lang.NoSuchFieldError: 

```

my config file:

input {  
twitter {  
consumer\_key =\> "MY\_STRING"  
consumer\_secret =\> "MY\_STRING"  
oauth\_token =\> "MY\_STRING"  
oauth\_token\_secret =\> "MY\_STRING"  
full\_tweet =\> true  
locations =\> "-179.985,-78,180,89"  
}  
}

filter {  
}

output {  
stdout { codec =\> rubydebug }  
elasticsearch {  
hosts =\> ["[http://172.30.54.56:9200](http://172.30.54.56:9200)"]  
index =\> "twitter"  
document\_type =\> "tweet"  
}  
}

Please help me out, I am new to Logstash and elastic search.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [February 27, 2017, 12:11pm UTC](https://discuss.elastic.co/t/getting-the-error-in-logstash5-2-1-and-elasticsearch-5-2-1/76614/2 "2017-02-27T12:11:46Z")

</div>

We're not seeing the full error message so please edit your post and format the text from the Logstash log as preformatted text using the `</>` toolbar button.

---

<div class="post-metadata">

**Author:** ![Naveen\_Kumar\_M\_A](https://avatars.discourse-cdn.com/v4/letter/n/0ea827/32.png) [@Naveen\_Kumar\_M\_A](https://discuss.elastic.co/u/Naveen_Kumar_M_A)\
**Post date:** [February 27, 2017, 12:19pm UTC](https://discuss.elastic.co/t/getting-the-error-in-logstash5-2-1-and-elasticsearch-5-2-1/76614/3 "2017-02-27T12:19:20Z")

</div>

```
RubyJacksonModule.java:21:in `<clinit>': java.lang.NoSuchFieldError: FAIL_ON_SYMBOL_HASH_OVERFLOW
	from JrJacksonRuby.java:75:in `__parse'
	from JrJacksonRuby.java:63:in `parse'
	from JrJacksonRuby$INVOKER$s$2$0$parse.gen:-1:in `call'
	from CachingCallSite.java:346:in `cacheAndCall'
	from CachingCallSite.java:204:in `call'
	from CallTwoArgNode.java:59:in `interpret'
	from NewlineNode.java:105:in `interpret'
	from RescueNode.java:221:in `executeBody'
	from RescueNode.java:116:in `interpret'
	from ASTInterpreter.java:74:in `INTERPRET_METHOD'
	from InterpretedMethod.java:225:in `call'
	from DefaultMethod.java:219:in `call'
	from AliasMethod.java:66:in `call'
	from CachingCallSite.java:346:in `cacheAndCall'
	from CachingCallSite.java:204:in `call'
	from CallTwoArgNode.java:59:in `interpret'
	from CallOneArgNode.java:57:in `interpret'
	from NewlineNode.java:105:in `interpret'
	from RescueNode.java:221:in `executeBody'
	from RescueNode.java:116:in `interpret'
	from BeginNode.java:83:in `interpret'
	from NewlineNode.java:105:in `interpret'
	from BlockNode.java:71:in `interpret'
	from ASTInterpreter.java:112:in `INTERPRET_BLOCK'
	from Interpreted19Block.java:206:in `evalBlockBody'
	from Interpreted19Block.java:157:in `yield'
	from Block.java:142:in `yield'
	from RubyArray.java:1606:in `eachCommon'
	from RubyArray.java:1613:in `each'
	from RubyArray$INVOKER$i$0$0$each.gen:-1:in `call'
	from CachingCallSite.java:143:in `callBlock'
	from CachingCallSite.java:154:in `callIter'
	from CallNoArgBlockNode.java:64:in `interpret'
	from NewlineNode.java:105:in `interpret'
	from ASTInterpreter.java:74:in `INTERPRET_METHOD'
	from InterpretedMethod.java:182:in `call'
	from DefaultMethod.java:203:in `call'
	from RubyClass.java:743:in `finvoke'
	from Helpers.java:505:in `invoke'
	from RubyBasicObject.java:364:in `callMethod'
	from RubyHttpParser.java:291:in `cb'
	from ParserSettings.java:80:in `call_on'
	from ParserSettings.java:67:in `call_on_body'
	from HTTPParser.java:1440:in `execute'
	from RubyHttpParser.java:370:in `execute'
	from RubyHttpParser$INVOKER$i$1$0$execute.gen:-1:in `call'
	from CachingCallSite.java:168:in `call'
	from ShiftLeftCallSite.java:24:in `call'
	from CallOneArgNode.java:57:in `interpret'
	from NewlineNode.java:105:in `interpret'
	from ASTInterpreter.java:74:in `INTERPRET_METHOD'
	from InterpretedMethod.java:182:in `call'
	from DefaultMethod.java:203:in `call'
	from CachingCallSite.java:168:in `call'
	from ShiftLeftCallSite.java:24:in `call'
	from CallOneArgNode.java:57:in `interpret'
	from NewlineNode.java:105:in `interpret'
	from WhileNode.java:131:in `interpret'
	from NewlineNode.java:105:in `interpret'
	from BlockNode.java:71:in `interpret'
	from ASTInterpreter.java:74:in `INTERPRET_METHOD'
	from InterpretedMethod.java:225:in `call'
	from DefaultMethod.java:219:in `call'
	from CachingCallSite.java:346:in `cacheAndCall'
	from CachingCallSite.java:204:in `call'
	from CallTwoArgNode.java:59:in `interpret'
	from NewlineNode.java:105:in `interpret'
	from BlockNode.java:71:in `interpret'
	from ASTInterpreter.java:74:in `INTERPRET_METHOD'
	from InterpretedMethod.java:290:in `call'
	from DefaultMethod.java:243:in `call'
	from CachingCallSite.java:376:in `cacheAndCall'
	from CachingCallSite.java:247:in `callBlock'
	from CachingCallSite.java:251:in `call'
	from FCallThreeArgBlockPassNode.java:36:in `interpret'
	from NewlineNode.java:105:in `interpret'
	from ASTInterpreter.java:74:in `INTERPRET_METHOD'
	from InterpretedMethod.java:204:in `call'
	from DefaultMethod.java:211:in `call'
	from CachingCallSite.java:336:in `cacheAndCall'
	from CachingCallSite.java:179:in `callBlock'
	from CachingCallSite.java:188:in `callIter'
	from CallOneArgBlockNode.java:60:in `interpret'
	from NewlineNode.java:105:in `interpret'
	from IfNode.java:118:in `interpret'
	from NewlineNode.java:105:in `interpret'
	from RescueNode.java:221:in `executeBody'
	from RescueNode.java:116:in `interpret'
	from BeginNode.java:83:in `interpret'
	from NewlineNode.java:105:in `interpret'
	from BlockNode.java:71:in `interpret'
	from ASTInterpreter.java:74:in `INTERPRET_METHOD'
	from InterpretedMethod.java:182:in `call'
	from DefaultMethod.java:203:in `call'
	from CachingCallSite.java:326:in `cacheAndCall'
	from CachingCallSite.java:170:in `call'
	from CallOneArgNode.java:57:in `interpret'
	from NewlineNode.java:105:in `interpret'
	from RescueNode.java:221:in `executeBody'
	from RescueNode.java:116:in `interpret'
	from EnsureNode.java:96:in `interpret'
	from BeginNode.java:83:in `interpret'
	from NewlineNode.java:105:in `interpret'
	from BlockNode.java:71:in `interpret'
	from ASTInterpreter.java:74:in `INTERPRET_METHOD'
	from InterpretedMethod.java:182:in `call'
	from DefaultMethod.java:203:in `call'
	from CachingCallSite.java:326:in `cacheAndCall'
	from CachingCallSite.java:170:in `call'
	from FCallOneArgNode.java:36:in `interpret'
	from NewlineNode.java:105:in `interpret'
	from ASTInterpreter.java:112:in `INTERPRET_BLOCK'
	from Interpreted19Block.java:206:in `evalBlockBody'
	from Interpreted19Block.java:194:in `yield'
	from Interpreted19Block.java:125:in `call'
	from Block.java:101:in `call'
	from RubyProc.java:300:in `call'
	from RubyProc.java:230:in `call'
	from RubyRunnable.java:99:in `run'
	from Thread.java:745:in `run'
```

---

<div class="post-metadata">

**Author:** ![Naveen\_Kumar\_M\_A](https://avatars.discourse-cdn.com/v4/letter/n/0ea827/32.png) [@Naveen\_Kumar\_M\_A](https://discuss.elastic.co/u/Naveen_Kumar_M_A)\
**Post date:** [February 27, 2017, 12:20pm UTC](https://discuss.elastic.co/t/getting-the-error-in-logstash5-2-1-and-elasticsearch-5-2-1/76614/4 "2017-02-27T12:20:23Z")

</div>

HI,

I have attached half log in the question and other half in the reply, Please check and let me know if you need other data.

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:** [March 27, 2017, 12:20pm UTC](https://discuss.elastic.co/t/getting-the-error-in-logstash5-2-1-and-elasticsearch-5-2-1/76614/5 "2017-03-27T12:20:41Z")

</div>

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