Logstash connecing over HTTP to elastic not HTTPs

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/", :error_type=>LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=>"Elasticsearch Unreachable: [http://192.168.0.50:9200/]

.conf file

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.

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?