# Logstrash output elasticsearch plugin nginx https error

**URL:** https://discuss.elastic.co/t/logstrash-output-elasticsearch-plugin-nginx-https-error/119743
**Category:** Logstash
**Created:** [February 14, 2018, 7:39am UTC](https://discuss.elastic.co/t/logstrash-output-elasticsearch-plugin-nginx-https-error/119743 "2018-02-14T07:39:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![2154b6326cfa31601e97](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/2154b6326cfa31601e97/32/27705_2.png) [@2154b6326cfa31601e97](https://discuss.elastic.co/u/2154b6326cfa31601e97)
#### Post date: [February 14, 2018, 7:39am UTC](https://discuss.elastic.co/t/logstrash-output-elasticsearch-plugin-nginx-https-error/119743/1 "2018-02-14T07:39:56Z")

</div>

Install info :

- elastic version 5.5
- logstash version 6.2.0

My [elastic] repository is:

- [https://es.myserver.com](https://es.myserver.com)

I do not use [x-pack]. Instead, use nginx [proxy]([https://es.myserver.com](https://es.myserver.com) =\> localhost: 9200) and basic auth (htpasswd).  
I am going to use [elasticsearch] as an [output plugin].  
My [output] setting is as follows.

```
input {
  http_poller {
    urls => {
      serviceapi => {
        method => get
        url => "..."
        headers => {
          Accept => "application/xml"
        }
       }
    }
    request_timeout => 60
	schedule => {every => "15s"}
  }
}

output {
	stdout {
		codec => rubydebug
	}
	
	elasticsearch {
        hosts => ["https://es.myserver.com"]
        user => "my-user"
        password => "my-password"
	}
}

```

error message :  
[2018-02-14T16:03:32,036][ERROR][logstash.pipeline] Error registering plugin {:pipeline\_id=\>"airkorea", :plugin=\>"#\<LogStash::OutputDelegator:0x4a65e595 \<LogStash::Instrument::MetricStore:0x2b7cbdab @store=#\<Concurrent:🗺0x00000000000fb0 entries=4 default\_proc=nil\>, @structured\_lookup\_mutex=#Mutex:0x40f55b30, @fast\_lookup=#\<Concurrent:🗺0x00000000000fb4 entries=67 default\_proc=nil\>\>\>\>, @namespace\_name=[:stats, :pipelines, :airkorea, :plugins, :outputs, :ff5553864febdd9f8f8abb2570f26e8ca04e890fc5190327c99f5cf0b58e9b97, :events]\>, @output\_class=LogStash::Outputs::ElasticSearch\>", : **error=\>"Unrecognized SSL message, plaintext connection?**", :thread=\>"#\<Thread:0x2a7cff37 run\>"}  
[2018-02-14T16:03:32,075][ERROR][logstash.pipeline] Pipeline aborted due to error {:pipeline\_id=\>"airkorea", :exception=\>#\<Manticore:: **UnknownException: Unrecognized SSL message, plaintext connection?** \>, :backtrace=\>["/home/yongun/demo/elastic-stack/logstash-6.2.0/vendor/bundle/jruby/2.3.0/gems/manticore-0.6.1-java/lib/manticore/response.rb:37:in `block in initialize'", "/home/yongun/demo/elastic-stack/logstash-6.2.0/vendor/bundle/jruby/2.3.0/gems/manticore-0.6.1-java/lib/manticore/response.rb:79:in`call'", "/home/yongun/demo/elastic-stack/logstash-6.2.0/vendor/bundle/jruby/2.3.0/gems/logstash-output-elasticsearch-9.0.2-java/lib/logstash/outputs/elasticsearch/http\_client/manticore\_adapter.rb:74:in `perform_request'", "/home/yongun/demo/elastic-stack/logstash-6.2.0/vendor/bundle/jruby/2.3.0/gems/logstash-output-elasticsearch-9.0.2-java/lib/logstash/outputs/elasticsearch/http_client/pool.rb:287:in`perform\_request\_to\_url'", "/home/yongun/demo/elastic-stack/logstash-6.2.0/vendor/bundle/jruby/2.3.0/gems/logstash-output-elasticsearch-9.0.2-java/lib/logstash/outputs/elasticsearch/http\_client/pool.rb:241:in `block in healthcheck!'", "org/jruby/RubyHash.java:1343:in`each'", "/home/yongun/demo/elastic-stack/logstash-

---

<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: [March 14, 2018, 7:40am UTC](https://discuss.elastic.co/t/logstrash-output-elasticsearch-plugin-nginx-https-error/119743/2 "2018-03-14T07:40:04Z")

</div>

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