search cancel

Spectrum unable to get events from CA Performance Centre (CAPC) Event Manager - "(401)Unauthorized Error"


Article ID: 221935


Updated On:


CA Infrastructure Management CA Spectrum DX NetOps CA Performance Management - Usage and Administration


Spectrum is not able to the Event Manager on CAPC with the following error shown in the Spectrum OneClick server log:

 faultCode: {}HTTP
 faultString: (401)Unauthorized
        {}:return code:  401


        at org.apache.axis.transport.http.HTTPSender.readFromSocket(
        at org.apache.axis.transport.http.HTTPSender.invoke(
        at org.apache.axis.strategies.InvocationStrategy.visit(
        at org.apache.axis.SimpleChain.doVisiting(
        at org.apache.axis.SimpleChain.invoke(
        at org.apache.axis.client.AxisClient.invoke(
        at org.apache.axis.client.Call.invokeEngine(
        at org.apache.axis.client.Call.invoke(
        at org.apache.axis.client.Call.invoke(
        at org.apache.axis.client.Call.invoke(
        at org.apache.axis.client.Call.invoke(
        at com.netqos.InventoryWS.InventoryWSSoapStub.beginInventory(
        at com.aprisma.util.thread.ThreadPoolMonitor$TimedThreadTask.performTask(
Jul 21, 2021 08:25:29.439 (PoolThread-30: GlobalPool => NPCEventManagerWebserviceURLPoller) (NetqosEventLog) - (ERROR) - Unable to contact Event Manager - stopping all polling.


The faultString: (401)Unauthorized client error on Spectrum OneClick server indicates that the request to CAPC has not been accepted because it lacks valid authentication to the CAPC server.

Issue is likely that the certificate for SSO is configured with the Fully Qualified Domain Name (FQDN).  However, if the system is setup to use short hostnames, then DM/EM is accessing SSO using the short hostname and shows errors relating to subject alternate name issue.  So it cannot instantiate the bean it uses to identify the hostname, hence, it is blank.



DX NetOps 21.2 Spectrum / CAPM integration


Change Web Service Host (NpcWebServiceHost) to FQHN in both SsoConfig and ~/etc/Hosts locally.

After some syncs/etc, Spectrum should start seeing events from Data Sources Manager (DM) / Event Manager (EM) on the CAPC server.