Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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.
 

 

Suggest Edit

Published October 21, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us