# License checker error

**URL:** <https://discuss.elastic.co/t/license-checker-error/132241>\
**Category:** Elasticsearch\
**Created:** [May 17, 2018, 2:38am UTC](https://discuss.elastic.co/t/license-checker-error/132241 "2018-05-17T02:38:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thompsonlau](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@thompsonlau](https://discuss.elastic.co/u/thompsonlau)\
**Post date:** [May 17, 2018, 2:38am UTC](https://discuss.elastic.co/t/license-checker-error/132241/1 "2018-05-17T02:38:21Z")

</div>

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:in`initialize'", "/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:in`block 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:in`execute'", "/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:in`run'", "/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

---

<div class="post-metadata">

**Author:** ![shanec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shanec/32/4004_2.png) [@shanec](https://discuss.elastic.co/u/shanec)\
**Post date:** [May 19, 2018, 1:45am UTC](https://discuss.elastic.co/t/license-checker-error/132241/2 "2018-05-19T01:45:44Z")

</div>

> [@thompsonlau](#):
>
> [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.

This looks like the source of the problem. You may want to have a look over [Configure Centralized Pipeline Management | Logstash Reference [8.11] | Elastic](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.

---

<div class="post-metadata">

**Author:** ![thompsonlau](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@thompsonlau](https://discuss.elastic.co/u/thompsonlau)\
**Post date:** [May 21, 2018, 1:30am UTC](https://discuss.elastic.co/t/license-checker-error/132241/3 "2018-05-21T01:30:42Z")

</div>

Double checked.

I have all the required settings in logstash.yml

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [May 21, 2018, 2:42am UTC](https://discuss.elastic.co/t/license-checker-error/132241/4 "2018-05-21T02:42:52Z")

</div>

> [@thompsonlau](#):
>
> [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"}

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`

---

<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:** [June 18, 2018, 2:42am UTC](https://discuss.elastic.co/t/license-checker-error/132241/5 "2018-06-18T02:42:53Z")

</div>

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