Active directory Polling timeout over VPN

Hi Guys,

We have an Ignition server using an Ipsec VPN tunnel to gain access to the Companys Actice Directory.

I have noticed that the Wrapper log is filling with timeout errors as below.

INFO | jvm 1 | 2013/05/13 12:38:47 | ERROR [Wrapper ] [12:38:47,886]: [profileName=PlantConnect Access] Error fetching users. INFO | jvm 1 | 2013/05/13 12:38:47 | javax.naming.PartialResultException [Root exception is javax.naming.CommunicationException: work.local:389 [Root exception is java.net.ConnectException: Connection timed out: connect]] INFO | jvm 1 | 2013/05/13 12:38:47 | at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at com.inductiveautomation.ignition.gateway.authentication.impl.LDAPHelper.search(LDAPHelper.java:267) INFO | jvm 1 | 2013/05/13 12:38:47 | at com.inductiveautomation.ignition.gateway.authentication.impl.LDAPHelper.search(LDAPHelper.java:231) INFO | jvm 1 | 2013/05/13 12:38:47 | at com.inductiveautomation.ignition.gateway.authentication.impl.ActiveDirectoryUserSource.getUsers(ActiveDirectoryUserSource.java:107) INFO | jvm 1 | 2013/05/13 12:38:47 | at com.inductiveautomation.ignition.gateway.authentication.UserSourceWrapper.updateCache(UserSourceWrapper.java:106) INFO | jvm 1 | 2013/05/13 12:38:47 | at com.inductiveautomation.ignition.gateway.authentication.UserSourceManagerImpl$UpdateCacheTask.run(UserSourceManagerImpl.java:235) INFO | jvm 1 | 2013/05/13 12:38:47 | at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at java.util.concurrent.FutureTask.run(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at java.lang.Thread.run(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | Caused by: javax.naming.CommunicationException: work.local:389 [Root exception is java.net.ConnectException: Connection timed out: connect] INFO | jvm 1 | 2013/05/13 12:38:47 | at com.sun.jndi.ldap.LdapReferralContext.<init>(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at com.sun.jndi.ldap.LdapReferralException.getReferralContext(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreReferrals(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | ... 13 more INFO | jvm 1 | 2013/05/13 12:38:47 | Caused by: java.net.ConnectException: Connection timed out: connect INFO | jvm 1 | 2013/05/13 12:38:47 | at java.net.DualStackPlainSocketImpl.connect0(Native Method) INFO | jvm 1 | 2013/05/13 12:38:47 | at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at java.net.AbstractPlainSocketImpl.connect(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at java.net.PlainSocketImpl.connect(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at java.net.SocksSocketImpl.connect(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at java.net.Socket.connect(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at java.net.Socket.connect(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at java.net.Socket.<init>(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at java.net.Socket.<init>(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at com.sun.jndi.ldap.Connection.createSocket(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:47 | at com.sun.jndi.ldap.Connection.<init>(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:48 | at com.sun.jndi.ldap.LdapClient.<init>(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:48 | at com.sun.jndi.ldap.LdapClient.getInstance(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:48 | at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:48 | at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:48 | at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:48 | at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:48 | at com.sun.jndi.url.ldap.ldapURLContextFactory.getObjectInstance(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:48 | at javax.naming.spi.NamingManager.getURLObject(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:48 | at javax.naming.spi.NamingManager.processURL(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:48 | at javax.naming.spi.NamingManager.processURLAddrs(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:48 | at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source) INFO | jvm 1 | 2013/05/13 12:38:48 | ... 16 more

The errors are not happening all the time and I have no issues connecting to the gateway via the VPN, so I was wondering if there is a setting somewhere to adjust the poll time for the Security Authenication?

Server is running 7.6 b1875

Cheers

Tim…