On Tue, Jan 4, 2022 at 9:48 AM <[email protected]> wrote: > Hi, > > I am starting a new CAS deployment (6.5-SNAPSHOT then 6.4.4) and I am > experiencing a problem : with the right user credentials, I can > authenticate but only once. > > If I log out and try again (or don't login "fast enough" after app > startup), it fails and I have errors like : > > WARN [org.ldaptive.PooledConnectionFactory] - <connection failed check out > validation: > org.ldaptive.pool.AbstractConnectionPool$DefaultPooledConnectionProxy@2ff85a9b > > > 2022-01-04 15:40:14,115 WARN > [org.ldaptive.transport.netty.NettyConnection] - <Attempt to abandon > message 2 that no longer exists for > org.ldaptive.transport.netty.NettyConnection@804748436 > ::ldapUrl=[org.ldaptive.LdapURL@1136561714::scheme=ldaps, > hostname=ldap.MY_DOMAIN, port=636, baseDn=null, attributes=null, > scope=null, filter=null, inetAddress=null], isOpen=true, > connectTime=2022-01-04T14:37:49.180865Z, > connectionConfig=[org.ldaptive.ConnectionConfig@943644402::ldapUrl=ldaps://ldap.MY_DOMAIN:636, > connectTimeout=PT5S, responseTimeout=PT5S, reconnectTimeout=PT2M, > autoReconnect=true, > autoReconnectCondition=org.ldaptive.ConnectionConfig$$Lambda$1339/0x000000084083e440@bf56b27, > autoReplay=true, > sslConfig=[org.ldaptive.ssl.SslConfig@305847051::credentialConfig=null, > trustManagers=null, > hostnameVerifier=org.ldaptive.ssl.DefaultHostnameVerifier@5753f4a0, > enabledCipherSuites=null, enabledProtocols=null, > handshakeCompletedListeners=null, handshakeTimeout=PT1M], > useStartTLS=false, > connectionInitializers=[org.ldaptive.BindConnectionInitializer@1430710100::bindDn=cn=cas_user,dc=MY,dc=DOMAIN, > bindSaslConfig=null, bindControls=null], > connectionStrategy=org.ldaptive.ActivePassiveConnectionStrategy@19d479f6, > connectionValidator=null, transportOptions={}], channel=[id: 0x1744d8e9, > L:/10.17.xx.xx:52058 - R:ldap.MY_DOMAIN/130.79.xx.xx:636]> > 2022-01-04 15:40:14,136 WARN [org.apereo.cas.util.function.FunctionUtils] > - <org.ldaptive.pool.PoolException: Validation of connection failed> >
Put org.ldaptive in DEBUG and you should see why connection validation failed. You're likely correct that you need to configure a bind connection passivator. --Daniel Fisher -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAFC6YwSC1p1mpeVV4rE_bD6dM%3DqjLD5msdiEasMddVZken7cuQ%40mail.gmail.com.
