AnsweredAssumed Answered

Generic Rest API collector is not working with Remote Agent

Question asked by Amit Dewangan on Jul 9, 2020
Latest reply on Jul 15, 2020 by Ian Staines

I am trying to collect SAP HR data using the BAAP interface via a generic Rest API collector. It is working fine using the local agent serer but getting the following error when we use a remote agent server. 

 

eksa.client.datacollector.collectors.accountdatacollectors.AccountDataCollector@6d502b22
07/09/2020 07:20:36.820 INFO (ApplyChangesPerformQueryThread-5) [com.aveksa.client.datacollector.framework.DataCollectorManager] DCM147: Booted Data Collector -1
07/09/2020 07:20:37.550 INFO (ApplyChangesPerformQueryThread-5) [com.aveksa.client.datacollector.framework.DataCollectorManagerFactory] DCMF64: Created DataCollectorManager for collector: -1
07/09/2020 07:20:37.823 WARN (ApplyChangesPerformQueryThread-5) [com.aveksa.common.http.client.RSAHTTPConnectionFactory] System property for Host name verification is either not configured or incorrectly configured.
07/09/2020 07:20:37.824 INFO (ApplyChangesPerformQueryThread-5) [com.aveksa.common.http.client.RSAHTTPClient] Configure the connection and http request properties
07/09/2020 07:20:37.851 ERROR (ApplyChangesPerformQueryThread-5) [com.aveksa.common.http.client.RSAHTTPClient] Error in handling HTTP call:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1964)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:328)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:322)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1614)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:987)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)

 

Has anyone faced a similar issue?  Any solution to this issue much appreciated. 

Outcomes