Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/18/2024 05:38 AM
We encountered the following errors when running either the account import or access import job. The client's infrastructure team confirmed they are not receiving any traffic from Saviynt to the target, meaning Saviynt isn't sending anything from its server.
Error ConnectTimeoutException:
org.apache.http.conn.ConnectTimeoutException: Connect to hostname:port [hostname/IP, hostname/IP] failed: connect timed out at
called api...
Timeout exception while executing request, retrying request.
Inside timeout retry call
Error - Number of retries exhausted due to [Connect to hostname:portno [hostname/ip, hostname/ip] failed: connect timed out], no more retry will be performed. Failed to process [url - https://{hostname:ip}/api/v1/data/{tablename}/rows]
timeout validated for api...
got response for api...
timeout validated for api...
got response for api...
timeout validated for api...
got response for api...
timeout validated for api...
got response for api...
Got showLogs = true
Got Webservice API Response: [responseText:Failed to process [url - https://{hostname:ip}/api/v1/data/{tablename}/rows] due to [Connect to hostname:portno [hostname/ip, hostname/ip] failed: connect timed out] after [3] retries, statusCode:408]
pullObjectsByRest - responseStatusCode ::408
Exception in getting response in pullObjectsByRest
We added the following ConfigJSON, but the same error persisted, so we increased the timeout values:
{
"showLogs":true,
"connectionTimeoutConfig": {
"connectionTimeout": 10,
"readTimeout": 800,
"writeTimeout": 60,
"retryWait": 5,
"retryCount": 3
}
}
After updating to higher values:
{
"showLogs":true,
"connectionTimeoutConfig": {
"connectionTimeout": 1000,
"readTimeout": 3600,
"writeTimeout": 1000,
"retryWait": 100,
"retryCount": 10
}
}
We are now getting the following response:
Got Webservice API Response: [error:Error Connect to hostname:port [hostname/ip, hostname/ip] failed: Connection timed out (Connection timed out)]
pullObjectsByRest - responseStatusCode ::null
Connectionjson
"authentications":{
"userAuth":{
"authType":"oauth2",
"url":"https://hostname:port/api/v1/token",
"httpMethod":"POST",
"httpParams":{
"client_id": "*",
"client_secret": "*",
"grant_type": "client_credentials"
},
"httpHeaders":{
"Accept":"application/json"
},
"httpContentType":"application/x-www-form-urlencoded",
"expiryError":"ExpiredAuthenticationToken",
"retryFailureStatusCode":[
401,403,400,null,408
],
"authError":[
"Unauthorized",
"invalid_client"
],
"timeOutError":"Read timed out",
"errorPath":"error",
"maxRefreshTryCount":5,
"tokenResponsePath":"access_token",
"tokenType":"Bearer",
"accessToken":"Bearer abcd"
}
}
}
Postman response:-
ImportAccountEntJSON
{
"accountParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://{hostname:portno}/api/v1/data/{table}/rows",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpParams": "{\"columns\":[\"HostID\",\"HostName\",\"GroupTrusteeId\",\"GroupSiteCollectionId\",\"GroupSid\",\"GroupSamAccountName\",\"GroupNTStyleName\",\"MemberTrusteeId\",\"MemberSid\",\"MemberDisplayName\",\"MemberDomain\",\"MemberSamAccountName\",\"MemberNTStyleName\",\"MemberType\",\"MemberTypeDescription\"],\"filters\": [{\"columns\": \"GroupSiteCollectionId\",\"function\": \"equals\",\"value\": \"4991\"}]}",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "MemberSid~#~char",
"name": "MemberSamAccountName~#~char",
"displayName": "MemberDisplayName~#~char",
"customproperty1": "GroupTrusteeId~#~char",
"customproperty2": "GroupSiteCollectionId~#~char",
"customproperty3": "GroupSid~#~char",
"customproperty4": "GroupSamAccountName~#~char",
"customproperty5": "GroupNTStyleName~#~char",
"customproperty6": "MemberTrusteeId~#~char",
"customproperty7": "MemberDomain~#~char",
"customproperty8": "MemberNTStyleName~#~char",
"customproperty9": "MemberType~#~char",
"customproperty10": "MemberTypeDescription~#~char"
}
}
}
},
"entitlementParams": {},
"acctEntParams": {}
}
10/18/2024 05:40 AM
@pinky_chauhan is it a on prem application?
10/18/2024 05:41 AM
@NM yes