[midPoint] LdapNetworkConnection - Connection reset by peer

Vito Antonio Carpentieri vito.carpentieri at gmail.com
Fri Jan 22 08:11:36 CET 2021


Hi guys,
I installed midPoint 4.1 as a standalone server and I created a Ldap
resource using embedded ldap connector 3.0.
Now, I am trying to connect to a Directory Server behind Load Balancer with
the idletimeout attribute setted.
I noticed that, when a task runs after an "idletimeout" amount of time from
the last one, it turns into suspended status.
Reading the log (see below) , I found a connection error.
It sounds like if there is a time of inactivity more then idletimeout
value, the server sends an ECONNRESET response to midPoint and the
connection is not reopened:
Could you tell me where my mistake is? Has anybody dealt with this issue
yet?
Do any settings exist to avoid this error?

Best regards
Vito

LOG

2021-01-12 12:24:25,039 [] [NioProcessor-2] WARN
(org.apache.directory.ldap.client.api.LdapNetworkConnection): Connection
reset by peer
java.io.IOException: Connection reset by peer
        at java.base/sun.nio.ch.FileDispatcherImpl.read0(Native Method)
        at
java.base/sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
        at java.base/sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:276)
        at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:245)
        at java.base/sun.nio.ch.IOUtil.read(IOUtil.java:223)
        at
java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:358)
        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:1222)
        at
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.process(AbstractPollingIoProcessor.java:1211)
        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:1128)
        at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
2021-01-12 12:24:25,040 [] [http-nio-8080-exec-9] ERROR
(com.evolveum.polygon.connector.ldap.search.DefaultSearchStrategy): method:
null msg:LDAP error during search: protocolError: PROTOCOL_ERROR: The
server will disconnect! (2)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20210122/261fddf2/attachment.htm>


More information about the midPoint mailing list