java.net.ConnectException: Connection timed out

Atlassian JIRA | David Yu | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    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.

    Atlassian JIRA | 8 years ago | David Yu
    java.net.ConnectException: Connection timed out
  2. 0

    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.

    Atlassian JIRA | 8 years ago | David Yu
    java.net.ConnectException: Connection timed out
  3. 0

    HttpClient timeout (proxy firewall) -> locked database

    GitHub | 3 years ago | dizzzz
    java.net.ConnectException: Connection timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HTTPClientRA waits too long when trying to connecto to a non existing URL

    Google Groups | 6 years ago | ionut.andras
    java.net.ConnectException: Connection timed out

  1. stigkj 4 times, last 3 months ago
  2. osvzs 2 times, last 6 days ago
  3. Casper 1 times, last 6 days ago
  4. QrCeric 1 times, last 2 weeks ago
  5. poroszd 1 times, last 1 month ago
29 more registered users
65 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection timed out

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:520)
    7. java.net.Socket.connect(Socket.java:470)
    8. java.net.Socket.<init>(Socket.java:367)
    9. java.net.Socket.<init>(Socket.java:240)
    9 frames
  3. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
    2. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121)
    3. org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
    4. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
    5. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
    6. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
    7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
    7 frames
  4. com.atlassian.jira
    PortletRenderer.renderPortlet
    1. com.atlassian.jira.plugin.ext.bamboo.portlets.StatusPortlet.retrieveHtml(StatusPortlet.java:84)
    2. com.atlassian.jira.plugin.ext.bamboo.portlets.StatusPortlet.getVelocityParams(StatusPortlet.java:44)
    3. com.atlassian.jira.portal.PortletImpl.getViewHtml(PortletImpl.java:69)
    4. com.atlassian.jira.web.portlet.bean.PortletRenderer.getNormalHtml(PortletRenderer.java:80)
    5. com.atlassian.jira.web.portlet.bean.PortletRenderer.renderPortlet(PortletRenderer.java:60)
    5 frames
  5. org.apache.jsp
    dashboard_jsp._jspService
    1. org.apache.jsp.secure.views.dashboard_jsp._jspService(dashboard_jsp.java:1262)
    1 frame
  6. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    1 frame
  7. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    1 frame
  8. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    3 frames
  9. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    1 frame