# Logstash SSL Error with http and https

**URL:** <https://discuss.elastic.co/t/logstash-ssl-error-with-http-and-https/214759>\
**Category:** Logstash\
**Tags:** elastic-stack-security\
**Created:** [January 13, 2020, 5:47am UTC](https://discuss.elastic.co/t/logstash-ssl-error-with-http-and-https/214759 "2020-01-13T05:47:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DawitCh](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@DawitCh](https://discuss.elastic.co/u/DawitCh)\
**Post date:** [January 13, 2020, 5:47am UTC](https://discuss.elastic.co/t/logstash-ssl-error-with-http-and-https/214759/1 "2020-01-13T05:47:14Z")

</div>

[_**2018-09-18T11:01:23,207][ERROR][logstash.licensechecker.licensemanager] Unable to retrieve license information from license server {:message=\>"Explicit value for 'scheme' was declared, but it is different in one of the URLs given! Please make sure your URLs are inline with explicit values. The URLs have the property set to 'http', but it was also set to 'https' explicitly".}**_

This error after I enable SSL and xpack.monitoring.elasticsearch. I have no idea what is going on.

Noted  
I can curl [http://logstash:5400](http://logstash:5400)(200 OKs), but I can't curl [https://logstash:5400](https://logstash:5400)(SSL received a record that exceeded the maximum permissible length)

---

<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:** [January 15, 2020, 7:34am UTC](https://discuss.elastic.co/t/logstash-ssl-error-with-http-and-https/214759/2 "2020-01-15T07:34:28Z")

</div>

I looks like you've configured Logstash monitoring to connect to Elasticsearch using a `http://` URL, but then also configured ssl =\> true.

---

<div class="post-metadata">

**Author:** ![DawitCh](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@DawitCh](https://discuss.elastic.co/u/DawitCh)\
**Post date:** [January 15, 2020, 8:08am UTC](https://discuss.elastic.co/t/logstash-ssl-error-with-http-and-https/214759/3 "2020-01-15T08:08:37Z")

</div>

I already set it to https://. Anyway I found the solution which is reboot my VM. It seems restart the service is not enough to apply the config that I changed. Thanks!

---

<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:** [February 12, 2020, 8:08am UTC](https://discuss.elastic.co/t/logstash-ssl-error-with-http-and-https/214759/4 "2020-02-12T08:08:38Z")

</div>

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