Support Article

Unable to start listener due to authentication exception

SA-29293

Summary



Listener fail to start when triggered from the SMA due to "Authentication Fail" exceptions. 

Error Messages



com.pega.pegarules.pub.PRException: Failed to start listener: EMAIL.InvokeEmailCases.Listener
From: (B4AB00140C6B56D40D874BA9368720EDC:(MBean Access))
at com.pega.pegarules.integration.engine.internal.services.listener.ListenerWrapper.launchListener(ListenerWrapper.java:201)
at com.pega.pegarules.integration.engine.internal.services.listener.ListenerStateManagerImpl.startOneListener(ListenerStateManagerImpl.java:753)
at com.pega.pegarules.integration.engine.internal.services.listener.ListenerStateManagerImpl.startListener(ListenerStateManagerImpl.java:658)
at com.pega.pegarules.management.internal.ListenerManagementAPI.Start(ListenerManagementAPI.java:300)
...
Caused by: com.pega.pegarules.pub.PRException: Authentication failed for listener: EMAIL.InvokeEmailCases.Listener
From: (A29E8BE381E0094366F3C10D81A76C263)
at com.pega.pegarules.integration.engine.internal.services.listener.ServiceListenerBaseImpl$1.run(ServiceListenerBaseImpl.java:401)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1266)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1015)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:835)
at com.pega.pegarules.integration.engine.internal.services.listener.ServiceListenerBaseImpl.init(ServiceListenerBaseImpl.java:364)
at com.pega.pegarules.integration.engine.internal.services.listener.ListenerWrapper.launchListener(ListenerWrapper.java:194)
... 58 more
Caused by: com.pega.pegarules.pub.PRException: PRException
From: (A29E8BE381E0094366F3C10D81A76C263)
at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.setRequestorPrivileges(ServiceAPI.java:3220)
at com.pega.pegarules.integration.engine.internal.services.listener.ServiceListenerBaseImpl$1.run(ServiceListenerBaseImpl.java:397)
... 63 more
Caused by: com.pega.pegarules.pub.services.ServiceException: Authentication failed
at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.handleAuthentication(ServiceAPI.java:1621)
at com.pega.pegarules.integration.engine.internal.services.ServiceAPI.setRequestorPrivileges(ServiceAPI.java:3211)
... 64 more


Steps to Reproduce



Attempt to start email listener from SMA.


Root Cause

This error is caused by an error in the authentication credentials provided in the listener configuration record.


Resolution



Ensure the configured credentials are correct, then start the listener.
 

 

Published October 18, 2016 - Updated October 20, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.