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

Job build failed when one of domain in Active Directory unreachable

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In Action Directory section on Configure global security, I added 3 domain, let said domain A, B, and C. Today, domain B has been down, so users could not login with LDAP account in domain B, that is definitely. But, I have no idea why some build jobs have been failed with error below.

      FATAL: org.acegisecurity.AuthenticationServiceException: Failed to bind to LDAP server with the bind name/password; nested exception is javax.naming.CommunicationException: 192.168.1.3:3268 [Root exception is java.net.SocketTimeoutException: connect timed out]
      java.net.SocketTimeoutException: connect timed out
      	at java.net.PlainSocketImpl.socketConnect(Native Method)
      	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.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      	at java.net.Socket.connect(Socket.java:589)
      	at sun.reflect.GeneratedMethodAccessor10329.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:362)
      	at com.sun.jndi.ldap.Connection.<init>(Connection.java:215)
      

      From the build job configuration, I cannot find any entries related to this domain. Any idea of what might be causing this?

       

        Attachments

          Activity

          Hide
          tiendungitd Dennis Tran added a comment -

          I just facing this issues again.

          14:15:16 FATAL: org.acegisecurity.AuthenticationServiceException: Failed to bind to LDAP server with the bind name/password; nested exception is javax.naming.CommunicationException: adv.aavn.local:3268 [Root exception is java.net.SocketTimeoutException: connect timed out]14:15:16java.net.SocketTimeoutException: connect timed out*14:15:16* at java.net.PlainSocketImpl.socketConnect(Native Method)14:15:16 at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)14:15:16 at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)14:15:16 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)14:15:16 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)14:15:16 at java.net.Socket.connect(Socket.java:589)14:15:16 at sun.reflect.GeneratedMethodAccessor20610.invoke(Unknown Source)14:15:16 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)14:15:16 at java.lang.reflect.Method.invoke(Method.java:498)14:15:16 at com.sun.jndi.ldap.Connection.createSocket(Connection.java:362)14:15:16 at com.sun.jndi.ldap.Connection.<init>(Connection.java:215)14:15:16 Caused: javax.naming.CommunicationException: adv.aavn.local:3268 [Root exception is java.net.SocketTimeoutException: connect timed out]14:15:16 at com.sun.jndi.ldap.Connection.<init>(Connection.java:228)14:15:16 at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:137)14:15:16 at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1615)14:15:16 at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2749)14:15:16 at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319)14:15:16 at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)14:15:16 at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:151)14:15:16 at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DescriptorImpl.bind(ActiveDirectorySecurityRealm.java:668)14:15:16 at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DescriptorImpl.bind(ActiveDirectorySecurityRealm.java:599)14:15:16 at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$1.call(ActiveDirectoryUnixAuthenticationProvider.java:357)14:15:16 Caused: org.acegisecurity.AuthenticationServiceException: Failed to bind to LDAP server with the bind name/password; nested exception is javax.naming.CommunicationException: adv.aavn.local:3268 [Root exception is java.net.SocketTimeoutException: connect timed out]14:15:16 at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$1.call(ActiveDirectoryUnixAuthenticationProvider.java:360)14:15:16 at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$1.call(ActiveDirectoryUnixAuthenticationProvider.java:340)14:15:16 at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767)14:15:16 at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)14:15:16 at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)14:15:16 at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)14:15:16 at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)14:15:16 at com.google.common.cache.LocalCache.get(LocalCache.java:3965)14:15:16 at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764)14:15:16 at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:340)14:15:16 at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:303)14:15:16 at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:225)14:15:16 at hudson.plugins.active_directory.AbstractActiveDirectoryAuthenticationProvider.loadUserByUsername(AbstractActiveDirectoryAuthenticationProvider.java:55)14:15:16 at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.loadUserByUsername(ActiveDirectorySecurityRealm.java:854)14:15:16 at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:172)14:15:16 at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:161)14:15:16 at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767)14:15:16 at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)14:15:16 at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)14:15:16 at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)14:15:16 at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)14:15:16 Caused: com.google.common.util.concurrent.UncheckedExecutionException*14:15:16* at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234)14:15:16 at com.google.common.cache.LocalCache.get(LocalCache.java:3965)14:15:16 at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764)14:15:16 at jenkins.security.UserDetailsCache.loadUserByUsername(UserDetailsCache.java:127)14:15:16 at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1243)14:15:16 at hudson.model.User$CanonicalIdResolver.resolve(User.java:1184)14:15:16 at hudson.model.User.get(User.java:509)14:15:16 at hudson.model.User.get(User.java:479)14:15:16 at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:388)14:15:16 at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:466)14:15:16 at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:138)14:15:16 at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)14:15:16 at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)14:15:16 at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)14:15:16 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)14:15:16 at hudson.model.Run.execute(Run.java:1841)14:15:16 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)14:15:16 at hudson.model.ResourceController.execute(ResourceController.java:97)14:15:16 at hudson.model.Executor.run(Executor.java:429)14:15:46 [Office365connector] Matched status 'FAILURE' for webhook 'null'.14:15:46 Finished: FAILURE
          
          Show
          tiendungitd Dennis Tran added a comment - I just facing this issues again. 14:15:16 FATAL: org.acegisecurity.AuthenticationServiceException: Failed to bind to LDAP server with the bind name/password; nested exception is javax.naming.CommunicationException: adv.aavn.local:3268 [Root exception is java.net.SocketTimeoutException: connect timed out]14:15:16java.net.SocketTimeoutException: connect timed out*14:15:16* at java.net.PlainSocketImpl.socketConnect(Native Method)14:15:16 at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)14:15:16 at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)14:15:16 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)14:15:16 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)14:15:16 at java.net.Socket.connect(Socket.java:589)14:15:16 at sun.reflect.GeneratedMethodAccessor20610.invoke(Unknown Source)14:15:16 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)14:15:16 at java.lang.reflect.Method.invoke(Method.java:498)14:15:16 at com.sun.jndi.ldap.Connection.createSocket(Connection.java:362)14:15:16 at com.sun.jndi.ldap.Connection.<init>(Connection.java:215)14:15:16 Caused: javax.naming.CommunicationException: adv.aavn.local:3268 [Root exception is java.net.SocketTimeoutException: connect timed out]14:15:16 at com.sun.jndi.ldap.Connection.<init>(Connection.java:228)14:15:16 at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:137)14:15:16 at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1615)14:15:16 at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2749)14:15:16 at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319)14:15:16 at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)14:15:16 at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:151)14:15:16 at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DescriptorImpl.bind(ActiveDirectorySecurityRealm.java:668)14:15:16 at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DescriptorImpl.bind(ActiveDirectorySecurityRealm.java:599)14:15:16 at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$1.call(ActiveDirectoryUnixAuthenticationProvider.java:357)14:15:16 Caused: org.acegisecurity.AuthenticationServiceException: Failed to bind to LDAP server with the bind name/password; nested exception is javax.naming.CommunicationException: adv.aavn.local:3268 [Root exception is java.net.SocketTimeoutException: connect timed out]14:15:16 at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$1.call(ActiveDirectoryUnixAuthenticationProvider.java:360)14:15:16 at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$1.call(ActiveDirectoryUnixAuthenticationProvider.java:340)14:15:16 at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767)14:15:16 at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)14:15:16 at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)14:15:16 at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)14:15:16 at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)14:15:16 at com.google.common.cache.LocalCache.get(LocalCache.java:3965)14:15:16 at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764)14:15:16 at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:340)14:15:16 at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:303)14:15:16 at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:225)14:15:16 at hudson.plugins.active_directory.AbstractActiveDirectoryAuthenticationProvider.loadUserByUsername(AbstractActiveDirectoryAuthenticationProvider.java:55)14:15:16 at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.loadUserByUsername(ActiveDirectorySecurityRealm.java:854)14:15:16 at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:172)14:15:16 at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:161)14:15:16 at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767)14:15:16 at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)14:15:16 at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)14:15:16 at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)14:15:16 at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)14:15:16 Caused: com.google.common.util.concurrent.UncheckedExecutionException*14:15:16* at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234)14:15:16 at com.google.common.cache.LocalCache.get(LocalCache.java:3965)14:15:16 at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764)14:15:16 at jenkins.security.UserDetailsCache.loadUserByUsername(UserDetailsCache.java:127)14:15:16 at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1243)14:15:16 at hudson.model.User$CanonicalIdResolver.resolve(User.java:1184)14:15:16 at hudson.model.User.get(User.java:509)14:15:16 at hudson.model.User.get(User.java:479)14:15:16 at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:388)14:15:16 at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:466)14:15:16 at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:138)14:15:16 at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)14:15:16 at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:96)14:15:16 at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)14:15:16 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)14:15:16 at hudson.model.Run.execute(Run.java:1841)14:15:16 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)14:15:16 at hudson.model.ResourceController.execute(ResourceController.java:97)14:15:16 at hudson.model.Executor.run(Executor.java:429)14:15:46 [Office365connector] Matched status 'FAILURE' for webhook ' null ' .14:15:46 Finished: FAILURE
          Hide
          xotabu4 Oleksandr Meleshchuk added a comment -

          I'm having exactly the same issue on the latest Jenkins build version.

          Message :Jenkins build failedhudson.remoting.ProxyException: java.net.UnknownHostException: xx.xxxxx.xx
          	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
          	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
          	at java.net.Socket.connect(Socket.java:607)
          	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          	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:360)
          	at com.sun.jndi.ldap.Connection.<init>(Connection.java:213)
          Caused: hudson.remoting.ProxyException: javax.naming.CommunicationException: xx.xxxxx.xx:3268 [Root exception is java.net.UnknownHostException: xx.xxxxx.xx]
          	at com.sun.jndi.ldap.Connection.<init>(Connection.java:226)
          	at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:137)
          	at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1609)
          	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:357)
          Caused: hudson.remoting.ProxyException: org.acegisecurity.AuthenticationServiceException: Failed to bind to LDAP server with the bind name/password; nested exception is javax.naming.CommunicationException: xx.xxxxx.xx:3268 [Root exception is java.net.UnknownHostException: xx.xxxxx.xx]
          	at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$1.call(ActiveDirectoryUnixAuthenticationProvider.java:360)
          	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)
          	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)
          	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: hudson.remoting.ProxyException: com.google.common.util.concurrent.UncheckedExecutionException: org.acegisecurity.AuthenticationServiceException: Failed to bind to LDAP server with the bind name/password; nested exception is javax.naming.CommunicationException: xx.xxxxx.xx:3268 [Root exception is java.net.UnknownHostException: xx.xxxxx.xx]
          	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:1212)
          	at hudson.model.User$CanonicalIdResolver.resolve(User.java:1153)
          	at hudson.model.User.get(User.java:495)
          	at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:447)
          	at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:538)
          	at io.jenkins.blueocean.autofavorite.FavoritingScmListener.onCheckout(FavoritingScmListener.java:105)
          	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:150)
          	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:93)
          	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:80)
          	at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
          	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
          	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          	at java.lang.Thread.run(Thread.java:748)
          Finished: FAILURE
          Show
          xotabu4 Oleksandr Meleshchuk added a comment - I'm having exactly the same issue on the latest Jenkins build version. Message :Jenkins build failedhudson.remoting.ProxyException: java.net.UnknownHostException: xx.xxxxx.xx at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:607) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 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:360) at com.sun.jndi.ldap.Connection.<init>(Connection.java:213) Caused: hudson.remoting.ProxyException: javax.naming.CommunicationException: xx.xxxxx.xx:3268 [Root exception is java.net.UnknownHostException: xx.xxxxx.xx] at com.sun.jndi.ldap.Connection.<init>(Connection.java:226) at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:137) at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1609) 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:357) Caused: hudson.remoting.ProxyException: org.acegisecurity.AuthenticationServiceException: Failed to bind to LDAP server with the bind name/password; nested exception is javax.naming.CommunicationException: xx.xxxxx.xx:3268 [Root exception is java.net.UnknownHostException: xx.xxxxx.xx] at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$1.call(ActiveDirectoryUnixAuthenticationProvider.java:360) 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) 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) 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: hudson.remoting.ProxyException: com.google.common.util.concurrent.UncheckedExecutionException: org.acegisecurity.AuthenticationServiceException: Failed to bind to LDAP server with the bind name/password; nested exception is javax.naming.CommunicationException: xx.xxxxx.xx:3268 [Root exception is java.net.UnknownHostException: xx.xxxxx.xx] 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:1212) at hudson.model.User$CanonicalIdResolver.resolve(User.java:1153) at hudson.model.User.get(User.java:495) at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:447) at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:538) at io.jenkins.blueocean.autofavorite.FavoritingScmListener.onCheckout(FavoritingScmListener.java:105) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:150) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:93) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:80) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Finished: FAILURE

            People

            Assignee:
            fbelzunc Félix Belzunce Arcos
            Reporter:
            tiendungitd Dennis Tran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: