org.ldaptive.OperationException java.net.SocketException: Connection reset]; remaining name ''

Klingenstein, Nate nklingenstein at calstate.edu
Fri Apr 14 16:29:27 EDT 2017


We're bringing up an identity provider on 3.3.0(sorry) that is adding LDAP-based authentication for the first time.  The pool appears to be intermittently failing on validation attempts, but with no apparent failure in service.  We get the following hiccups on WARN with a corresponding DEBUG stamp with a cryptic attempt to connect to nothing.

It appropriately rejects me if I enter incorrect credentials and appropriately accepts me if I enter correct credentials.  It's not under meaningful load.

Botched configuration is a possibility, but a null string is little to go by.  Actual connectivity or network issues would be plausible but unlikely.  It clearly gets through some validations alive, but with no apparent pattern in the intermittent hiccups.
2017-04-14 03:44:36,799 - WARN [org.ldaptive.pool.BlockingConnectionPool:882] - org.ldaptive.pool.AbstractConnectionPool$DefaultPooledConnectionProxy at 8756a8b failed validation
2017-04-14 04:34:36,749 - WARN [org.ldaptive.pool.BlockingConnectionPool:882] - org.ldaptive.pool.AbstractConnectionPool$DefaultPooledConnectionProxy at 7c347df3 failed validation
2017-04-14 04:49:33,738 - WARN [org.ldaptive.AbstractOperation$ReopenOperationExceptionHandler:277] - Operation exception encountered, reopening connection
2017-04-14 04:59:33,740 - WARN [org.ldaptive.AbstractOperation$ReopenOperationExceptionHandler:277] - Operation exception encountered, reopening connection
2017-04-14 05:39:33,790 - WARN [org.ldaptive.AbstractOperation$ReopenOperationExceptionHandler:277] - Operation exception encountered, reopening connection

2017-04-14 13:16:05,417 - DEBUG [org.ldaptive.SearchOperation:147] - Error performing LDAP operation, invoking exceptio
n handler: [org.ldaptive.AbstractOperation$ReopenOperationExceptionHandler at 928917504::retry=0, retryWait=0, retryBackof
f=0, bindRequest=null]
org.ldaptive.OperationException: javax.naming.CommunicationException: Connection reset [Root exception is java.net.Sock
etException: Connection reset]; remaining name ''
        at org.ldaptive.provider.ProviderUtils.throwOperationException(ProviderUtils.java:67)
Caused by: javax.naming.CommunicationException: Connection reset
        at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:2002)
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:209)
2017-04-14 13:16:05,417 - DEBUG [org.ldaptive.SearchOperation:147] - Error performing LDAP operation, invoking exceptio
n handler: [org.ldaptive.AbstractOperation$ReopenOperationExceptionHandler at 133311459::retry=0, retryWait=0, retryBackof
f=0, bindRequest=null]
org.ldaptive.OperationException: javax.naming.CommunicationException: Connection reset [Root exception is java.net.Sock
etException: Connection reset]; remaining name ''
        at org.ldaptive.provider.ProviderUtils.throwOperationException(ProviderUtils.java:67)
Caused by: javax.naming.CommunicationException: Connection reset
        at com.sun.jndi.ldap.LdapCtx.doSearch(LdapCtx.java:2002)
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(SocketInputStream.java:209)
2017-04-14 13:16:05,417 - WARN [org.ldaptive.AbstractOperation$ReopenOperationExceptionHandler:277] - Operation excepti
on encountered, reopening connection
2017-04-14 13:16:05,417 - WARN [org.ldaptive.AbstractOperation$ReopenOperationExceptionHandler:277] - Operation excepti
on encountered, reopening connection
2017-04-14 13:16:05,433 - DEBUG [org.ldaptive.SearchOperation:168] - execute response=[org.ldaptive.Response at 1918677135
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170414/6f3cc3c5/attachment-0001.html>


More information about the users mailing list