Baron, I seem to recall a bug in the JVM with some versions that affected ldap connections. It did not affect us so I really did not pay close attention. If you recently upgraded your java, you might want to look in to this.
Ray On Tue, 2020-05-05 at 17:14 -1000, Baron Fujimoto wrote: Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information. We're running CAS 5.0.10 under Tomcat 8.5.54 with LDAP (389DS) for authentication and attributes. We were previously using Java 1.0.8_212 successfully. However, I recently upgraded the instance to use the current version of Java (251), and after doing so noticed that the LDAP connections quickly begin to time out with the following error: javax.naming.NamingException: LDAP response read timed out, timeout used:-1ms From the CAS login perspective, the user authentications fail. I've empirically determined that this appears to happen with a version of Java 8 higher than 221 (i.e. 231, 241, 251). I dodn't see anything in the JDK release notes for 231 that appear to be relevant. < <https://www.oracle.com/technetwork/java/javase/8u-relnotes-2225394.html> https://www.oracle.com/technetwork/java/javase/8u-relnotes-2225394.html > I've also tried explicitly setting "-Dcom.sun.jndi.ldap.read.timeout=-1" and "-Dcom.sun.jndi.ldap.read.timeout=1800000" java opts when I start the CAS processes with no apparent effect. FWIW, the Tomcat version doesn't seem to matter, and I'm also seeing similar behavior when I attempt the same upgrade in our Grouper deployment. Any suggestions or ideas would be appreciated. -- UH Information Technology Services : Identity & Access Mgmt, Middleware minutas cantorum, minutas balorum, minutas carboratum desendus pantorum -- - Website: <https://apereo.github.io/cas> https://apereo.github.io/cas - Gitter Chatroom: <https://gitter.im/apereo/cas> https://gitter.im/apereo/cas - List Guidelines: <https://goo.gl/1VRrw7> https://goo.gl/1VRrw7 - Contributions: <https://goo.gl/mh7qDG> 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 <mailto:cas-user+unsubscr...@apereo.org> cas-user+unsubscr...@apereo.org . To view this discussion on the web visit <https://groups.google.com/a/apereo.org/d/msgid/cas-user/20200506031443.t5hatfmi6jayjbgm%40MacBook-Pro.local> https://groups.google.com/a/apereo.org/d/msgid/cas-user/20200506031443.t5hatfmi6jayjbgm%40MacBook-Pro.local . -- Ray Bon Programmer Analyst Development Services, University Systems 2507218831 | CLE 019 | r...@uvic.ca<mailto:r...@uvic.ca> I respectfully acknowledge that my place of work is located within the ancestral, traditional and unceded territory of the Songhees, Esquimalt and WSÁNEĆ Nations. -- - 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 cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/947c96e874882cb269ab990bb2e750a4cd6c5353.camel%40uvic.ca.