search cancel

Spectrum unable to send alarms to OI due to the DOI connection failure

book

Article ID: 240078

calendar_today

Updated On:

Products

DX Operational Intelligence

Issue/Introduction

Spectrum unable to send alarms to OI due to the DOI connection failure.

Please find the logs -

2022-04-21 08:51:32,527 INFO main: [client.ConnectionValidator] [validateSpectrum] - Requested URL : https://XXX:8443/spectrum/restful/heartbeat
2022-04-21 08:51:33,276 INFO main: [client.ConnectionValidator] [validateAll] - Spectrum connection successful
2022-04-21 08:51:33,281 INFO main: [client.ConnectionValidator] [validateTas] - Requested URL : https://apmgw.dxi-na1.saas.broadcom.com/tas/graph/store
2022-04-21 08:51:33,333 ERROR main: [handler.HttpResponseHandler] [handleIOException] - Connection IOException: https://apmgw.dxi-na1.saas.broadcom.com/tas/graph/store
2022-04-21 08:51:33,333 FATAL main: [client.AbstractHttpClient] [execute] - Error Message: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2022-04-21 08:51:33,333 ERROR main: [client.ConnectionValidator] [validateTas] - PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2022-04-21 08:51:33,333 ERROR main: [client.ConnectionValidator] [validateTas] - SSL error, import valid certificates.
2022-04-21 08:51:33,334 ERROR main: [client.ConnectionValidator] [validateAll] - TAS connection failed
2022-04-21 08:51:33,335 INFO main: [client.ConnectionValidator] [validateJarvis] - Requested URL : https://apmgw.dxi-na1.saas.broadcom.com/jarvis/health/ingestion
2022-04-21 08:51:33,374 ERROR main: [handler.HttpResponseHandler] [handleIOException] - Connection IOException: https://apmgw.dxi-na1.saas.broadcom.com/jarvis/health/ingestion
2022-04-21 08:51:33,374 FATAL main: [client.AbstractHttpClient] [execute] - Error Message: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2022-04-21 08:51:33,374 ERROR main: [client.ConnectionValidator] [validateJarvis] - PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2022-04-21 08:51:33,374 ERROR main: [client.ConnectionValidator] [validateJarvis] - SSL error, import valid certificates.
2022-04-21 08:51:33,374 ERROR main: [client.ConnectionValidator] [validateAll] - Jarvis connection failed
2022-04-21 08:51:33,378 INFO main: [client.ConnectionValidator] [validateDOI] - Requested URL : https://apmgw.dxi-na1.saas.broadcom.com/oipublic/aoanalytics/alarms/alarms_all/_search/?size=0&from=0&q=(status:(NOT CLOSED)+AND+product:[email protected]_id:DF1D62B7-DB3D-4100-8738-9409A02845A0)
2022-04-21 08:51:33,416 ERROR main: [handler.HttpResponseHandler] [handleIOException] - Connection IOException: https://apmgw.dxi-na1.saas.broadcom.com/oipublic/aoanalytics/alarms/alarms_all/_search/?size=0&from=0&q=(status:(NOT%20CLOSED)%20AND%20product:Spectrum%20AND%[email protected]_id:DF1D62B7-DB3D-4100-8738-9409A02845A0)
2022-04-21 08:51:33,416 FATAL main: [client.AbstractHttpClient] [execute] - Error Message: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2022-04-21 08:51:33,416 ERROR main: [client.ConnectionValidator] [validateDOI] - PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2022-04-21 08:51:33,416 ERROR main: [client.ConnectionValidator] [validateDOI] - SSL error, import valid certificates.
2022-04-21 08:51:33,416 ERROR main: [client.ConnectionValidator] [validateAll] - DOI connection failed
2022-04-21 08:51:33,416 INFO main: [client.ConnectionValidator] [validateAll] - Proxy is disabled
2022-04-21 08:51:33,416 INFO main: [client.ConnectionValidator] [validateAll] - ================

Environment

Release : 20.2

Component : CA DOI AO PLATFORM COMPONENTS

Resolution

From the errors, it looks like you didn't import the cert to the SpectrumDataPublisher.

 

Please see section Import SSL (https) Certificate into SpectrumDataPublisher in https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/21-2/integrating/integrate-ca-spectrum-with-ca-digital-operational-intelligence-using-spectrum-data-publisher.html#concept.dita_01d23b21ebdeb3555223a11e764ef8c41f86b5f7_ImportSSLhttpsCertificateintoSpectrumDataPublisher