java.lang.RuntimeException: java.net.ConnectException: Connection timed out: connect

eclipse.org | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Eclipse Community Forums: Lyo ยป HTTP ERROR 500 Problem accessing /OSLC4JStockQuote/stockQuotes. Reason:

    eclipse.org | 8 months ago
    java.lang.RuntimeException: java.net.ConnectException: Connection timed out: connect
  2. 0

    Exception in Connection time out for HttpURLConnection in Java programming

    Stack Overflow | 2 years ago | Sky Leng
    java.net.ConnectException: Connection timed out: connect
  3. 0

    Connection Time out error for Crawler while using Jsoup for crawler

    Stack Overflow | 2 years ago
    java.net.ConnectException: Connection timed out: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error while passing some 80 requests through API for load testing in JMeter.

    Stack Overflow | 2 years ago
    java.net.ConnectException: Connection timed out: connect
  6. 0

    Connection Timed Out in openConnection(proxy)

    Stack Overflow | 2 years ago
    java.net.ConnectException: Connection timed out: connect
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: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    HttpURLConnection.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:529)
    7. sun.net.NetworkClient.doConnect(NetworkClient.java:158)
    8. sun.net.www.http.HttpClient.openServer(HttpClient.java:411)
    9. sun.net.www.http.HttpClient.openServer(HttpClient.java:525)
    10. sun.net.www.http.HttpClient.<init>(HttpClient.java:208)
    11. sun.net.www.http.HttpClient.New(HttpClient.java:291)
    12. sun.net.www.http.HttpClient.New(HttpClient.java:310)
    13. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:987)
    14. sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:923)
    15. sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)
    15 frames
  3. Apache Wink Client
    ResourceImpl.get
    1. org.apache.wink.client.internal.handlers.HttpURLConnectionHandler.processRequest(HttpURLConnectionHandler.java:97)
    2. org.apache.wink.client.internal.handlers.HttpURLConnectionHandler.handle(HttpURLConnectionHandler.java:54)
    3. org.apache.wink.client.internal.handlers.HandlerContextImpl.doChain(HandlerContextImpl.java:52)
    4. org.apache.wink.client.internal.handlers.AcceptHeaderHandler.handle(AcceptHeaderHandler.java:79)
    5. org.apache.wink.client.internal.handlers.HandlerContextImpl.doChain(HandlerContextImpl.java:52)
    6. org.apache.wink.client.internal.ResourceImpl.invoke(ResourceImpl.java:227)
    7. org.apache.wink.client.internal.ResourceImpl.invoke(ResourceImpl.java:189)
    8. org.apache.wink.client.internal.ResourceImpl.invokeNoException(ResourceImpl.java:181)
    9. org.apache.wink.client.internal.ResourceImpl.get(ResourceImpl.java:310)
    9 frames
  4. org.eclipse.lyo
    StockQuoteResource.getStockQuotes
    1. org.eclipse.lyo.oslc4j.stockquote.resources.StockQuoteResource.retrieveStockQuoteInformation(StockQuoteResource.java:232)
    2. org.eclipse.lyo.oslc4j.stockquote.resources.StockQuoteResource.getStockQuotes(StockQuoteResource.java:92)
    2 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  6. Apache Wink Server
    RequestProcessor.handleRequest
    1. org.apache.wink.server.internal.handlers.InvokeMethodHandler.handleRequest(InvokeMethodHandler.java:63)
    2. org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:33)
    3. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    4. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    5. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    6. org.apache.wink.server.internal.handlers.CreateInvocationParametersHandler.handleRequest(CreateInvocationParametersHandler.java:54)
    7. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    8. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    9. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    10. org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleResourceMethod(FindResourceMethodHandler.java:151)
    11. org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:65)
    12. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    13. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    14. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    15. org.apache.wink.server.internal.handlers.FindRootResourceHandler.handleRequest(FindRootResourceHandler.java:95)
    16. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    17. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    18. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    19. org.apache.wink.server.internal.handlers.HeadMethodHandler.handleRequest(HeadMethodHandler.java:53)
    20. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    21. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    22. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    23. org.apache.wink.server.internal.handlers.OptionsMethodHandler.handleRequest(OptionsMethodHandler.java:46)
    24. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    25. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    26. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    27. org.apache.wink.server.internal.handlers.SearchResultHandler.handleRequest(SearchResultHandler.java:33)
    28. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    29. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    30. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    31. org.apache.wink.server.internal.log.ResourceInvocation.handleRequest(ResourceInvocation.java:92)
    32. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    33. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    34. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    35. org.apache.wink.server.internal.log.Requests.handleRequest(Requests.java:76)
    36. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
    37. org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
    38. org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
    39. org.apache.wink.server.handlers.AbstractHandlersChain.run(AbstractHandlersChain.java:48)
    40. org.apache.wink.server.internal.RequestProcessor.handleRequestWithoutFaultBarrier(RequestProcessor.java:207)
    41. org.apache.wink.server.internal.RequestProcessor.handleRequest(RequestProcessor.java:154)
    41 frames
  7. Apache Wink Component Test Support
    RestServlet.service
    1. org.apache.wink.server.internal.servlet.RestServlet.service(RestServlet.java:119)
    1 frame
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    1 frame
  9. Jetty
    AsyncHttpConnection.handle
    1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
    3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
    4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
    5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
    6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
    7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
    8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
    9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
    10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
    11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
    12. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
    13. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
    14. org.eclipse.jetty.server.Server.handle(Server.java:370)
    15. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
    16. org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
    17. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
    18. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
    19. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
    20. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
    20 frames
  10. GWT dev
    SelectChannelEndPoint$1.run
    1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
    2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
    2 frames
  11. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
    2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
    2 frames
  12. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)
    1 frame