Getting the error in logstash5.2.1 and elasticsearch 5.2.1

`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"]
index => "twitter"
document_type => "tweet"
}
}

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

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.

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'

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

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