# Login Failed error . giving : A plugin had an unrecoverable error. Will restart this plugin

**URL:** <https://discuss.elastic.co/t/login-failed-error-giving-a-plugin-had-an-unrecoverable-error-will-restart-this-plugin/297937>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [February 22, 2022, 5:41pm UTC](https://discuss.elastic.co/t/login-failed-error-giving-a-plugin-had-an-unrecoverable-error-will-restart-this-plugin/297937 "2022-02-22T17:41:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![d6036de2b54af16665f4](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@d6036de2b54af16665f4](https://discuss.elastic.co/u/d6036de2b54af16665f4)\
**Post date:** [February 22, 2022, 5:41pm UTC](https://discuss.elastic.co/t/login-failed-error-giving-a-plugin-had-an-unrecoverable-error-will-restart-this-plugin/297937/1 "2022-02-22T17:41:06Z")

</div>

Hi ALL,

Inside my logs of logstash i am receiving the error as such :

[2022-02-22T17:00:11,265][ERROR][logstash.javapipeline] A plugin had an unrecoverable error. Will restart this plugin.  
Pipeline\_id:doordash\_autopaused  
Plugin: \<LogStash::Inputs::IMAP fetch\_count=\>600, password=\>, check\_interval=\>300, folder=\>"deactivation", port=\>993, host=\>"[outlook.office365.com](http://outlook.office365.com)", id=\>"3efe90b8bd635491287190e4dbfd75", secure=\>true, user=\>"[tivtion@whopper.microsoft.com](mailto:tivtion@whopper.microsoft.com)", delete=\>false, enable\_metric=\>true, codec=\>\<LogStash::Codecs::Plain id=\>"plain663d-4f85-a959-1d094fb", enable\_metric=\>true, charset=\>"UTF-8"\>, verify\_cert=\>true, lowercase\_headers=\>true, expunge=\>false, strip\_attachments=\>false, content\_type=\>"text/plain"\>  
Error: LOGIN failed.  
Exception: Net::IMAP::NoResponseError  
Stack: uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/imap.rb:1217:in `get_tagged_response' uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/imap.rb:1271:in `block in send\_command'  
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/monitor.rb:226:in `mon_synchronize' uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/imap.rb:1253:in `send\_command'  
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/imap.rb:441:in `login' /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-imap-3.0.6/lib/logstash/inputs/imap.rb:62:in `connect'  
/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-imap-3.0.6/lib/logstash/inputs/imap.rb:76:in `check_mail' /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-imap-3.0.6/lib/logstash/inputs/imap.rb:69:in `block in run'  
/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/stud-0.0.23/lib/stud/interval.rb:20:in `interval' /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-imap-3.0.6/lib/logstash/inputs/imap.rb:68:in `run'  
/usr/share/logstash/logstash-core/lib/logstash/java\_pipeline.rb:297:in `inputworker' /usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:290:in `block in start\_input'

The cofiguration this error is pointing is :

input {  
imap {  
host =\> "[outlook.office365.com](http://outlook.office365.com)"  
port =\> 93  
user =\> "_**@whopper.microsoft.com"  
password =\> "**_"  
check\_interval =\> 300  
fetch\_count =\> 600  
secure =\> true  
folder =\> "\*\*\*\*\*\*\*"

# folder =\> "\*\*\*\*\*\*"

```
delete => false

```

# content\_type=\>"text"

# sincedb\_path =\> "/dev/null"

# uid\_tracking =\> "false"

}

}

---

<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:** [February 22, 2022, 7:56pm UTC](https://discuss.elastic.co/t/login-failed-error-giving-a-plugin-had-an-unrecoverable-error-will-restart-this-plugin/297937/2 "2022-02-22T19:56:55Z")

</div>

Exception: Net::IMAP::NoResponseError

```auto
Stack: ... uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/imap.rb:1253:in ` send_command'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/net/imap.rb:441:in `login'`

```

The login function sent the username and password to the IMAP server and it got a "NO" response, meaning authentication failed.

---

<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 22, 2022, 7:57pm UTC](https://discuss.elastic.co/t/login-failed-error-giving-a-plugin-had-an-unrecoverable-error-will-restart-this-plugin/297937/3 "2022-03-22T19:57:41Z")

</div>

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