Support Article
AES throwing 401 errors while communicating with monitored nodes
SA-12131
Summary
When running AES EE 7.1.7 and after installing security fixes on all monitored nodes, you receive 401 Unauthorized errors when attempting to monitor nodes via AES.
This will occur even after setting the appropriate information using the Manage Soap Authentication dialog.
Error Messages
015-06-02 09:30:09,380 [fault (self-tuning)'] [ STANDARD] [ <fta>AES</fta>:07.13] (date.PegaAES_Data_Nodes.Action) INFO machine|ip|SOAP|PegaAES|Events|logAlert|A7D477D37AAF8F2F160A9B692667CD172 - NodeUpdate: Setting the original connection. Node: 0da5ea66b2cefd224952eb2443962452 Original: Current: https://node:port/prweb/PRSOAPServlet
2015-06-02 09:30:15,701 [fault (self-tuning)'] [TABTHREAD0] [ <fta>AES</fta>:07.13] (ctionWrapper._baseclass.Action) ERROR node|node aesdeveloper - Activity PopulateNodeManagementCriteria failed to execute
com.pega.pegarules.pub.services.RemoteApplicationException: SOAP service failed
at com.pegarules.generated.activity.ra_action_invokeaxis_3da0d7301b5c63bb26382db9d78337c3.step9_circum0(ra_action_invokeaxis_3da0d7301b5c63bb26382db9d78337c3.java:1385)
at com.pegarules.generated.activity.ra_action_invokeaxis_3da0d7301b5c63bb26382db9d78337c3.perform(ra_action_invokeaxis_3da0d7301b5c63bb26382db9d78337c3.java:205)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pegarules.generated.activity.ra_action_invoke_5e9e0cecbbfdfa9a2b1306e703ec4af8.step8_circum0(ra_action_invoke_5e9e0cecbbfdfa9a2b1306e703ec4af8.java:1032)
at com.pegarules.generated.activity.ra_action_invoke_5e9e0cecbbfdfa9a2b1306e703ec4af8.perform(ra_action_invoke_5e9e0cecbbfdfa9a2b1306e703ec4af8.java:189)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pegarules.generated.activity.ra_action_togglesoapappenderforcurrentnode_76a62484d71a20966302ab8900346200.step6_circum0(ra_action_togglesoapappenderforcurrentnode_76a62484d71a20966302ab8900346200.java:694)
at com.pegarules.generated.activity.ra_action_togglesoapappenderforcurrentnode_76a62484d71a20966302ab8900346200.perform(ra_action_togglesoapappenderforcurrentnode_76a62484d71a20966302ab8900346200.java:169)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10450)
at com.pegarules.generated.activity.ra_action_populatenodemanagementcriteria_375b9d41bbe6c9d2c846d5f34c71759a.step2_circum0(ra_action_populatenodemanagementcriteria_375b9d41bbe6c9d2c846d5f34c71759a.java:321)
at com.pegarules.generated.activity.ra_action_populatenodemanagementcriteria_375b9d41bbe6c9d2c846d5f34c71759a.perform(ra_action_populatenodemanagementcriteria_375b9d41bbe6c9d2c846d5f34c71759a.java:86)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pegarules.generated.activity.ra_action_pzrunactionwrapper_056ec03796d8a13802f156886066036d.step1_circum0(ra_action_pzrunactionwrapper_056ec03796d8a13802f156886066036d.java:318)
at com.pegarules.generated.activity.ra_action_pzrunactionwrapper_056ec03796d8a13802f156886066036d.perform(ra_action_pzrunactionwrapper_056ec03796d8a13802f156886066036d.java:69)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:641)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:435)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3252)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:384)
at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1188)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:926)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:811)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:330)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:839)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:315)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:263)
at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.invokeEngine(EngineBean.java:225)
at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:338)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:379)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:216)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingException(AppServerBridgeToPega.java:238)
at com.pega.pegarules.internal.etier.ejb.EngineBeanBoot.invokeEngine(EngineBeanBoot.java:168)
at com.pega.pegarules.internal.etier.ejb.EngineBMT_h449u3_ELOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33)
at com.pega.pegarules.internal.etier.ejb.EngineBMT_h449u3_ELOImpl.invokeEngine(Unknown Source)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223)
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:485)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:290)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:338)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:379)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:216)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:265)
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:118)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3432)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
Caused by: (401)Unauthorized
at com.pega.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
at com.pega.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at com.pega.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at com.pega.apache.axis.SimpleChain.doVisiting(SimpleChain.java:119)
at com.pega.apache.axis.SimpleChain.invoke(SimpleChain.java:84)
at com.pega.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at com.pega.apache.axis.client.Call.invokeEngine(Call.java:2809)
at com.pega.apache.axis.client.Call.invoke(Call.java:2792)
at com.pega.apache.axis.client.Call.invoke(Call.java:2437)
at com.pega.apache.axis.client.Call.invoke(Call.java:2360)
at com.pega.apache.axis.client.Call.invoke(Call.java:1804)
at com.pegarules.generated.activity.ra_action_invokeaxis_3da0d7301b5c63bb26382db9d78337c3.step8_circum0(ra_action_invokeaxis_3da0d7301b5c63bb26382db9d78337c3.java:1294)
at com.pegarules.generated.activity.ra_action_invokeaxis_3da0d7301b5c63bb26382db9d78337c3.perform(ra_action_invokeaxis_3da0d7301b5c63bb26382db9d78337c3.java:188)
... 71 more
2015-06-02 09:30:19,257 [fault (self-tuning)'] [ STANDARD] [ <fta>AES</fta>:07.13] (date.PegaAES_Data_Nodes.Action) INFO machine|ip|SOAP|PegaAES|Events|logAlert|A7D477D37AAF8F2F160A9B692667CD172 - NodeUpdate: Setting the original connection. Node: 0856232d0d70dcfcda
Steps to Reproduce
Attempt to use the AES manager portal and enable or disable monitoring on a specific node.
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules.
Resolution
This issue is resolved through the following local change:

Even if you change the SOAP Authentication details appropriately for the monitored nodes, the changes will not take effect due to a defect in the AES code/rules.

You must set the user name and password for the AESRemoteUser Authentication Profile.
For basic authentication these credentials are passed to the application server in http header for authentication.
Published July 14, 2015 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.