Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16180

Camel mail fails after some time running

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7.1
    • Fix Version/s: 3.10.0
    • Component/s: camel-mail
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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 60 second) but when this error appears it is stuck:

      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

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              drezir Adam Ostrožlík
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: