Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51285

Active Directory plugin does not work with scandic usernames

    Details

    • Type: Bug
    • Status: In Progress (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Ubuntu 16.04
      Git plugin version: 2.8.0
      AD plugin version: 2.6.0
      Jenkins version: 2.107.3
    • Similar Issues:

      Description

      Git plugin with AD does not work correctly with usernames that contain scandic letters such as Ä or Ö.

       

      Please find the following log:

      08:22:59 FATAL: hudson.plugins.active_directory.CacheAuthenticationException: Authentication failed because there was a problem caching user Petri Sönkäinen; nested exception is java.util.concurrent.ExecutionException: javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C0906E8, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1db1]; remaining name 'DC=company,DC=com'
      08:22:59 javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C0906E8, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1db1]; remaining name 'DC=company,DC=com'
      08:22:59 	at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3194)
      08:22:59 	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3100)
      08:22:59 	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2891)
      08:22:59 	at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1846)
      08:22:59 	at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1769)
      08:22:59 	at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1786)
      08:22:59 	at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:418)
      08:22:59 	at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:396)
      08:22:59 	at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:378)
      08:22:59 	at hudson.plugins.active_directory.LDAPSearchBuilder.search(LDAPSearchBuilder.java:120)
      08:22:59 	at hudson.plugins.active_directory.LDAPSearchBuilder.searchOne(LDAPSearchBuilder.java:85)
      08:22:59 	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$1.call(ActiveDirectoryUnixAuthenticationProvider.java:386)
      08:22:59 	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$1.call(ActiveDirectoryUnixAuthenticationProvider.java:341)
      08:22:59 	at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767)
      08:22:59 	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)
      08:22:59 	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)
      08:22:59 Caused: java.util.concurrent.ExecutionException
      08:22:59 	at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:289)
      08:22:59 	at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:276)
      08:22:59 	at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:111)
      08:22:59 	at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:132)
      08:22:59 	at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2381)
      08:22:59 	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2351)
      08:22:59 	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)
      08:22:59 	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)
      08:22:59 	at com.google.common.cache.LocalCache.get(LocalCache.java:3965)
      08:22:59 	at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764)
      08:22:59 	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:341)
      08:22:59 Caused: hudson.plugins.active_directory.CacheAuthenticationException: Authentication failed because there was a problem caching user Petri Sönkäinen; nested exception is java.util.concurrent.ExecutionException: javax.naming.NamingException: [LDAP: error code 1 - 000004DC: LdapErr: DSID-0C0906E8, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1db1]; remaining name 'DC=company,DC=com'
      08:22:59 	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:496)
      08:22:59 	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:304)
      08:22:59 	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:226)
      08:22:59 	at hudson.plugins.active_directory.AbstractActiveDirectoryAuthenticationProvider.loadUserByUsername(AbstractActiveDirectoryAuthenticationProvider.java:55)
      08:22:59 	at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.loadUserByUsername(ActiveDirectorySecurityRealm.java:831)
      08:22:59 	at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:172)
      08:22:59 	at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:161)
      08:22:59 	at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767)
      08:22:59 	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)
      08:22:59 	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)
      08:22:59 	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)
      08:22:59 	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)
      08:22:59 Caused: com.google.common.util.concurrent.UncheckedExecutionException
      08:22:59 	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234)
      08:22:59 	at com.google.common.cache.LocalCache.get(LocalCache.java:3965)
      08:22:59 	at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764)
      08:22:59 	at jenkins.security.UserDetailsCache.loadUserByUsername(UserDetailsCache.java:127)
      08:22:59 	at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1253)
      08:22:59 	at hudson.model.User$CanonicalIdResolver.resolve(User.java:1190)
      08:22:59 	at hudson.model.User.get(User.java:464)
      08:22:59 	at hudson.model.User.get(User.java:431)
      08:22:59 	at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:369)
      08:22:59 	at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:463)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:138)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:133)
      08:22:59 	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
      08:22:59 	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)
      08:22:59 	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
      08:22:59 	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
      08:22:59 	at hudson.model.Run.execute(Run.java:1752)
      08:22:59 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      08:22:59 	at hudson.model.ResourceController.execute(ResourceController.java:97)
      08:22:59 	at hudson.model.Executor.run(Executor.java:429)
      

        Attachments

          Activity

          Hide
          drodil Heikki Hellgren added a comment -

          Works properly when changing security to use LDAP instead AD.

          Show
          drodil Heikki Hellgren added a comment - Works properly when changing security to use LDAP instead AD.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          It's definitely an AD Plugin issues or the issue with your Active Directory settings. Nothing to do with Git Plugin IMO

          Show
          oleg_nenashev Oleg Nenashev added a comment - It's definitely an AD Plugin issues or the issue with your Active Directory settings. Nothing to do with Git Plugin IMO
          Hide
          arbeita Ronny Borchert added a comment - - edited

          With TFS plugin and latest of all version I got this too, seems a connection issue. Our Jenkins is running on Windows Server. I ask our IT and told me that DC was down for this time.

          FATAL: hudson.plugins.active_directory.CacheAuthenticationException: Authentication failed because there was a problem caching user DOMAIN\NAME; nested exception is java.util.concurrent.ExecutionException: javax.naming.CommunicationException: url.url.url.com:3268 [Root exception is java.net.ConnectException: Connection timed out: connect]
          java.net.ConnectException: Connection timed out: connect
          	at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
          	at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
          	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
          	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
          	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
          	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
          	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
          	at java.net.Socket.connect(Socket.java:589)
          	at sun.reflect.GeneratedMethodAccessor644.invoke(Unknown Source)
          	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          	at java.lang.reflect.Method.invoke(Method.java:498)
          	at com.sun.jndi.ldap.Connection.createSocket(Connection.java:350)
          	at com.sun.jndi.ldap.Connection.<init>(Connection.java:203)
          Caused: javax.naming.CommunicationException: url.url.url.com:3268 [Root exception is java.net.ConnectException: Connection timed out: connect]
          	at com.sun.jndi.ldap.Connection.<init>(Connection.java:216)
          	at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:137)
          	at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1615)
          	at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2749)
          	at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319)
          	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)
          	at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:151)
          	at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DescriptorImpl.bind(ActiveDirectorySecurityRealm.java:668)
          	at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DescriptorImpl.bind(ActiveDirectorySecurityRealm.java:599)
          	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$1.call(ActiveDirectoryUnixAuthenticationProvider.java:370)
          	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$1.call(ActiveDirectoryUnixAuthenticationProvider.java:340)
          	at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767)
          	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)
          	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)
          Caused: java.util.concurrent.ExecutionException
          	at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:289)
          	at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:276)
          	at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:111)
          	at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:132)
          	at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2381)
          	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2351)
          	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)
          	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)
          	at com.google.common.cache.LocalCache.get(LocalCache.java:3965)
          	at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764)
          	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:340)
          Caused: hudson.plugins.active_directory.CacheAuthenticationException: Authentication failed because there was a problem caching user DOMAIN\NAME; nested exception is java.util.concurrent.ExecutionException: javax.naming.CommunicationException: url.url.url.com:3268 [Root exception is java.net.ConnectException: Connection timed out: connect]
          	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:502)
          	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:303)
          	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:225)
          	at hudson.plugins.active_directory.AbstractActiveDirectoryAuthenticationProvider.loadUserByUsername(AbstractActiveDirectoryAuthenticationProvider.java:55)
          	at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.loadUserByUsername(ActiveDirectorySecurityRealm.java:866)
          	at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:172)
          	at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:161)
          	at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767)
          	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)
          	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)
          	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)
          	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)
          Caused: com.google.common.util.concurrent.UncheckedExecutionException
          	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234)
          	at com.google.common.cache.LocalCache.get(LocalCache.java:3965)
          	at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764)
          	at jenkins.security.UserDetailsCache.loadUserByUsername(UserDetailsCache.java:127)
          	at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1218)
          	at hudson.model.User$CanonicalIdResolver.resolve(User.java:1159)
          	at hudson.model.User.get(User.java:496)
          	at hudson.model.User.getOrCreateByIdOrFullName(User.java:559)
          	at hudson.model.User.get(User.java:540)
          	at hudson.plugins.tfs.model.TfsUserLookup.find(TfsUserLookup.java:38)
          	at hudson.plugins.tfs.model.Project.convertServerChangeset(Project.java:60)
          	at hudson.plugins.tfs.model.Project.getVCCHistory(Project.java:101)
          	at hudson.plugins.tfs.model.Project.getDetailedHistoryWithoutCloakedPaths(Project.java:225)
          	at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:66)
          	at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:352)
          	at hudson.scm.SCM.checkout(SCM.java:505)
          	at hudson.model.AbstractProject.checkout(AbstractProject.java:1205)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
          	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
          	at com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:148)
          	at hudson.model.Run.execute(Run.java:1853)
          	at com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:76)
          	at hudson.model.ResourceController.execute(ResourceController.java:97)
          	at hudson.model.Executor.run(Executor.java:428)
          

           

          Show
          arbeita Ronny Borchert added a comment - - edited With TFS plugin and latest of all version I got this too, seems a connection issue. Our Jenkins is running on Windows Server. I ask our IT and told me that DC was down for this time. FATAL: hudson.plugins.active_directory.CacheAuthenticationException: Authentication failed because there was a problem caching user DOMAIN\NAME; nested exception is java.util.concurrent.ExecutionException: javax.naming.CommunicationException: url.url.url.com:3268 [Root exception is java.net.ConnectException: Connection timed out: connect] java.net.ConnectException: Connection timed out: connect at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at sun.reflect.GeneratedMethodAccessor644.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.sun.jndi.ldap.Connection.createSocket(Connection.java:350) at com.sun.jndi.ldap.Connection.<init>(Connection.java:203) Caused: javax.naming.CommunicationException: url.url.url.com:3268 [Root exception is java.net.ConnectException: Connection timed out: connect] at com.sun.jndi.ldap.Connection.<init>(Connection.java:216) at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:137) at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1615) at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2749) at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192) at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:151) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DescriptorImpl.bind(ActiveDirectorySecurityRealm.java:668) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DescriptorImpl.bind(ActiveDirectorySecurityRealm.java:599) at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$1.call(ActiveDirectoryUnixAuthenticationProvider.java:370) at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$1.call(ActiveDirectoryUnixAuthenticationProvider.java:340) at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350) Caused: java.util.concurrent.ExecutionException at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:289) at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:276) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:111) at com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:132) at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2381) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2351) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228) at com.google.common.cache.LocalCache.get(LocalCache.java:3965) at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764) at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:340) Caused: hudson.plugins.active_directory.CacheAuthenticationException: Authentication failed because there was a problem caching user DOMAIN\NAME; nested exception is java.util.concurrent.ExecutionException: javax.naming.CommunicationException: url.url.url.com:3268 [Root exception is java.net.ConnectException: Connection timed out: connect] at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:502) at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:303) at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:225) at hudson.plugins.active_directory.AbstractActiveDirectoryAuthenticationProvider.loadUserByUsername(AbstractActiveDirectoryAuthenticationProvider.java:55) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.loadUserByUsername(ActiveDirectorySecurityRealm.java:866) at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:172) at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:161) at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228) Caused: com.google.common.util.concurrent.UncheckedExecutionException at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234) at com.google.common.cache.LocalCache.get(LocalCache.java:3965) at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764) at jenkins.security.UserDetailsCache.loadUserByUsername(UserDetailsCache.java:127) at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1218) at hudson.model.User$CanonicalIdResolver.resolve(User.java:1159) at hudson.model.User.get(User.java:496) at hudson.model.User.getOrCreateByIdOrFullName(User.java:559) at hudson.model.User.get(User.java:540) at hudson.plugins.tfs.model.TfsUserLookup.find(TfsUserLookup.java:38) at hudson.plugins.tfs.model.Project.convertServerChangeset(Project.java:60) at hudson.plugins.tfs.model.Project.getVCCHistory(Project.java:101) at hudson.plugins.tfs.model.Project.getDetailedHistoryWithoutCloakedPaths(Project.java:225) at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:66) at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:352) at hudson.scm.SCM.checkout(SCM.java:505) at hudson.model.AbstractProject.checkout(AbstractProject.java:1205) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:148) at hudson.model.Run.execute(Run.java:1853) at com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:76) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:428)  

            People

            • Assignee:
              fbelzunc Félix Belzunce Arcos
              Reporter:
              drodil Heikki Hellgren
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: