Question
Email Listener fails to start up
Hi Team,
The email listener throws an error "A3 BAD User is authenticated but not connected" when tried to start it. The test connectivity on email account is successful. The email server is configured with IMAP protocol.
The email listener was up and running successfully all these days. Could you please assist in fixing the issue.
Details from Log:
Hi Team,
The email listener throws an error "A3 BAD User is authenticated but not connected" when tried to start it. The test connectivity on email account is successful. The email server is configured with IMAP protocol.
The email listener was up and running successfully all these days. Could you please assist in fixing the issue.
Details from Log:
failed to connect to Email Server - at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.setup(EmailListener.java:2192) ~[printegrint.jar:?] at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.setup(EmailListener.java:2052) ~[printegrint.jar:?] at com.pega.pegarules.integration.engine.internal.services.listener.ListenerWrapper.launchListener(ListenerWrapper.java:152) ~[printegrint.jar:?] at com.pega.pegarules.integration.engine.internal.services.listener.ListenerStateManagerImpl.startOneListener(ListenerStateManagerImpl.java:754) ~[printegrint.jar:?] at com.pega.pegarules.integration.engine.internal.services.listener.ListenerStateManagerImpl.startListener(ListenerStateManagerImpl.java:659) ~[printegrint.jar:?] at com.pega.pegarules.management.internal.system.operations.StartListenerOnLocalNodeCommand.startListener(StartListenerOnLocalNodeCommand.java:76) ~[prprivate.jar:?] at com.pega.pegarules.management.internal.system.operations.StartListenerOnLocalNodeCommand.startListenerWithInput(StartListenerOnLocalNodeCommand.java:50) ~[prprivate.jar:?] at com.pega.pegarules.management.internal.system.operations.StartListenerOnLocalNodeCommand.executeCommand(StartListenerOnLocalNodeCommand.java:45) ~[prprivate.jar:?] at com.pega.pegarules.management.internal.system.operations.jobs.StartListenerJob.invokeOperation(StartListenerJob.java:35) ~[prprivate.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131] at com.pega.pegarules.management.internal.MB2EngineAccess.invoke(MB2EngineAccess.java:169) ~[prprivate.jar:?] at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invoke_privact(EngineImpl.java:408) ~[prprivate.jar:?] at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.run(EngineImpl.java:393) ~[prprivate.jar:?] at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1304) ~[prprivate.jar:?] at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1052) ~[prprivate.jar:?] at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:861) ~[prprivate.jar:?] at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:828) ~[prprivate.jar:?] at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:339) ~[prprivate.jar:?] at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:274) ~[prprivate.jar:?] at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:251) ~[prprivate.jar:?] at com.pega.pegarules.management.internal.MBeanHelper.invokeOperationWithObjectReturnValue(MBeanHelper.java:115) ~[prprivate.jar:?] at com.pega.pegarules.management.internal.system.operations.jobs.AbstractSystemOperationsJob.execute(AbstractSystemOperationsJob.java:42) ~[prprivate.jar:?] at com.pega.pegarules.management.internal.system.operations.jobs.AbstractSystemOperationsJob.execute(AbstractSystemOperationsJob.java:27) ~[prprivate.jar:?] at com.pega.pegarules.cluster.internal.PRPCTask.call(PRPCTask.java:130) ~[prcluster.jar:?] at com.pega.pegarules.cluster.internal.PRPCTask.call(PRPCTask.java:53) ~[prcluster.jar:?] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_131] at com.hazelcast.executor.impl.DistributedExecutorService$CallableProcessor.run(DistributedExecutorService.java:241) ~[hazelcast-3.8_1.jar:3.8] at com.hazelcast.util.executor.CachedExecutorServiceDelegate$Worker.run(CachedExecutorServiceDelegate.java:228) ~[hazelcast-3.8_1.jar:3.8] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131] at com.hazelcast.util.executor.HazelcastManagedThread.executeRun(HazelcastManagedThread.java:76) ~[hazelcast-3.8_1.jar:3.8] at com.hazelcast.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:92) ~[hazelcast-3.8_1.jar:3.8] Caused by: javax.mail.MessagingException: A3 BAD User is authenticated but not connected. at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:1064) ~[mail-1.5.5.jar:?] at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:973) ~[mail-1.5.5.jar:?] at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.openMailFolder(EmailListener.java:3533) ~[printegrint.jar:?] at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.setup(EmailListener.java:2136) ~[printegrint.jar:?] ... 35 more Caused by: com.sun.mail.iap.BadCommandException: A3 BAD User is authenticated but not connected. at com.sun.mail.iap.Protocol.handleResult(Protocol.java:398) ~[mail-1.5.5.jar:?] at com.sun.mail.imap.protocol.IMAPProtocol.select(IMAPProtocol.java:1184) ~[mail-1.5.5.jar:?] at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:1030) ~[mail-1.5.5.jar:?] at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:973) ~[mail-1.5.5.jar:?] at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.openMailFolder(EmailListener.java:3533) ~[printegrint.jar:?] at com.pega.pegarules.integration.engine.internal.services.email.EmailListener.setup(EmailListener.java:2136) ~[printegrint.jar:?] ... 35 more
Thanks!