org.springframework.ldap.CommunicationException: myazuread.cloudapp.net:389; nested exception is javax.naming.CommunicationException: myazuread.cloudapp.net:389 [Root exception is java.net.UnknownHostException: myazuread.cloudapp.net]

GitHub | spring-issuemaster | 2 years ago
  1. 0

    [SEC-2664] ActiveDirectoryLdapAuthenticationProvider should wrap communication exceptions in InternalAuthenticationServiceException - Spring JIRA

    spring.io | 1 year ago
    org.springframework.ldap.CommunicationException: myazuread.cloudapp.net:389; nested exception is javax.naming.CommunicationException: myazuread.cloudapp.net:389
  2. 0

    SEC-2664: ActiveDirectoryLdapAuthenticationProvider should wrap communication exceptions in InternalAuthenticationServiceException

    GitHub | 2 years ago | spring-issuemaster
    org.springframework.ldap.CommunicationException: myazuread.cloudapp.net:389; nested exception is javax.naming.CommunicationException: myazuread.cloudapp.net:389 [Root exception is java.net.UnknownHostException: myazuread.cloudapp.net]
  3. 0

    ClassNotFoundException when using custom SSLSocketFactory

    Stack Overflow | 5 years ago | Jagadish G
    javax.naming.CommunicationException: 192.168.100.22:636 [Root exception is java.lang.ClassNotFoundException: com/testing/diraccess/service/ActiveDirectory$TestSSLFactory]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    LDAP Synchronization Connector - Bug #27: Connection on ldaps:// URI - LSC

    lsc-project.org | 6 months ago
    javax.naming.CommunicationException: simple bind failed: localhost:389 [Root exception is javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake]
  6. 0

    how to accept self-signed certificates for JNDI/LDAP connections?

    Stack Overflow | 6 years ago | wishihadabettername
    javax.naming.CommunicationException: simple bind failed: ldapserver:636 [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target]

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.UnknownHostException

      myazuread.cloudapp.net

      at java.net.AbstractPlainSocketImpl.connect()
    2. Java RT
      InitialLdapContext.<init>
      1. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
      2. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      3. java.net.Socket.connect(Socket.java:579)
      4. java.net.Socket.connect(Socket.java:528)
      5. java.net.Socket.<init>(Socket.java:425)
      6. java.net.Socket.<init>(Socket.java:208)
      7. com.sun.jndi.ldap.Connection.createSocket(Connection.java:368)
      8. com.sun.jndi.ldap.Connection.<init>(Connection.java:203)
      9. com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:136)
      10. com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1608)
      11. com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2698)
      12. com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:316)
      13. com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193)
      14. com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211)
      15. com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)
      16. com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)
      17. javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
      18. javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
      19. javax.naming.InitialContext.init(InitialContext.java:242)
      20. javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:153)
      20 frames
    3. spring-security-ldap
      AbstractLdapAuthenticationProvider.authenticate
      1. org.springframework.security.ldap.authentication.ad.ActiveDirectoryLdapAuthenticationProvider$ContextFactory.createContext(ActiveDirectoryLdapAuthenticationProvider.java:311)
      2. org.springframework.security.ldap.authentication.ad.ActiveDirectoryLdapAuthenticationProvider.bindAsUser(ActiveDirectoryLdapAuthenticationProvider.java:164)
      3. org.springframework.security.ldap.authentication.ad.ActiveDirectoryLdapAuthenticationProvider.doAuthentication(ActiveDirectoryLdapAuthenticationProvider.java:111)
      4. org.springframework.security.ldap.authentication.AbstractLdapAuthenticationProvider.authenticate(AbstractLdapAuthenticationProvider.java:61)
      4 frames
    4. spring-security-core
      ProviderManager.authenticate
      1. org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156)
      1 frame
    5. Spring Security
      FilterChainProxy.doFilter
      1. org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter.attemptAuthentication(UsernamePasswordAuthenticationFilter.java:94)
      2. org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:194)
      3. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      4. org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
      5. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      6. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
      7. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      8. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
      8 frames
    6. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
      2 frames
    7. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      10 frames
    8. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
      3 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:744)
      3 frames