Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

AD Test Connection Error

harishkpmg
New Contributor
New Contributor

Team,

When I try to onboard AD application in my partner Instance getting below mentioned error.

URL - ldap://localhost:389/ (OR) ldap://HostName/IP Address Of the Windows Server it's just keep on loading

UserName - CN=Administrator,CN=Users,DC=XYZ,DC=in

Account Attribute - [
ACCOUNTID::distinguishedName#String,
NAME::sAMAccountName#String,
ACCOUNTCLASS::objectClass#String,
created_on::whenCreated#date,
updatedate::whenUpdated#date,
customProperty1::employeeID#String,
customProperty2::city#String,
customProperty3::company#String,
customProperty4::departmentNumber#String,
customProperty5::department#String,
customProperty6::mail#String,
customProperty7::l#String,
customProperty8::givenName#String,
customProperty9::sn#String,
customProperty10::streetAddress#String,
customProperty11::postalCode#String,
customProperty12::middleName#String,
customProperty13::st#String,
customProperty14::title#String,
customProperty15::manager#String,
customProperty16::telephoneNumber#String,
customProperty17::userprincipalname#String,
customProperty18::cn#String,
customProperty19::displayName#String,
customProperty20::name#String,
LASTLOGONDATE::lastLogonTimestamp#millisec,
LASTPASSWORDCHANGE::pwdLastSet#millisec,
CUSTOMPROPERTY25::userAccountControl#String,
CustomProperty26::objectGUID#Binary,
CustomProperty27::countryCode#String,
CustomProperty28::objectCategory#String,
CustomProperty29::passwordExpired#String,
CustomProperty29::primaryGroup#String,
RECONCILATION_FIELD::CustomProperty26]

Kindly let me know for any details.

Logs:

{"log":"2023-02-24 08:11:00.723 DEBUG [] 8 --- [HikariPool-1 housekeeper] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Pool stats (total=10, active=0, idle=10, waiting=0)\n","stream":"stdout","time":"2023-02-24T08:11:00.724071273Z"}
2023-02-24, 01:41 pm
ecm
{"log":"2023-02-24 08:10:57,553 [http-nio-8080-exec-54] ERROR ldap.SaviyntGroovyLdapService - Exception.. try next url\n","stream":"stdout","time":"2023-02-24T08:10:57.554205228Z"}
2023-02-24, 01:40 pm
ecm
{"log":"javax.naming.CommunicationException: 10.211.110.21:389 [Root exception is java.net.ConnectException: Connection timed out (Connection timed out)]\n","stream":"stdout","time":"2023-02-24T08:10:57.554249719Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at com.sun.jndi.ldap.Connection.\u003cinit\u003e(Connection.java:243)\n","stream":"stdout","time":"2023-02-24T08:10:57.554257064Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at com.sun.jndi.ldap.LdapClient.\u003cinit\u003e(LdapClient.java:137)\n","stream":"stdout","time":"2023-02-24T08:10:57.554262053Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1615)\n","stream":"stdout","time":"2023-02-24T08:10:57.554266494Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2849)\n","stream":"stdout","time":"2023-02-24T08:10:57.554277027Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at com.sun.jndi.ldap.LdapCtx.\u003cinit\u003e(LdapCtx.java:347)\n","stream":"stdout","time":"2023-02-24T08:10:57.554281556Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxFromUrl(LdapCtxFactory.java:225)\n","stream":"stdout","time":"2023-02-24T08:10:57.554285968Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:189)\n","stream":"stdout","time":"2023-02-24T08:10:57.554290086Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:243)\n","stream":"stdout","time":"2023-02-24T08:10:57.554294101Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)\n","stream":"stdout","time":"2023-02-24T08:10:57.554299011Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)\n","stream":"stdout","time":"2023-02-24T08:10:57.554302949Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:695)\n","stream":"stdout","time":"2023-02-24T08:10:57.55430695Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)\n","stream":"stdout","time":"2023-02-24T08:10:57.554311054Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at javax.naming.InitialContext.init(InitialContext.java:244)\n","stream":"stdout","time":"2023-02-24T08:10:57.554315123Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at javax.naming.ldap.InitialLdapContext.\u003cinit\u003e(InitialLdapContext.java:154)\n","stream":"stdout","time":"2023-02-24T08:10:57.554319149Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at com.saviynt.ldap.SaviyntGroovyLdapService.getConnection(SaviyntGroovyLdapService.groovy:3729)\n","stream":"stdout","time":"2023-02-24T08:10:57.554323501Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at com.saviynt.ldap.SaviyntGroovyLdapService.testADConnection(SaviyntGroovyLdapService.groovy:4984)\n","stream":"stdout","time":"2023-02-24T08:10:57.554327645Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at com.saviynt.ecm.integration.ExternalConnectionCallService.testExternalConnection(ExternalConnectionCallService.groovy:570)\n","stream":"stdout","time":"2023-02-24T08:10:57.554331613Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at com.saviynt.ecm.utility.domain.EcmConfigController$_closure21.doCall(EcmConfigController.groovy:786)\n","stream":"stdout","time":"2023-02-24T08:10:57.554335613Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter.doFilter(GrailsAnonymousAuthenticationFilter.java:53)\n","stream":"stdout","time":"2023-02-24T08:10:57.554339581Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at com.saviynt.webservice.SaviyntRestAuthenticationFilter.doFilter(SaviyntRestAuthenticationFilter.groovy:144)\n","stream":"stdout","time":"2023-02-24T08:10:57.554343665Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter.doFilter(MutableLogoutFilter.java:62)\n","stream":"stdout","time":"2023-02-24T08:10:57.554347625Z"}
2023-02-24, 01:40 pm
ecm
{"log":"\u0009at grails.plugin.springsecurity.web.SecurityRequestHolderFilter.doFilter(SecurityRequestHolderFilter.java:59)\n","stream":"stdout","time":"2023-02-24T08:10:57.554352851Z"}

3 REPLIES 3

ParitaSavla
Saviynt Employee
Saviynt Employee

It may be a firewall issue. Can you check with your network team if the ports have been opened for Saviynt to be able to establish a connection.

harishkpmg
New Contributor
New Contributor

Thanks @ParitaSavla for the response!

It's my local windowserver where I've installed AD and I disabled all the firewalls settings.

harishkpmg_0-1677511610822.png

I've done couple of times previously but facing the issue now.

SB
Saviynt Employee
Saviynt Employee

Are you able to telnet to the AD instance on the port you are using from Saviynt? Can you check if the connectivity works this way.


Regards,
Sahil