java.net.ConnectException: Connection timed out

Atlassian JIRA | David Yu | 7 years ago
  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 | 7 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 | 7 years ago | David Yu
    java.net.ConnectException: Connection timed out
  3. 0

    HttpClient timeout (proxy firewall) -> locked database

    GitHub | 2 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 | 5 years ago | ionut.andras
    java.net.ConnectException: Connection timed out

  1. michallos 1 times, last 1 week ago
  2. treefolk 2 times, last 4 days ago
  3. linxiaolong 18 times, last 4 weeks ago
  4. Kialandei 1 times, last 1 month ago
  5. DoktorDoener666 41 times, last 3 weeks ago
24 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