[midPoint] Warnings LdapNetworkConnection: Connection reset

João Paulo Ribeiro joparibeiro at gmail.com
Thu Sep 26 01:08:43 CEST 2024


Hello!

I am using the AdLdapConnector to connect to an Active Directory. I notice
that after ~15 minutes the following exception is thrown in the logs:

2024-09-24 19:29:01,419 [] [NioProcessor-7] WARN
(org.apache.directory.ldap.client.api.LdapNetworkConnection): Connection
reset
java.net.SocketException: Connection reset
        at
java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394)
        at
java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426)
        at
org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:378)
        at
org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:47)
        at
org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:519)
        at
org.apache.mina.core.polling.AbstractPollingIoProcessor.access$1200(AbstractPollingIoProcessor.java:68)
        at
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1224)
        at
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1213)
        at
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:683)
        at
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
        at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
2024-09-24 19:29:01,420 [] [NioProcessor-7] WARN
(org.apache.directory.ldap.client.api.LdapNetworkConnection): null
org.apache.mina.core.write.WriteToClosedSessionException: null
        at
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.clearWriteRequestQueue(AbstractPollingIoProcessor.java:1192)
        at
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.removeNow(AbstractPollingIoProcessor.java:1153)
        at
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.removeSessions(AbstractPollingIoProcessor.java:864)
        at
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:694)
        at
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
        at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)

I found an issue on Evolveum's OpenProject about this:
https://support.evolveum.com/projects/midpoint/work_packages/3588.

Is there any way to avoid these exceptions? A timeout that I can set in the
connector configuration to resolve this?

Thanks in advance!

João Paulo Ribeiro.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20240925/e4eb8f42/attachment.htm>


More information about the midPoint mailing list