License checker error


(Thompson) #1

When I see the log, I found the following error message. No idea to solve it.

[2018-05-17T10:23:00,142][ERROR][logstash.licensechecker.licensemanager] Unable to retrieve license information from license server {:message=>"Bad scheme 'localhost' found should be one of http/https", :class=>"LogStash::ConfigurationError"}
[2018-05-17T10:23:00,143][WARN ][logstash.licensechecker.xpackinfo] Nil response from License Server
[2018-05-17T10:23:00,157][ERROR][logstash.configmanagement.elasticsearchsource] Configuration Management is not available: License information is currently unavailable. Please make sure you have added your production elasticsearch connection info in the xpack.management.elasticsearch settings.
[2018-05-17T10:23:00,165][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<LogStash::LicenseChecker::LicenseError: Configuration Management is not available: License information is currently unavailable. Please make sure you have added your production elasticsearch connection info in the xpack.management.elasticsearch settings.>, :backtrace=>["/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/x-pack-6.2.4-java/lib/license_checker/licensed.rb:78:in with_license_check'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/x-pack-6.2.4-java/lib/config_management/elasticsearch_source.rb:48:ininitialize'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/x-pack-6.2.4-java/lib/config_management/hooks.rb:52:in after_bootstrap_checks'", "/usr/share/logstash/logstash-core/lib/logstash/event_dispatcher.rb:34:inblock in fire'", "/usr/share/logstash/logstash-core/lib/logstash/event_dispatcher.rb:32:in fire'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:279:inexecute'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in run'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:219:inrun'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in run'", "/usr/share/logstash/lib/bootstrap/environment.rb:67:in'"]}
[2018-05-17T10:23:00,172][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit


(Shane Connelly) #2

This looks like the source of the problem. You may want to have a look over https://www.elastic.co/guide/en/logstash/current/configuring-centralized-pipelines.html#configuration-management-settings to double check you have all of the right settings.


(Thompson) #3

Double checked.

I have all the required settings in logstash.yml


(Tim Vernum) #4

It looks like you have an incorrect URL configured for your Elasticsearch node.

You have something like localhost:9200, but you need to enter a full URL like http://localhost:9200


(system) #5

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