Adam Ostrožlík created CAMEL-16180:
--------------------------------------

             Summary: Camel mail fails after some time running
                 Key: CAMEL-16180
                 URL: https://issues.apache.org/jira/browse/CAMEL-16180
             Project: Camel
          Issue Type: Bug
          Components: camel-mail
    Affects Versions: 3.7.1
            Reporter: Adam Ostrožlík


This error starts blocking mail producer from running. Time varies. If I 
restart an app it is working for a while (constantly fetching unread messages 
from IMAP in each 20 second) but when this error appears it is stuck:


{code:java}
2021-02-10 16:39:19.015 WARN 1 --- [p.seznam.cz:143] 
o.a.camel.component.mail.MailConsumer : Consumer 
Consumer[imap://imap.seznam.cz:143?delay=60000&password=xxxxxx&username=hiskom] 
failed polling endpoint: 
imap://imap.seznam.cz:143?delay=60000&password=xxxxxx&username=hiskom. Will try 
again at next poll. Caused by: [javax.mail.MessagingException - A814 NO SELECT: 
Internal server error.]
 javax.mail.MessagingException: A814 NO SELECT: Internal server error.
 at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:1049) 
~[jakarta.mail-1.6.5.jar!/:1.6.5]
 at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:977) 
~[jakarta.mail-1.6.5.jar!/:1.6.5]
 at org.apache.camel.component.mail.MailConsumer.poll(MailConsumer.java:147) 
~[camel-mail-3.7.1.jar!/:3.7.1]
 at 
org.apache.camel.support.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:190)
 ~[camel-support-3.7.1.jar!/:3.7.1]
 at 
org.apache.camel.support.ScheduledPollConsumer.run(ScheduledPollConsumer.java:107)
 ~[camel-support-3.7.1.jar!/:3.7.1]
 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown 
Source) ~[na:na]
 at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source) 
~[na:na]
 at 
java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
 Source) ~[na:na]
 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
~[na:na]
 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source) ~[na:na]
 at java.base/java.lang.Thread.run(Unknown Source) ~[na:na]
 Caused by: com.sun.mail.iap.CommandFailedException: A814 NO SELECT: Internal 
server error.
 at com.sun.mail.iap.Protocol.handleResult(Protocol.java:413) 
~[jakarta.mail-1.6.5.jar!/:1.6.5]
 at com.sun.mail.imap.protocol.IMAPProtocol.select(IMAPProtocol.java:1230) 
~[jakarta.mail-1.6.5.jar!/:1.6.5]
 at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:1034) 
~[jakarta.mail-1.6.5.jar!/:1.6.5]
 ... 10 common frames omitted{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to