logstash-plugins/logstash-input-elasticsearch

regression on Manticore 0.8.0 due port being part of host

Closed this issue · 0 comments

kares commented

same issue as with ES filter: logstash-plugins/logstash-filter-elasticsearch#155

... with Manticore 0.8.0 the following configuration started failing:

  hosts => ["localhost:9243"]
  ssl => true

with

Manticore::ClientProtocolException: URI does not specify a valid host name: https://localhost:9243:9200/
                        initialize at /opt/local/rvm/gems/jruby-9.2.20.0@ls/gems/manticore-0.8.0-java/lib/manticore/response.rb:36
                              call at /opt/local/rvm/gems/jruby-9.2.20.0@ls/gems/manticore-0.8.0-java/lib/manticore/response.rb:79
                         call_once at /opt/local/rvm/gems/jruby-9.2.20.0@ls/gems/manticore-0.8.0-java/lib/manticore/response.rb:274
                              code at /opt/local/rvm/gems/jruby-9.2.20.0@ls/gems/manticore-0.8.0-java/lib/manticore/response.rb:158

caused by:

 Java::OrgApacheHttpClient::ClientProtocolException:
   URI does not specify a valid host name: https://localhost:9243:9200/
   org.apache.http.impl.client.CloseableHttpClient.determineTarget(org/apache/http/impl/client/CloseableHttpClient.java:95)