<div dir="ltr">Hello everybody,<div><br></div><div>we are getting org.identityconnectors.framework.common.exceptions.ConnectionFailedException during reconciliation. Test connection on resource is ok and provisioning on resource works fine also.</div><div><br></div><div>But after 500 reconciled accounts this exception is thrown.</div><div><br></div><div>Any idea how to troubleshoot this problem? Wich logging should be increased, etc....</div><div><br></div><div>Full stack trace:</div><div><br></div><div><div>2017-04-03 11:28:03,002 [] [midPointScheduler_Worker-10] ERROR (com.evolveum.midpoint.provisioning.ucf.impl.IcfUtil): ICF Exception org.identityconnectors.framework.common.exceptions.ConnectionFailedException in connector:AD-connector-generated(ICF com.evolveum.polygon.connector.ldap.ad.AdLdapConnector v1.4.3): resource:AD-connector-resource(Active Directory): Error searching in DC=testdomain,DC=cz: Cannot connect on the server, the connection is invalid</div><div>org.identityconnectors.framework.common.exceptions.ConnectionFailedException: Error searching in DC=testdomain,DC=cz: Cannot connect on the server, the connection is invalid</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>at com.evolveum.polygon.connector.ldap.LdapUtil.processLdapException(LdapUtil.java:380) ~[connector-ldap-1.4.3.jar:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>at com.evolveum.polygon.connector.ldap.AbstractLdapConnector.searchUsual(AbstractLdapConnector.java:645) ~[connector-ldap-1.4.3.jar:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>at com.evolveum.polygon.connector.ldap.AbstractLdapConnector.executeQuery(AbstractLdapConnector.java:459) ~[connector-ldap-1.4.3.jar:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>at com.evolveum.polygon.connector.ldap.AbstractLdapConnector.executeQuery(AbstractLdapConnector.java:122) ~[connector-ldap-1.4.3.jar:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>at org.identityconnectors.framework.impl.api.local.operations.SearchImpl.rawSearch(SearchImpl.java:193) ~[connector-framework-internal-1.4.2.18.jar:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>at org.identityconnectors.framework.impl.api.local.operations.SearchImpl.search(SearchImpl.java:130) ~[connector-framework-internal-1.4.2.18.jar:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>at sun.reflect.GeneratedMethodAccessor893.invoke(Unknown Source) ~[na:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>at org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:98) ~[connector-framework-internal-1.4.2.18.jar:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>at com.sun.proxy.$Proxy180.search(Unknown Source) ~[na:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>at sun.reflect.GeneratedMethodAccessor893.invoke(Unknown Source) ~[na:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>at org.identityconnectors.framework.impl.api.local.operations.ThreadClassLoaderManagerProxy.invoke(ThreadClassLoaderManagerProxy.java:96) ~[connector-framework-internal-1.4.2.18.jar:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>at com.sun.proxy.$Proxy180.search(Unknown Source) ~[na:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>at sun.reflect.GeneratedMethodAccessor893.invoke(Unknown Source) ~[na:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>at org.identityconnectors.framework.impl.api.BufferedResultsProxy$BufferedResultsHandler.run(BufferedResultsProxy.java:165) ~[connector-framework-internal-1.4.2.18.jar:na]</div><div>Caused by: org.apache.directory.ldap.client.api.exception.InvalidConnectionException: Cannot connect on the server, the connection is invalid</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>at org.apache.directory.ldap.client.api.LdapNetworkConnection.checkSession(LdapNetworkConnection.java:282) ~[na:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>at org.apache.directory.ldap.client.api.LdapNetworkConnection.searchAsync(LdapNetworkConnection.java:1762) ~[na:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>at org.apache.directory.ldap.client.api.LdapNetworkConnection.search(LdapNetworkConnection.java:1805) ~[na:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>at com.evolveum.polygon.connector.ldap.search.SearchStrategy.executeSearch(SearchStrategy.java:181) ~[connector-ldap-1.4.3.jar:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>at com.evolveum.polygon.connector.ldap.search.SimplePagedResultsSearchStrategy.search(SimplePagedResultsSearchStrategy.java:136) ~[connector-ldap-1.4.3.jar:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>at com.evolveum.polygon.connector.ldap.AbstractLdapConnector.searchUsual(AbstractLdapConnector.java:643) ~[connector-ldap-1.4.3.jar:na]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>... 18 common frames omitted</div></div><div><br></div><div>Best Regards</div><div><br></div><div>Oskar Butovič<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><table style="font-family:verdana,arial,helvetica,sans-serif;border-collapse:collapse;padding:0px;margin:0px;border-width:0px;border-style:solid;width:482px"><tbody><tr style="padding:0px;margin:0px;border:0px solid gray"><td style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:11px;width:160px;vertical-align:bottom;padding:0px;border:0px solid gray"><p><span style="font-size:14px;font-weight:bold">Oskar Butovič</span><br>solution architect<br><br>gsm: [+420] 774 480 101<br>e-mail: <a href="mailto:oskar.butovic@ami.cz" target="_blank">oskar.butovic@ami.cz</a></p></td><td style="color:rgb(0,0,0);font-family:verdana,arial,helvetica,sans-serif;font-size:10px;border-width:0px 1px 0px 0px;border-style:solid;border-color:gray rgb(204,204,204) gray gray;padding:0px">   </td><td style="color:rgb(0,0,0);font-family:verdana,arial,helvetica,sans-serif;font-size:10px;padding:0px;border:0px solid gray">   </td><td style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:11px;vertical-align:bottom;padding:0px;width:123px;border:0px solid gray"><p>AMI Praha a.s.<br>Pláničkova 11<br>162 00 Praha 6<br>tel.: [+420] 274 783 239<br>web: <a href="http://www.ami.cz/" target="_blank">www.ami.cz</a></p></td><td style="color:rgb(0,0,0);font-family:verdana,arial,helvetica,sans-serif;font-size:10px;border-width:0px 1px 0px 0px;border-style:solid;border-color:gray rgb(204,204,204) gray gray;padding:0px">   </td><td style="color:rgb(0,0,0);font-family:verdana,arial,helvetica,sans-serif;font-size:10px;padding:0px;border:0px solid gray">   </td><td style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:11px;margin:8px;width:116px;border:0px solid gray"><p><img src="http://www.ami.cz/images/podpis/ami_logo.gif" alt="AMI Praha a.s." style="border: 0px;"></p></td></tr><tr style="padding:0px;margin:0px;border:0px solid gray"><td colspan="7" style="color:rgb(0,0,0);font-family:verdana,arial,helvetica,sans-serif;font-size:10px;padding:0px;width:480px;border:0px solid gray"><br><a href="http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management" target="_blank"><img src="http://www.ami.cz/images/podpis/AMI-podpis-IdM_1.png" alt="AMI Praha a.s." style="border: 0px; width: 480px; height: 82px;"></a></td></tr><tr style="padding:0px;margin:0px;border:0px solid gray"><td colspan="7" style="color:rgb(128,128,128);font-family:arial,sans-serif;font-size:11px;padding:0px;border:0px solid gray"><br>Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s.<br>jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu.<br><br></td></tr></tbody></table></div></div></div></div></div></div></div>
</div></div>