Getting below issue while connecting with Active Directory with plugin version 2.25.1.

      java.net.SocketException: Connection reset
      at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186)
      at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
      at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
      at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
      at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
      at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
      at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1506)
      at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1416)
      at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:456)
      at java.base/sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:921)
      at java.base/sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:1291)
      at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
      at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
      at java.naming/com.sun.jndi.ldap.Connection.writeRequest(Connection.java:414)
      at java.naming/com.sun.jndi.ldap.Connection.writeRequest(Connection.java:387)
      at java.naming/com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:359)
      at java.naming/com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:214)

      The same Active directory configurations are working with plugin version 2.16.1

          [JENKINS-68813] Not able to connect with Active directory

          "Connection reset" means the AD server has dropped your connection. One reason for that could be that your filter is too broad and it tries to download whole AD contents or its large part. Also check the network connection to the LDAP server.

          Marcin Cieślak added a comment - "Connection reset" means the AD server has dropped your connection. One reason for that could be that your filter is too broad and it tries to download whole AD contents or its large part. Also check the network connection to the LDAP server.

            fbelzunc Félix Belzunce Arcos
            vjayant Jayant Varshney
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: