java.net.ConnectException: Connection timed out: connect]

shiro-user | jayn | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Shiro AD Authorization causing java.net.ConnectException

    shiro-user | 2 years ago | jayn
    java.net.ConnectException: Connection timed out: connect]
  2. 0

    Shiro AD Authorization causing java.net.ConnectException

    shiro-user | 2 years ago | jayn
    java.net.ConnectException: Connection timed out: connect]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.ConnectException

      Connection timed out: connect]

      at com.sun.jndi.ldap.LdapReferralContext.<init>()
    2. Java RT
      InitialDirContext.search
      1. com.sun.jndi.ldap.LdapReferralContext.<init>(LdapReferralContext.java:95)
      2. com.sun.jndi.ldap.LdapReferralException.getReferralContext(LdapReferralException.java:150)
      3. com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1861)
      4. com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1769)
      5. com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1786)
      6. com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:418)
      7. com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:396)
      8. com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:378)
      9. javax.naming.directory.InitialDirContext.search(InitialDirContext.java:286)
      9 frames
    3. Shiro
      AbstractLdapRealm.doGetAuthorizationInfo
      1. org.apache.shiro.realm.activedirectory.ActiveDirectoryRealm.getRoleNamesForUser(ActiveDirectoryRealm.java:174)
      2. org.apache.shiro.realm.activedirectory.ActiveDirectoryRealm.queryForAuthorizationInfo(ActiveDirectoryRealm.java:146)
      3. org.apache.shiro.realm.ldap.AbstractLdapRealm.doGetAuthorizationInfo(AbstractLdapRealm.java:207)
      3 frames