Directory sync in vRA 7.x takes very long or fails but vRA is scaled according Requirements
book
Article ID: 345679
calendar_today
Updated On:
Products
VMwareVMware Aria Suite
Issue/Introduction
Symptoms:
In an IWA directory Configuration, running the Directory sync in vRealize Automation 7.x fails.
In the /storage/log/vmware/horizon/connector.log file, you see the connection reset messages similar to:
2017-11-16 10:17:37,516 WARN (SimpleAsyncTaskExecutor-240) [[email protected];[email protected];127.0.0.1] com.vmware.horizon.directory.ldap.LdapConnector - Failed to connect to DC1.domain.domroot.lan:389 javax.naming.CommunicationException: SASL bind failed: DC1.domain.domroot.lan:389 [Root exception is java.net.SocketException: Connection reset] at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:242) at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2788) at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210) at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153) at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83) ... Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:210) at java.net.SocketInputStream.read(SocketInputStream.java:141) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) at com.sun.jndi.ldap.Connection.run(Connection.java:860)
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.