Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

AD Full Account import fails

bala
New Contributor II
New Contributor II

Hi Team,

AD Account import fails with error " Failed to import one or more object types due to timeout after defined number of retries. Check if the target system is responsive and review the connector timeout configuration."

It was working file and pulled 50k records with in 20 min and after 24.6 to 24.7 upgrade it throws below error. 

Since our client has Saviynt on-premises solution, checked on firewall and other config and all seems to be fine.  

When I create a new connection with limiting OU with few users its working. tried to increase the timeout and other options and nothing works.  

 

Timeout exception while executing request, retrying request.
 
2024-09-24T12:41:30+05:30-ecm-worker-services.AdImportService-quartzScheduler_Worker-5-bjv59-ERROR-Got Exception while performing ctx.search: javax.naming.NamingException: LDAP response read timed out, timeout used: 50000 ms.; remaining name 'DC=stmadti,DC=com' at com.sun.jndi.ldap.LdapRequest.getReplyBer(LdapRequest.java:129) at com.sun.jndi.ldap.Connection.readReply(Connection.java:469) at com.sun.jndi.ldap.LdapClient.getSearchReply(LdapClient.java:638) at com.sun.jndi.ldap.LdapClient.search(LdapClient.java:561) at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:2013) at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1872) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1797) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:392) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:358) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:341) at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:267) at javax.naming.directory.DirContext$search.call(Unknown Source) at com.saviynt.ecm.services.AdImportService.getLdapPageResultsApiCall(AdImportService.groovy:564) at com.saviynt.ecm.services.AdImportService.this$2$getLdapPageResultsApiCall(AdImportService.groovy) at sun.reflect.GeneratedMethodAccessor1528.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1086) at groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:1110) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:910) at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:848) at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:831) at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:164) at com.saviynt.ecm.services.HttpClientUtilityService.executeRequestWithTimeoutConfig(HttpClientUtilityService.groovy:627) at com.saviynt.ecm.services.HttpClientUtilityService$executeRequestWithTimeoutConfig$9.call(Unknown Source) at com.saviynt.ecm.services.AdImportService.getLdapPageResults(AdImportService.groovy:532) at com.saviynt.ecm.services.AdImportService.getLdapPageResults(AdImportService.groovy) at com.saviynt.ecm.services.AdImportService.this$2$getLdapPageResults(AdImportService.groovy) at com.saviynt.ecm.services.AdImportService$this$2$getLdapPageResults$12.callCurrent(Unknown Source) at com.saviynt.ecm.services.AdImportService.getLdapResultAndExecute(AdImportService.groovy:4481) at com.saviynt.ecm.services.AdImportService$getLdapResultAndExecute$8.callCurrent(Unknown Source) at com.saviynt.ecm.services.AdImportService.doImportInternal(AdImportService.groovy:947) at com.saviynt.ecm.services.AdImportService.this$2$doImportInternal(AdImportService.groovy) at com.saviynt.ecm.services.AdImportService$this$2$doImportInternal$5.callCurrent(Unknown Source) at com.saviynt.ecm.services.AdImportService.doImport(AdImportService.groovy:189) at com.saviynt.ecm.services.AdImportService$doImport.call(Unknown Source) at com.saviynt.ecm.integration.ExternalConnectionCallService.invokeExternalMethod(ExternalConnectionCallService.groovy:198) at com.saviynt.ecm.integration.ExternalConnectionCallService$invokeExternalMethod.call(Unknown Source) at ApplicationDataImportJob.execute(ApplicationDataImportJob.groovy:211) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:196) at org.codehaus.groovy.grails.plugins.quartz.GrailsJobFactory$GrailsTaskClassJob.execute(GrailsJobFactory.java:72) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)

  

1 REPLY 1

NM
Honored Contributor II
Honored Contributor II

@bala increase the read timeout value.