# Logstash connecing over HTTP to elastic not HTTPs

**URL:** <https://discuss.elastic.co/t/logstash-connecing-over-http-to-elastic-not-https/251042>\
**Category:** Logstash\
**Tags:** elastic-stack-security\
**Created:** [October 5, 2020, 7:22pm UTC](https://discuss.elastic.co/t/logstash-connecing-over-http-to-elastic-not-https/251042 "2020-10-05T19:22:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oliver2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/oliver2/32/76684_2.png) [@Oliver2](https://discuss.elastic.co/u/Oliver2)\
**Post date:** [October 5, 2020, 7:22pm UTC](https://discuss.elastic.co/t/logstash-connecing-over-http-to-elastic-not-https/251042/1 "2020-10-05T19:22:21Z")

</div>

I'm having issues gettings logs into Logstash since enabling SSL. I'm sure they're probably a configuration error but I can't find where. please help.

I believe this is the issues that's causing my problems:

{:url=\>"[http://192.168.0.50:9200/](http://192.168.0.50:9200/)", :error\_type=\>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=\>"Elasticsearch Unreachable: [[http://192.168.0.50:9200/](http://192.168.0.50:9200/)]

.conf file

 ![Screenshot 2020-10-05 at 20.21.35](https://us1.discourse-cdn.com/elastic/original/3X/a/7/a70c0e26b73346f965fa6e34877fad6ca839b6da.png)

---

<div class="post-metadata">

**Author:** ![kavierkoo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kavierkoo/32/86555_2.png) [@kavierkoo](https://discuss.elastic.co/u/kavierkoo)\
**Post date:** [October 6, 2020, 5:38am UTC](https://discuss.elastic.co/t/logstash-connecing-over-http-to-elastic-not-https/251042/2 "2020-10-06T05:38:25Z")

</div>

Please avoid using pictures for text as they are hard to read and not able to search or replicate.

Also, please format your codes and errors under preformatted text `</>` or backticks `(```)` as it is hard to read otherwise.

> [@Oliver2](#):
>
> {:url=\>"[http://192.168.0.50:9200/](http://192.168.0.50:9200/)", :error\_type=\>LogStash::Outputs::Elasticsearch::HttpClient::Pool::HostUnreachableError, :error=\>"Elasticsearch Unreachable: [[http://192.168.0.50:9200/](http://192.168.0.50:9200/)]

The logs seems not tally with your `.conf`,

your `.conf` shows

> hosts =\> [" **https** ://

but your `error logs` shows

> url=\> **http** ://

Do you mind to show updated version of logs?

---

<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:** [November 3, 2020, 5:38am UTC](https://discuss.elastic.co/t/logstash-connecing-over-http-to-elastic-not-https/251042/3 "2020-11-03T05:38:25Z")

</div>

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