java.net.ConnectException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if your MongoDB is available.


rp
tip

host port isnt set

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • After performing a fresh install on a Linux machine behind a proxy, the app starts up fine but then the UI hangs once an AJAX request is made. The UI becomes responsive after a few minutes again and then AJAX requests work fine, though if AJAX requests keep being made before the first one completes then it appears things queue up and the server remains hung even longer. Here's the interesting stuff from the main log file (going to the home page and trying to log in): 2008-12-30 12:32:33,194 [DEBUG] (o.a.w.s.RepoFilter :80) - Entering request 15409211: /webapp/home.htmlwicket:interface=:0:welcomeBorder:latestLabel::IActivePageBehaviorListener:0:&amp;wicket:ignoreIfNotActive=true&random=0.23915043457884982 2008-12-30 12:32:33,277 [DEBUG] (o.a.c.h.p.DefaultHttpParams:151) - Set parameter http.socket.timeout = 15000 2008-12-30 12:32:33,278 [DEBUG] (o.a.c.h.p.DefaultHttpParams:151) - Set parameter http.method.retry-handler = org.apache.commons.httpclient.DefaultHttpMethodRetryHandler@1efa79f 2008-12-30 12:32:33,291 [DEBUG] (o.a.c.h.HttpConnection:692) - Open connection to service.jfrog.org:80 ... 2008-12-30 12:32:48,718 [DEBUG] (o.a.w.s.RepoFilter :80) - Entering request 13921173: /webapp/login.htmlwicket:interface=:1:loginBorder:loginPanel:buttons:submit::IActivePageBehaviorListener:0:&wicket:ignoreIfNotActive=true&random=0.7070751499486561 2008-12-30 12:35:42,369 [DEBUG] (o.a.c.h.HttpMethodDirector:404) - Closing the connection. 2008-12-30 12:35:42,371 [INFO ] (o.a.c.h.HttpMethodDirector:439) - I/O exception (java.net.ConnectException) caught when processing request: Connection timed out 2008-12-30 12:35:42,389 [DEBUG] (o.a.c.h.HttpMethodDirector:443) - Connection timed out java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) [na:1.5.0_02] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [na:1.5.0_02] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [na:1.5.0_02] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [na:1.5.0_02] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364) [na:1.5.0_02] at java.net.Socket.connect(Socket.java:507) [na:1.5.0_02] at java.net.Socket.connect(Socket.java:457) [na:1.5.0_02] at java.net.Socket.<init>(Socket.java:365) [na:1.5.0_02] at java.net.Socket.<init>(Socket.java:238) [na:1.5.0_02] at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) [commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) [commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) [commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) [commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) [commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) [commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) [commons-httpclient-3.1.jar:na] at org.artifactory.version.VersionInfoServiceImpl.getRemote(VersionInfoServiceImpl.java:140) [artifactory-core-1.3.0-rc-2.jar:na] at org.artifactory.version.VersionInfoServiceImpl.getVersioning(VersionInfoServiceImpl.java:83) [artifactory-core-1.3.0-rc-2.jar:na] at org.artifactory.version.VersionInfoServiceImpl.getLatestVersion(VersionInfoServiceImpl.java:52) [artifactory-core-1.3.0-rc-2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_02] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_02] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_02] at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_02] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) [wicket-ioc-1.3.5.jar:1.3.5] at org.apache.wicket.proxy.$Proxy78.getLatestVersion(Unknown Source) [na:1.3.5] at org.artifactory.webapp.wicket.page.home.WelcomeBorder$1.onTimer(WelcomeBorder.java:111) [classes/:na] at org.apache.wicket.ajax.AbstractAjaxTimerBehavior.respond(AbstractAjaxTimerBehavior.java:155) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200) [wicket-1.3.5.jar:1.3.5] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) [jetty-6.1.14.jar:6.1.14] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:153) [classes/:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:73) [classes/:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) [jetty-6.1.14.jar:6.1.14] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:124) [classes/:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:90) [classes/:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.Server.handle(Server.java:324) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) [jetty-6.1.14.jar:6.1.14] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) [jetty-6.1.14.jar:6.1.14] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451) [jetty-util-6.1.14.jar:6.1.14] 2008-12-30 12:35:42,423 [INFO ] (o.a.c.h.HttpMethodDirector:445) - Retrying request 2008-12-30 12:35:42,424 [DEBUG] (o.a.c.h.HttpConnection:692) - Open connection to service.jfrog.org:80 2008-12-30 12:38:51,400 [DEBUG] (o.a.c.h.HttpMethodDirector:404) - Closing the connection. 2008-12-30 12:38:51,401 [DEBUG] (o.a.c.h.HttpMethodDirector:434) - Method retry handler returned false. Automatic recovery will not be attempted 2008-12-30 12:38:51,402 [DEBUG] (o.a.c.h.HttpConnection:1178) - Releasing connection back to connection manager. 2008-12-30 12:38:51,429 [DEBUG] (o.a.w.s.RepoFilter :157) - Exiting request 15409211: /webapp/home.htmlwicket:interface=:0:welcomeBorder:latestLabel::IActivePageBehaviorListener:0:&amp;wicket:ignoreIfNotActive=true&random=0.23915043457884982 ... 2008-12-30 12:38:51,566 [DEBUG] (o.a.w.s.RepoFilter :157) - Exiting request 13921173: /webapp/login.htmlwicket:interface=:1:loginBorder:loginPanel:buttons:submit::IActivePageBehaviorListener:0:&wicket:ignoreIfNotActive=true&random=0.7070751499486561 It looks like Wicket might queue up all AJAX requests for a single browser session, and thus no AJAX requests work until that initial latestLabel request finishes. The reason that particular request is taking forever is likely because my machine is behind a proxy (or service.jfrog.org is slow) and the HTTP request being made is using the default 3min timeout (you're calling setSoTimeout on HttpClientParams in VersionInfoServiceImpl, but not the more important setConnectionTimeout) along with a retry.
    via by Matthew Lieder,
  • After performing a fresh install on a Linux machine behind a proxy, the app starts up fine but then the UI hangs once an AJAX request is made. The UI becomes responsive after a few minutes again and then AJAX requests work fine, though if AJAX requests keep being made before the first one completes then it appears things queue up and the server remains hung even longer. Here's the interesting stuff from the main log file (going to the home page and trying to log in): 2008-12-30 12:32:33,194 [DEBUG] (o.a.w.s.RepoFilter :80) - Entering request 15409211: /webapp/home.htmlwicket:interface=:0:welcomeBorder:latestLabel::IActivePageBehaviorListener:0:&amp;wicket:ignoreIfNotActive=true&random=0.23915043457884982 2008-12-30 12:32:33,277 [DEBUG] (o.a.c.h.p.DefaultHttpParams:151) - Set parameter http.socket.timeout = 15000 2008-12-30 12:32:33,278 [DEBUG] (o.a.c.h.p.DefaultHttpParams:151) - Set parameter http.method.retry-handler = org.apache.commons.httpclient.DefaultHttpMethodRetryHandler@1efa79f 2008-12-30 12:32:33,291 [DEBUG] (o.a.c.h.HttpConnection:692) - Open connection to service.jfrog.org:80 ... 2008-12-30 12:32:48,718 [DEBUG] (o.a.w.s.RepoFilter :80) - Entering request 13921173: /webapp/login.htmlwicket:interface=:1:loginBorder:loginPanel:buttons:submit::IActivePageBehaviorListener:0:&wicket:ignoreIfNotActive=true&random=0.7070751499486561 2008-12-30 12:35:42,369 [DEBUG] (o.a.c.h.HttpMethodDirector:404) - Closing the connection. 2008-12-30 12:35:42,371 [INFO ] (o.a.c.h.HttpMethodDirector:439) - I/O exception (java.net.ConnectException) caught when processing request: Connection timed out 2008-12-30 12:35:42,389 [DEBUG] (o.a.c.h.HttpMethodDirector:443) - Connection timed out java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) [na:1.5.0_02] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [na:1.5.0_02] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [na:1.5.0_02] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [na:1.5.0_02] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364) [na:1.5.0_02] at java.net.Socket.connect(Socket.java:507) [na:1.5.0_02] at java.net.Socket.connect(Socket.java:457) [na:1.5.0_02] at java.net.Socket.<init>(Socket.java:365) [na:1.5.0_02] at java.net.Socket.<init>(Socket.java:238) [na:1.5.0_02] at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) [commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) [commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) [commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) [commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) [commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) [commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) [commons-httpclient-3.1.jar:na] at org.artifactory.version.VersionInfoServiceImpl.getRemote(VersionInfoServiceImpl.java:140) [artifactory-core-1.3.0-rc-2.jar:na] at org.artifactory.version.VersionInfoServiceImpl.getVersioning(VersionInfoServiceImpl.java:83) [artifactory-core-1.3.0-rc-2.jar:na] at org.artifactory.version.VersionInfoServiceImpl.getLatestVersion(VersionInfoServiceImpl.java:52) [artifactory-core-1.3.0-rc-2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_02] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_02] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_02] at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_02] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) [wicket-ioc-1.3.5.jar:1.3.5] at org.apache.wicket.proxy.$Proxy78.getLatestVersion(Unknown Source) [na:1.3.5] at org.artifactory.webapp.wicket.page.home.WelcomeBorder$1.onTimer(WelcomeBorder.java:111) [classes/:na] at org.apache.wicket.ajax.AbstractAjaxTimerBehavior.respond(AbstractAjaxTimerBehavior.java:155) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355) [wicket-1.3.5.jar:1.3.5] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200) [wicket-1.3.5.jar:1.3.5] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) [jetty-6.1.14.jar:6.1.14] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:153) [classes/:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:73) [classes/:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) [jetty-6.1.14.jar:6.1.14] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:124) [classes/:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:90) [classes/:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.Server.handle(Server.java:324) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207) [jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403) [jetty-6.1.14.jar:6.1.14] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) [jetty-6.1.14.jar:6.1.14] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451) [jetty-util-6.1.14.jar:6.1.14] 2008-12-30 12:35:42,423 [INFO ] (o.a.c.h.HttpMethodDirector:445) - Retrying request 2008-12-30 12:35:42,424 [DEBUG] (o.a.c.h.HttpConnection:692) - Open connection to service.jfrog.org:80 2008-12-30 12:38:51,400 [DEBUG] (o.a.c.h.HttpMethodDirector:404) - Closing the connection. 2008-12-30 12:38:51,401 [DEBUG] (o.a.c.h.HttpMethodDirector:434) - Method retry handler returned false. Automatic recovery will not be attempted 2008-12-30 12:38:51,402 [DEBUG] (o.a.c.h.HttpConnection:1178) - Releasing connection back to connection manager. 2008-12-30 12:38:51,429 [DEBUG] (o.a.w.s.RepoFilter :157) - Exiting request 15409211: /webapp/home.htmlwicket:interface=:0:welcomeBorder:latestLabel::IActivePageBehaviorListener:0:&amp;wicket:ignoreIfNotActive=true&random=0.23915043457884982 ... 2008-12-30 12:38:51,566 [DEBUG] (o.a.w.s.RepoFilter :157) - Exiting request 13921173: /webapp/login.htmlwicket:interface=:1:loginBorder:loginPanel:buttons:submit::IActivePageBehaviorListener:0:&wicket:ignoreIfNotActive=true&random=0.7070751499486561 It looks like Wicket might queue up all AJAX requests for a single browser session, and thus no AJAX requests work until that initial latestLabel request finishes. The reason that particular request is taking forever is likely because my machine is behind a proxy (or service.jfrog.org is slow) and the HTTP request being made is using the default 3min timeout (you're calling setSoTimeout on HttpClientParams in VersionInfoServiceImpl, but not the more important setConnectionTimeout) along with a retry.
    via by Matthew Lieder,
  • I have JIRA and Confluence configured to send Trackbacks to each other, however because the server they are hosted on does not have access to the internet, the trackbacks to www.w3.org fail with the following appearing in the log. {noformat} 2/05/2008 14:08:47 com.atlassian.trackback.DefaultTrackbackFinder findPingUrls WARNING: Unable to connect to 'http://www.w3.org/2001/XMLSchema-instance': java.net.ConnectException: Connection timed out java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at java.net.Socket.<init>(Socket.java:366) at java.net.Socket.<init>(Socket.java:239) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at com.atlassian.trackback.TrackbackUtils.getUrlContent(TrackbackUtils.java:149) at com.atlassian.trackback.DefaultTrackbackFinder.findPingUrls(DefaultTrackbackFinder.java:52) at com.atlassian.trackback.DefaultTrackbackFinder.findPingUrls(DefaultTrackbackFinder.java:25) at com.atlassian.trackback.DefaultTrackbackHelper.pingTrackbacksInContent(DefaultTrackbackHelper.java:27) at com.atlassian.jira.trackback.TrackbackMailQueueItem.send(TrackbackMailQueueItem.java:61) at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:68) at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:61) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) 2/05/2008 14:12:32 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out {noformat} I think this might be an issue with Confluence, also, but I'm not seeing any stacktraces that show an issue there, so i'm not sure. Maybe once JIRA is fixed, Confluence will just work? :) The workaround is to configure a docroot with these files and set up a fake hosts entry pointing to localhost. If you have a better workaround, that'd be cool. :)
    via by Nathan Ollerenshaw,
  • This is the error the JIRA logs register when this occurs. The dashboard fails to display. {code} 2009-08-27 13:55:12,245 http-8090-Processor19 ERROR [ext.bamboo.portlets.StatusPortlet] java.net.ConnectException: Connection timed out java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:520) at java.net.Socket.connect(Socket.java:470) at java.net.Socket.<init>(Socket.java:367) at java.net.Socket.<init>(Socket.java:240) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at com.atlassian.jira.plugin.ext.bamboo.portlets.StatusPortlet.retrieveHtml(StatusPortlet.java:84) at com.atlassian.jira.plugin.ext.bamboo.portlets.StatusPortlet.getVelocityParams(StatusPortlet.java:44) at com.atlassian.jira.portal.PortletImpl.getViewHtml(PortletImpl.java:69) at com.atlassian.jira.web.portlet.bean.PortletRenderer.getNormalHtml(PortletRenderer.java:80) at com.atlassian.jira.web.portlet.bean.PortletRenderer.renderPortlet(PortletRenderer.java:60) at org.apache.jsp.secure.views.dashboard_jsp._jspService(dashboard_jsp.java:1262) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) {code} A solution is to disable the Bamboo plugin, remove the portlet from the user's dashboard, and re-enable the Bamboo plugin.
    via by David Yu,
  • Hi I want to schedule a talend job on spagobi. I can Schedule reports execution but whith talend document i get this error in talend engine log: [DefaultQuartzScheduler_Worker-10] 17 Apr 2012 15:01:24,139 ERROR it.eng.spagobi.commons.utilities.ExecutionProxy.exec:354 - Error while executing object java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:249) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at it.eng.spagobi.commons.utilities.ExecutionProxy.exec(ExecutionProxy.java:340) at it.eng.spagobi.tools.scheduler.jobs.ExecuteBIDocumentJob.execute(ExecuteBIDocumentJob.java:316) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    via by Alexandr Ilushenko,
  • h3. Summary Using the Deploy to Tomcat task it takes about 20 minutes to fail the build when the Tomcat server isn't found or the wrong port is set (hence it times out). h3. Steps to Reproduce # Set up a job to use a Deploy to Tomcat task # In the _Tomcat Manager URL_ field use an offline (or nonexistent) Tomcat server and/or a wrong port (on my tests I used http://192.168.10.10:10100/manager/) h3. Expected Results Bamboo quickly identifies the server is down/unresponsive/nonexistent and the task fails quickly. h3. Actual Results Bamboo takes around 20 minutes to fail the task with the following error: {noformat}simple 18-Dec-2015 16:20:28 Starting task 'Tomcat' of type 'com.atlassian.bamboo.plugins.tomcat.bamboo-tomcat-plugin:deployAppTask' simple 18-Dec-2015 16:20:28 Deploying application with war file '/sample.war' to context '/' to server 'http://192.168.10.10:10100/manager/' simple 18-Dec-2015 16:20:28 Confirm expected Tomcat manager location. simple 18-Dec-2015 16:20:28 Trying to retrieve Tomcat details from http://192.168.10.10:10100/manager//text/serverinfo error 18-Dec-2015 16:28:57 Could not list server info from /manager//text/serverinfo error 18-Dec-2015 16:28:57 java.net.ConnectException: Connection timed out error 18-Dec-2015 16:28:57 at java.net.PlainSocketImpl.socketConnect(Native Method) error 18-Dec-2015 16:28:57 at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) error 18-Dec-2015 16:28:57 at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) error 18-Dec-2015 16:28:57 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) error 18-Dec-2015 16:28:57 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) error 18-Dec-2015 16:28:57 at java.net.Socket.connect(Socket.java:589) error 18-Dec-2015 16:28:57 at java.net.Socket.connect(Socket.java:538) error 18-Dec-2015 16:28:57 at java.net.Socket.<init>(Socket.java:434) error 18-Dec-2015 16:28:57 at java.net.Socket.<init>(Socket.java:286) error 18-Dec-2015 16:28:57 at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) error 18-Dec-2015 16:28:57 at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) error 18-Dec-2015 16:28:57 at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) error 18-Dec-2015 16:28:57 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) error 18-Dec-2015 16:28:57 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) error 18-Dec-2015 16:28:57 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) error 18-Dec-2015 16:28:57 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.plugins.tomcat.manager.TomcatApplicationManagerImpl.getTomcatVersionFromServerInfo(TomcatApplicationManagerImpl.java:298) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.plugins.tomcat.manager.TomcatApplicationManagerImpl.confirmTomcatVersionThroughServerInfo(TomcatApplicationManagerImpl.java:255) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.plugins.tomcat.manager.TomcatApplicationManagerImpl.getURLPrefix(TomcatApplicationManagerImpl.java:241) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.plugins.tomcat.manager.TomcatApplicationManagerImpl.deployApplication(TomcatApplicationManagerImpl.java:158) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.plugins.tomcat.tasks.DeployAppTask.execute(DeployAppTask.java:84) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$32(TaskExecutorImpl.java:273) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:202) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:273) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:108) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:74) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:132) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:123) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:122) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 18-Dec-2015 16:28:57 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 18-Dec-2015 16:28:57 at java.lang.Thread.run(Thread.java:745) error 18-Dec-2015 16:28:57 Try likely variations of Tomcat manager location. simple 18-Dec-2015 16:28:57 Trying to retrieve Tomcat details from http://192.168.10.10:10100/manager//serverinfo error 18-Dec-2015 16:37:26 Could not list server info from /manager//serverinfo error 18-Dec-2015 16:37:26 java.net.ConnectException: Connection timed out error 18-Dec-2015 16:37:26 at java.net.PlainSocketImpl.socketConnect(Native Method) error 18-Dec-2015 16:37:26 at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) error 18-Dec-2015 16:37:26 at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) error 18-Dec-2015 16:37:26 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) error 18-Dec-2015 16:37:26 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) error 18-Dec-2015 16:37:26 at java.net.Socket.connect(Socket.java:589) error 18-Dec-2015 16:37:26 at java.net.Socket.connect(Socket.java:538) error 18-Dec-2015 16:37:26 at java.net.Socket.<init>(Socket.java:434) error 18-Dec-2015 16:37:26 at java.net.Socket.<init>(Socket.java:286) error 18-Dec-2015 16:37:26 at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) error 18-Dec-2015 16:37:26 at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) error 18-Dec-2015 16:37:26 at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) error 18-Dec-2015 16:37:26 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) error 18-Dec-2015 16:37:26 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) error 18-Dec-2015 16:37:26 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) error 18-Dec-2015 16:37:26 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.plugins.tomcat.manager.TomcatApplicationManagerImpl.getTomcatVersionFromServerInfo(TomcatApplicationManagerImpl.java:298) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.plugins.tomcat.manager.TomcatApplicationManagerImpl.confirmTomcatVersionThroughServerInfo(TomcatApplicationManagerImpl.java:263) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.plugins.tomcat.manager.TomcatApplicationManagerImpl.getURLPrefix(TomcatApplicationManagerImpl.java:241) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.plugins.tomcat.manager.TomcatApplicationManagerImpl.deployApplication(TomcatApplicationManagerImpl.java:158) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.plugins.tomcat.tasks.DeployAppTask.execute(DeployAppTask.java:84) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$32(TaskExecutorImpl.java:273) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:202) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:273) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:108) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:74) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:132) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:123) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:122) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 18-Dec-2015 16:37:26 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 18-Dec-2015 16:37:26 at java.lang.Thread.run(Thread.java:745) error 18-Dec-2015 16:37:26 Could not detect Tomcat version from server info, trusting configuration of Tomcat 7 or greater error 18-Dec-2015 16:39:33 Could not deploy application: Connection timed out error 18-Dec-2015 16:39:33 java.net.ConnectException: Connection timed out error 18-Dec-2015 16:39:33 at java.net.PlainSocketImpl.socketConnect(Native Method) error 18-Dec-2015 16:39:33 at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) error 18-Dec-2015 16:39:33 at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) error 18-Dec-2015 16:39:33 at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) error 18-Dec-2015 16:39:33 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) error 18-Dec-2015 16:39:33 at java.net.Socket.connect(Socket.java:589) error 18-Dec-2015 16:39:33 at java.net.Socket.connect(Socket.java:538) error 18-Dec-2015 16:39:33 at java.net.Socket.<init>(Socket.java:434) error 18-Dec-2015 16:39:33 at java.net.Socket.<init>(Socket.java:286) error 18-Dec-2015 16:39:33 at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) error 18-Dec-2015 16:39:33 at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) error 18-Dec-2015 16:39:33 at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) error 18-Dec-2015 16:39:33 at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) error 18-Dec-2015 16:39:33 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) error 18-Dec-2015 16:39:33 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) error 18-Dec-2015 16:39:33 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.plugins.tomcat.manager.TomcatApplicationManagerImpl.execute(TomcatApplicationManagerImpl.java:191) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.plugins.tomcat.manager.TomcatApplicationManagerImpl.deployApplication(TomcatApplicationManagerImpl.java:173) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.plugins.tomcat.tasks.DeployAppTask.execute(DeployAppTask.java:84) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$32(TaskExecutorImpl.java:273) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:202) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:273) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:108) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:74) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:196) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:132) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:123) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:122) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:118) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 18-Dec-2015 16:39:33 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 18-Dec-2015 16:39:33 at java.lang.Thread.run(Thread.java:745) simple 18-Dec-2015 16:39:33 Finished task 'Tomcat' with result: Error{noformat} h3. Notes If on my Bamboo set up I choose to have only one image and run only one plan at the time, 20 minutes of waiting is a very long time.
    via by Felipe van Schaik Willig [Atlassian],
    • java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method)[na:1.5.0_02] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)[na:1.5.0_02] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)[na:1.5.0_02] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)[na:1.5.0_02] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)[na:1.5.0_02] at java.net.Socket.connect(Socket.java:507)[na:1.5.0_02] at java.net.Socket.connect(Socket.java:457)[na:1.5.0_02] at java.net.Socket.<init>(Socket.java:365)[na:1.5.0_02] at java.net.Socket.<init>(Socket.java:238)[na:1.5.0_02] at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)[commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)[commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)[commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)[commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)[commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)[commons-httpclient-3.1.jar:na] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)[commons-httpclient-3.1.jar:na] at org.artifactory.version.VersionInfoServiceImpl.getRemote(VersionInfoServiceImpl.java:140)[artifactory-core-1.3.0-rc-2.jar:na] at org.artifactory.version.VersionInfoServiceImpl.getVersioning(VersionInfoServiceImpl.java:83)[artifactory-core-1.3.0-rc-2.jar:na] at org.artifactory.version.VersionInfoServiceImpl.getLatestVersion(VersionInfoServiceImpl.java:52)[artifactory-core-1.3.0-rc-2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.5.0_02] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.5.0_02] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.5.0_02] at java.lang.reflect.Method.invoke(Method.java:585)[na:1.5.0_02] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416)[wicket-ioc-1.3.5.jar:1.3.5] at org.apache.wicket.proxy.$Proxy78.getLatestVersion(Unknown Source)[na:1.3.5] at org.artifactory.webapp.wicket.page.home.WelcomeBorder$1.onTimer(WelcomeBorder.java:111)[classes/:na] at org.apache.wicket.ajax.AbstractAjaxTimerBehavior.respond(AbstractAjaxTimerBehavior.java:155)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)[wicket-1.3.5.jar:1.3.5] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)[wicket-1.3.5.jar:1.3.5] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)[jetty-6.1.14.jar:6.1.14] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:153)[classes/:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:73)[classes/:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)[jetty-6.1.14.jar:6.1.14] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:124)[classes/:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:90)[classes/:na] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.Server.handle(Server.java:324)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)[jetty-6.1.14.jar:6.1.14] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)[jetty-6.1.14.jar:6.1.14] at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)[jetty-6.1.14.jar:6.1.14] at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)[jetty-util-6.1.14.jar:6.1.14]

    Users with the same issue

    stigkj
    4 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    820 more bugmates