Issue #715 has been updated by Clément OUDOT. Target version set to Not planned
I think this is the intended behavior. If the connection fails on the source, LSC do not reconnect automatically, as we can not be sure that modifications have not been lost between the connection close and the connection renew. You need to restart you connector. ---------------------------------------- Bug #715: connection invalid after idletimeout http://tools.lsc-project.org/issues/715 Author: Francesco Malvezzi Status: New Priority: Normal Assigned to: Category: Core Target version: Not planned Problem in version: 2.1.1 Scenario: LSC async task <pre> <ldapConnection> <name>openldap-conn</name> <url>ldaps://ldap2.example.org:636/dc=example,dc=org</url> <username>cn=provisionator,ou=agents,dc=example,dc=org</username> <password>??????</password> <authentication>SIMPLE</authentication> <referral>IGNORE</referral> <derefAliases>NEVER</derefAliases> <version>VERSION_3</version> <pageSize>-1</pageSize> <factory>com.sun.jndi.ldap.LdapCtxFactory</factory> <tlsActivated>false</tlsActivated> </ldapConnection> </pre> OpenLDAP (syncrepl) src directory with idletimeout <pre> # config dn: cn=config olcIdleTimeout: 120 </pre> after a while task fails with: <pre> ago 07 12:09:36 - ERROR - Synchronization aborted because no source object has been found ! ago 07 12:09:36 - ERROR - LDAP error while reading entry uid=a_user,ou=people,dc=example,dc=org (org.apache.directory.ldap.client.api.exception.InvalidConnectionException: Cannot connect on the server, the connection is invalid) ago 07 12:09:36 - DEBUG - org.apache.directory.ldap.client.api.exception.InvalidConnectionException: Cannot connect on the server, the connection is invalid org.apache.directory.ldap.client.api.exception.InvalidConnectionException: Cannot connect on the server, the connection is invalid at org.apache.directory.ldap.client.api.LdapNetworkConnection.checkSession(LdapNetworkConnection.java:271) ~[api-all-1.0.0-M22.jar:1.0.0-M22] at org.apache.directory.ldap.client.api.LdapNetworkConnection.searchAsync(LdapNetworkConnection.java:1667) ~[api-all-1.0.0-M22.jar:1.0.0-M22] at org.apache.directory.ldap.client.api.LdapNetworkConnection.search(LdapNetworkConnection.java:1710) ~[api-all-1.0.0-M22.jar:1.0.0-M22] at org.apache.directory.ldap.client.api.LdapNetworkConnection.search(LdapNetworkConnection.java:1603) ~[api-all-1.0.0-M22.jar:1.0.0-M22] at org.apache.directory.ldap.client.api.LdapNetworkConnection.search(LdapNetworkConnection.java:1613) ~[api-all-1.0.0-M22.jar:1.0.0-M22] at org.lsc.service.SyncReplSourceService.getBean(SyncReplSourceService.java:249) ~[lsc-core-2.1.1.jar:na] at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:689) [lsc-core-2.1.1.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_65] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_65] ago 07 12:09:36 - ERROR - Synchronization aborted because no source object has been found ! </pre> issue can be reproduced all the time. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://tools.lsc-project.org/my/account
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-dev mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-dev

