Account aggregation task is been getting failed

We have a custom Webservice connector deployed in the Sailpoint. And from last week the account aggregation task is been getting failed for the connector.

Below is the syslog for the error which we are getting during account aggregation run.

Can some one let us know what is causing the issue in the failure.

java.lang.RuntimeException: sailpoint.connector.ConnectorException: Url: https://vip-layerprd701.dc-ratingen.de:8443/v1/Zearch/services/rest/connect/v1.4/contacts/12682, Message: <html lang="en"><head>    <title>Sorry</title></head><body><p>    Sorry, we had a problem, try again later!</p></body></html>, HTTP Error Code: 504
	at sailpoint.connector.webservices.v2.WebServiceFacadeV2$WebServiceIterator.hasNext(WebServiceFacadeV2.java:1929)
	at sailpoint.connector.ConnectorProxy$CustomizingIterator.peek(ConnectorProxy.java:1294)
	at sailpoint.connector.ConnectorProxy$CustomizingIterator.hasNext(ConnectorProxy.java:1321)
	at sailpoint.api.Aggregator.aggregateAccounts(Aggregator.java:3121)
	at sailpoint.api.Aggregator.primaryAccountAggregation(Aggregator.java:2792)
	at sailpoint.api.Aggregator.aggregateApplication(Aggregator.java:2640)
	at sailpoint.api.Aggregator.phaseAggregate(Aggregator.java:2541)
	at sailpoint.api.Aggregator.execute(Aggregator.java:2121)
	at sailpoint.task.ResourceIdentityScan.doUnpartitioned(ResourceIdentityScan.java:238)
	at sailpoint.task.ResourceIdentityScan.execute(ResourceIdentityScan.java:218)
	at sailpoint.api.TaskManager.runSync(TaskManager.java:903)
	at sailpoint.api.TaskManager.runSync(TaskManager.java:723)
	at sailpoint.scheduler.JobAdapter.execute(JobAdapter.java:128)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: sailpoint.connector.ConnectorException: Url: https://vip-layerprd701.dc-ratingen.de:8443/v1/Zearch/services/rest/connect/v1.4/contacts/12682, Message: <html lang="en"><head>    <title>Sorry</title></head><body><p>    Sorry, we had a problem, try again later!</p></body></html>, HTTP Error Code: 504
	at sailpoint.connector.webservices.v2.WebServiceFacadeV2$WebServiceIterator.getIterator(WebServiceFacadeV2.java:1877)
	at sailpoint.connector.webservices.v2.WebServiceFacadeV2$WebServiceIterator.hasNext(WebServiceFacadeV2.java:1923)
	... 14 more
Caused by: connector.sdk.webservices.exception.WebServicesSdkException: <html lang="en"><head>    <title>Sorry</title></head><body><p>    Sorry, we had a problem, try again later!</p></body></html>
	at connector.sdk.webservices.ExecutionMediator.processEndpoint(ExecutionMediator.java:637)
	at connector.sdk.webservices.ExecutionMediator$DefaultChildEndpointProcessor.process(ExecutionMediator.java:1162)
	at sailpoint.connector.webservices.v2.RequestOrchestratorV2$CustomChildEndpointProcessor.process(RequestOrchestratorV2.java:699)
	at connector.sdk.webservices.ExecutionMediator.processEndpoint(ExecutionMediator.java:711)
	at sailpoint.connector.webservices.v2.WebServiceFacadeV2$WebServiceIterator.getIterator(WebServiceFacadeV2.java:1863)
	... 15 more
Caused by: HttpException [url=https://vip-layerprd701.dc-ratingen.de:8443/v1/Zearch/services/rest/connect/v1.4/contacts/12682, errorCode=504, getMessage()=<html lang="en"><head>    <title>Sorry</title></head><body><p>    Sorry, we had a problem, try again later!</p></body></html>, getCause()=null, responseHeaders={X-layer7-requestid=00000188aeb481f4-b7ea7f2, Keep-Alive=timeout=60, RNT-JN-Int-UUID=07687b60-6f63-44f6-b8d1-07e1dbb38c47, Server=Layer7-API-Gateway, RNT-JN-Int-Machine=42.3, Connection=keep-alive, Pragma=no-cache, RNT-GK-Machine=0.218, Date=Mon, 07 Aug 2023 20:13:35 GMT, RNT-JN-Ext-UUID=d4d83b34-150c-4f09-8b44-0b65e4e41307, Cache-Control=no-cache, no-store, must-revalidate, RNT-JN-Ext-Machine=43.4, Expires=0, Content-Type=text/html}]
	at connector.common.http.client.impl.ApacheHttpClientWrapper.handleFailedRequest(ApacheHttpClientWrapper.java:519)
	at connector.common.http.client.impl.ApacheHttpClientWrapper.execute(ApacheHttpClientWrapper.java:338)
	at connector.common.http.client.HttpClientWrapper.execute(HttpClientWrapper.java:137)
	at connector.common.http.client.impl.ThrottledHttpClient.execute(ThrottledHttpClient.java:94)
	at connector.sdk.webservices.ExecutionMediator.processEndpoint(ExecutionMediator.java:612)
	... 19 more

                

Hi @pdjoshi ,

Please view this it also looks like same, the connector is expecting JSON response but error message is returning as HTML:

Hi @pdjoshi

Error 504 usually indicates Gateway Timeout. It indicates that the server, while acting as a gateway or proxy, did not receive a timely response from an upstream server it needed to access in order to complete the request. The error may be a temporary occurrence due to too much traffic toward the server or site.

See whether you are able to access this endpoint via Postman.

@Jarin_James - Yes I have check the same operation from the SOAP side and I am getting 200 response for the account aggregation (Output of the user account is showing up)

Hi @pdjoshi

Try printing the requestEndPoint in Webservice BeforeRule and AfterRule. It will give us a better idea on what we are sending (including headers,body) and what we are receiving. This will help to compare the data being send and received with the expected data.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.