{"action":"created","issue":{"url":"https://api.github.com/repos/gocd/gocd-ldap-authentication-plugin/issues/40","repository_url":"https://api.github.com/repos/gocd/gocd-ldap-authentication-plugin","labels_url":"https://api.github.com/repos/gocd/gocd-ldap-authentication-plugin/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/gocd/gocd-ldap-authentication-plugin/issues/40/comments","events_url":"https://api.github.com/repos/gocd/gocd-ldap-authentication-plugin/issues/40/events","html_url":"https://github.com/gocd/gocd-ldap-authentication-plugin/issues/40","id":336425917,"node_id":"MDU6SXNzdWUzMzY0MjU5MTc=","number":40,"title":"[Verify Connection] Verify connection failed with errors","user":{"login":"sudhagarc","id":3543343,"node_id":"MDQ6VXNlcjM1NDMzNDM=","avatar_url":"https://avatars2.githubusercontent.com/u/3543343?v=4","gravatar_id":"","url":"https://api.github.com/users/sudhagarc","html_url":"https://github.com/sudhagarc","followers_url":"https://api.github.com/users/sudhagarc/followers","following_url":"https://api.github.com/users/sudhagarc/following{/other_user}","gists_url":"https://api.github.com/users/sudhagarc/gists{/gist_id}","starred_url":"https://api.github.com/users/sudhagarc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudhagarc/subscriptions","organizations_url":"https://api.github.com/users/sudhagarc/orgs","repos_url":"https://api.github.com/users/sudhagarc/repos","events_url":"https://api.github.com/users/sudhagarc/events{/privacy}","received_events_url":"https://api.github.com/users/sudhagarc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-27T23:48:17Z","updated_at":"2018-06-28T03:50:42Z","closed_at":null,"author_association":"NONE","body":"I'm running into the following error when I do \"Check connection\" for my corporate LDAP authentication. Proper CA certs are installed. For e.g., ldapsearch on the same host with similar parameters works fine. I'm not sure whether I'm overlooking something. Stack trace is attached too. I would appreciate any support in resolving the issue. Please feel free to let me know if additional information is required.\r\n\r\n```\r\n2018-06-27 16:43:45,090 ERROR [qtp662822946-27] LdapPlugin:128 - [Verify Connection] Verify connection failed with errors.\r\njavax.naming.CommunicationException: ldap.thefacebook.com:636\r\n        at com.sun.jndi.ldap.Connection.<init>(Connection.java:216)\r\n        at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:137)\r\n        at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1615)\r\n        at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2749)\r\n        at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:319)\r\n        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192)\r\n        at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210)\r\n        at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153)\r\n        at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83)\r\n        at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)\r\n        at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)\r\n        at javax.naming.InitialContext.init(InitialContext.java:244)\r\n        at javax.naming.InitialContext.<init>(InitialContext.java:216)\r\n        at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:101)\r\n        at cd.go.framework.ldap.Ldap.getDirContext(Ldap.java:103)\r\n        at cd.go.framework.ldap.Ldap.authenticate(Ldap.java:158)\r\n        at cd.go.framework.ldap.Ldap.validate(Ldap.java:162)\r\n        at cd.go.authentication.ldap.executor.VerifyConnectionRequestExecutor.verifyConnection(VerifyConnectionRequestExecutor.java:75)\r\n        at cd.go.authentication.ldap.executor.VerifyConnectionRequestExecutor.execute(VerifyConnectionRequestExecutor.java:62)\r\n        at cd.go.authentication.ldap.LdapPlugin.handle(LdapPlugin.java:67)\r\n        at com.thoughtworks.go.plugin.infra.DefaultPluginManager.lambda$submitTo$0(DefaultPluginManager.java:143)\r\n        at com.thoughtworks.go.plugin.infra.FelixGoPluginOSGiFramework.executeActionOnTheService(FelixGoPluginOSGiFramework.java:219)\r\n        at com.thoughtworks.go.plugin.infra.FelixGoPluginOSGiFramework.doOn(FelixGoPluginOSGiFramework.java:202)\r\n        at com.thoughtworks.go.plugin.infra.DefaultPluginManager.submitTo(DefaultPluginManager.java:140)\r\n        at com.thoughtworks.go.plugin.access.PluginRequestHelper.submitRequest(PluginRequestHelper.java:48)\r\n        at com.thoughtworks.go.plugin.access.authorization.AuthorizationExtension.verifyConnection(AuthorizationExtension.java:105)\r\n        at com.thoughtworks.go.server.service.SecurityAuthConfigService.verifyConnection(SecurityAuthConfigService.java:85)\r\n<..snip..>\r\n```"},"comment":{"url":"https://api.github.com/repos/gocd/gocd-ldap-authentication-plugin/issues/comments/400902426","html_url":"https://github.com/gocd/gocd-ldap-authentication-plugin/issues/40#issuecomment-400902426","issue_url":"https://api.github.com/repos/gocd/gocd-ldap-authentication-plugin/issues/40","id":400902426,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDkwMjQyNg==","user":{"login":"bdpiparva","id":7871209,"node_id":"MDQ6VXNlcjc4NzEyMDk=","avatar_url":"https://avatars3.githubusercontent.com/u/7871209?v=4","gravatar_id":"","url":"https://api.github.com/users/bdpiparva","html_url":"https://github.com/bdpiparva","followers_url":"https://api.github.com/users/bdpiparva/followers","following_url":"https://api.github.com/users/bdpiparva/following{/other_user}","gists_url":"https://api.github.com/users/bdpiparva/gists{/gist_id}","starred_url":"https://api.github.com/users/bdpiparva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdpiparva/subscriptions","organizations_url":"https://api.github.com/users/bdpiparva/orgs","repos_url":"https://api.github.com/users/bdpiparva/repos","events_url":"https://api.github.com/users/bdpiparva/events{/privacy}","received_events_url":"https://api.github.com/users/bdpiparva/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T03:50:42Z","updated_at":"2018-06-28T03:50:42Z","author_association":"CONTRIBUTOR","body":"@sudhagarc -- Please can you provide you LDAP AuthConfig(Make sure to mask sensitive information init). Just wanted to check if there is any syntactical error which is causing the issue."}}
{"actor":{"display_login":"bdpiparva"}}