# Ssl\_verification\_mode in http\_poller input plugin "An exception happened when converging configuration"

**URL:** <https://discuss.elastic.co/t/ssl-verification-mode-in-http-poller-input-plugin-an-exception-happened-when-converging-configuration/300924>\
**Category:** Logstash\
**Created:** [March 29, 2022, 8:22am UTC](https://discuss.elastic.co/t/ssl-verification-mode-in-http-poller-input-plugin-an-exception-happened-when-converging-configuration/300924 "2022-03-29T08:22:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Syed\_Saqlain\_Hussain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syed_saqlain_hussain/32/97834_2.png) [@Syed\_Saqlain\_Hussain](https://discuss.elastic.co/u/Syed_Saqlain_Hussain)\
**Post date:** [March 29, 2022, 8:22am UTC](https://discuss.elastic.co/t/ssl-verification-mode-in-http-poller-input-plugin-an-exception-happened-when-converging-configuration/300924/1 "2022-03-29T08:22:56Z")

</div>

I have this configuration file using http\_poller input plugin.

```auto
input {
  http_poller {
    urls => {
      myurl2 => {
        # Supports all options supported by ruby's Manticore HTTP client
        method => get
        user => "username"
        password => "password"

        url => "https://url_value"
	headers => {
		Accept => "application/json"
		Version => "16.0"

}	

     }
    }
    request_timeout => 60
    # Supports "cron", "every", "at" and "in" schedules by rufus scheduler
    schedule => { cron => "* * * * * UTC"}
    ssl_verification_mode => "none"
  }

}

output {
stdout {
  }
}

```

When I add

> ssl\_verification\_mode

option in it I am getting error of

> [ERROR] 2022-03-29 13:16:42.514 [Agent thread] agent - An exception happened when converging configuration {:exception=\>LogStash::Error, :message=\>"Don't know how to handle `Java::JavaLang::IllegalStateException` for `PipelineAction::Create<main>`"}  
> [FATAL] 2022-03-29 13:16:42.521 [LogStash::Runner] runner - An unexpected error occurred! {:error=\>#\<LogStash::Error: Don't know how to handle `Java::JavaLang::IllegalStateException` for `PipelineAction::Create<main>`\>, :backtrace=\>["org/logstash/execution/ConvergeResultExt.java:135:in `create'", "org/logstash/execution/ConvergeResultExt.java:60:in `add'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:396:in `block in converge\_state'"]}

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [March 29, 2022, 3:50pm UTC](https://discuss.elastic.co/t/ssl-verification-mode-in-http-poller-input-plugin-an-exception-happened-when-converging-configuration/300924/2 "2022-03-29T15:50:48Z")

</div>

Support for the ssl\_verification\_mode was added a few weeks ago in plugin version 5.2.0. You can check the installed version using

```
cd /usr/share/logstash; bin/logstash-plugin list --verbose logstash-input-http_poller

```

My logstash is up to date and I get 5.1.0 for that.

---

<div class="post-metadata">

**Author:** ![Syed\_Saqlain\_Hussain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syed_saqlain_hussain/32/97834_2.png) [@Syed\_Saqlain\_Hussain](https://discuss.elastic.co/u/Syed_Saqlain_Hussain)\
**Post date:** [March 30, 2022, 7:30am UTC](https://discuss.elastic.co/t/ssl-verification-mode-in-http-poller-input-plugin-an-exception-happened-when-converging-configuration/300924/3 "2022-03-30T07:30:49Z")

</div>

I have logstash version 8.1.1. Does thsi version have ssl\_Verification\_mode option in it?

> bin/logstash --version  
> Using bundled JDK: /usr/share/logstash/jdk  
> logstash 8.1.1

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [March 30, 2022, 5:10pm UTC](https://discuss.elastic.co/t/ssl-verification-mode-in-http-poller-input-plugin-an-exception-happened-when-converging-configuration/300924/4 "2022-03-30T17:10:43Z")

</div>

According to the [release notes](https://www.elastic.co/guide/en/logstash/current/logstash-8-1-0.html), support was added in 8.1.0.

I thought my logstash was up-to-date but yum was still pointing at the prerelease repo, so I was still on 8.0.0. I just updated it and using ssl\_verification\_mode no longer produces an exception.

---

<div class="post-metadata">

**Author:** ![Syed\_Saqlain\_Hussain](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syed_saqlain_hussain/32/97834_2.png) [@Syed\_Saqlain\_Hussain](https://discuss.elastic.co/u/Syed_Saqlain_Hussain)\
**Post date:** [March 31, 2022, 3:48am UTC](https://discuss.elastic.co/t/ssl-verification-mode-in-http-poller-input-plugin-an-exception-happened-when-converging-configuration/300924/5 "2022-03-31T03:48:41Z")

</div>

Thank You. It is working with 8.1.1

---

<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:** [April 28, 2022, 3:48am UTC](https://discuss.elastic.co/t/ssl-verification-mode-in-http-poller-input-plugin-an-exception-happened-when-converging-configuration/300924/6 "2022-04-28T03:48:56Z")

</div>

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