Can you please share your CAS properties? For ldap authentication you don't need to connect to ssl.
On Tue, 27 Aug 2019, 5:00 pm tnbreitkreutz, <[email protected]> wrote: > Hello, > > still having some issues with my instance of CAS 6.0.4. After some time it > was possible to connect CAS to LDAP with the UnboundIdProvider and the > login works, but. > > I'm seeing an exception in Stackdriver, if I enable > *-Djavax.net.debug=ssl*. I enabled debugging as the container crashes at > some point... > > javax.net.ssl|WARNING|32|Connection reader for connection 2 to > active-directory.lan:636|2019-08-27 08:46:25.267 > UTC|SSLSocketImpl.java:1289|handling exception ( > "throwable" : { > java.net.SocketTimeoutException: Read timed out at > java.base/java.net.SocketInputStream.socketRead0(Native Method) at > java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115) > at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168) at > java.base/java.net.SocketInputStream.read(SocketInputStream.java:140) at > java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:448) > at > java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:68) > at > java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1104) > at > java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:823) > at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:252) > at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:271) > at com.unboundid.asn1.ASN1StreamReader.read(ASN1StreamReader.java:1159) at > com.unboundid.asn1.ASN1StreamReader.readType(ASN1StreamReader.java:332) at > com.unboundid.asn1.ASN1StreamReader.beginSequence(ASN1StreamReader.java:1079) > at > com.unboundid.ldap.protocol.LDAPMessage.readLDAPResponseFrom(LDAPMessage.java:1151) > at > com.unboundid.ldap.sdk.LDAPConnectionReader.run(LDAPConnectionReader.java:225) > } > ) > > ConnectionTimeouts were increased. I tried to create a new > truststore/keystore and imported the necessary CA certificate, but that > didn't change a thing. > > What can I do here to get rid of this SocketTimeoutException? > > Best regards > > -- > - 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/6b59ae54-4155-4301-9676-14da47c56624%40apereo.org > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/6b59ae54-4155-4301-9676-14da47c56624%40apereo.org?utm_medium=email&utm_source=footer> > . > -- - 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/CAG9J-Y0rLjVrHgU1u4YWgRiVtL552fE_us33hy4U6ms4DGUFOQ%40mail.gmail.com.
