{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/slack-plugin/issues/51","labels_url":"https://api.github.com/repos/jenkinsci/slack-plugin/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/slack-plugin/issues/51/comments","events_url":"https://api.github.com/repos/jenkinsci/slack-plugin/issues/51/events","html_url":"https://github.com/jenkinsci/slack-plugin/issues/51","id":58698629,"number":51,"title":"Job \"Test Connection\" throws false positive","user":{"login":"Brantone","id":6829820,"avatar_url":"https://avatars.githubusercontent.com/u/6829820?v=3","gravatar_id":"","url":"https://api.github.com/users/Brantone","html_url":"https://github.com/Brantone","followers_url":"https://api.github.com/users/Brantone/followers","following_url":"https://api.github.com/users/Brantone/following{/other_user}","gists_url":"https://api.github.com/users/Brantone/gists{/gist_id}","starred_url":"https://api.github.com/users/Brantone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brantone/subscriptions","organizations_url":"https://api.github.com/users/Brantone/orgs","repos_url":"https://api.github.com/users/Brantone/repos","events_url":"https://api.github.com/users/Brantone/events{/privacy}","received_events_url":"https://api.github.com/users/Brantone/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jenkinsci/slack-plugin/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jenkinsci/slack-plugin/labels/possibly%20fixed%20next%20release","name":"possibly fixed next release","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-02-24T06:24:56Z","updated_at":"2015-05-19T02:35:47Z","closed_at":null,"body":"In  Jenkins Manage configuration , set global values for Slack; however, when going in to a Job that uses Slack, hitting the \"Test Connection\" is says \"Success\" BUT the Jenkins logs show:\r\n\r\n```\r\nFeb 23, 2015 10:03:17 PM INFO jenkins.plugins.slack.StandardSlackService publish\r\nPosting: to on  using https://.slack.com/services/hooks/jenkins-ci?token=: Slack/Jenkins plugin: you're all set. green\r\nFeb 23, 2015 10:03:17 PM WARNING jenkins.plugins.slack.StandardSlackService publish\r\nError posting to Slack\r\njava.net.UnknownHostException: .slack.com\r\n\tat java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)\r\n\tat java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)\r\n\tat java.net.Socket.connect(Socket.java:579)\r\n\tat sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)\r\n\tat sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:451)\r\n\tat sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140)\r\n\tat org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)\r\n\tat org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:127)\r\n\tat org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)\r\n\tat org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)\r\n\tat org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)\r\n\tat org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)\r\n\tat org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)\r\n\tat jenkins.plugins.slack.StandardSlackService.publish(StandardSlackService.java:66)\r\n\tat jenkins.plugins.slack.SlackNotifier$SlackJobProperty$DescriptorImpl.doTestConnection(SlackNotifier.java:358)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)\r\n\tat org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)\r\n\tat org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)\r\n\tat org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)\r\n\tat org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)\r\n\tat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)\r\n\tat org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)\r\n\tat org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)\r\n\tat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)\r\n\tat org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)\r\n\tat org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)\r\n\tat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)\r\n\tat org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)\r\n\tat org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)\r\n\tat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)\r\n\tat org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:249)\r\n\tat org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)\r\n\tat org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)\r\n\tat org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)\r\n\tat org.kohsuke.stapler.Stapler.service(Stapler.java:238)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:848)\r\n\tat org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)\r\n\tat hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)\r\n\tat hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:95)\r\n\tat hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)\r\n\tat hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter$1.call(ScmSyncConfigurationFilter.java:46)\r\n\tat hudson.plugins.scm_sync_configuration.ScmSyncConfigurationDataProvider.provideRequestDuring(ScmSyncConfigurationDataProvider.java:103)\r\n\tat hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter.doFilter(ScmSyncConfigurationFilter.java:42)\r\n\tat hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)\r\n\tat hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)\r\n\tat hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)\r\n\tat hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)\r\n\tat hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)\r\n\tat hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)\r\n\tat hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)\r\n\tat hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)\r\n\tat hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)\r\n\tat org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)\r\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)\r\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)\r\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)\r\n\tat org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)\r\n\tat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)\r\n\tat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)\r\n\tat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)\r\n\tat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)\r\n\tat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)\r\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)\r\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)\r\n\tat org.eclipse.jetty.server.Server.handle(Server.java:370)\r\n\tat org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)\r\n\tat org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)\r\n\tat org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)\r\n\tat org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)\r\n\tat org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)\r\n\tat org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)\r\n\tat org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)\r\n\tat org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)\r\n\tat winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n\r\nFeb 23, 2015 10:03:17 PM INFO jenkins.plugins.slack.StandardSlackService publish\r\nPosting succeeded\r\n```\r\nOn latest 1.7 release"},"comment":{"url":"https://api.github.com/repos/jenkinsci/slack-plugin/issues/comments/103306785","html_url":"https://github.com/jenkinsci/slack-plugin/issues/51#issuecomment-103306785","issue_url":"https://api.github.com/repos/jenkinsci/slack-plugin/issues/51","id":103306785,"user":{"login":"samrocketman","id":875669,"avatar_url":"https://avatars.githubusercontent.com/u/875669?v=3","gravatar_id":"","url":"https://api.github.com/users/samrocketman","html_url":"https://github.com/samrocketman","followers_url":"https://api.github.com/users/samrocketman/followers","following_url":"https://api.github.com/users/samrocketman/following{/other_user}","gists_url":"https://api.github.com/users/samrocketman/gists{/gist_id}","starred_url":"https://api.github.com/users/samrocketman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samrocketman/subscriptions","organizations_url":"https://api.github.com/users/samrocketman/orgs","repos_url":"https://api.github.com/users/samrocketman/repos","events_url":"https://api.github.com/users/samrocketman/events{/privacy}","received_events_url":"https://api.github.com/users/samrocketman/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T02:35:47Z","updated_at":"2015-05-19T02:35:47Z","body":"Hello, 1.8 has been released. Can you please confirm that this bug is fixed for you? My testing shows that it has."}}