OUTjava.net.SocketTimeoutException: Read timed out

GitHub | jubinjacobthomas | 5 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

    GitHub comment 1117#254709409

    GitHub | 5 months ago | jubinjacobthomas
    OUTjava.net.SocketTimeoutException: Read timed out

    Root Cause Analysis

    1. OUTjava.net.SocketTimeoutException

      Read timed out

      at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine()
    2. Apache Http
      SocketInputBuffer.fillBuffer
      1. org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:271)[httpcore-4.4.5.jar!/:4.4.5]
      2. org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:82)[httpcore-4.4.5.jar!/:4.4.5]
      2 frames
    3. Apache HttpClient
      DefaultHttpResponseParser.parseHead
      1. org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)[httpclient-4.5.2.jar!/:4.5.2]
      2. org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)[httpclient-4.5.2.jar!/:4.5.2]
      2 frames
    4. Java RT
      SocketInputStream.socketRead
      1. java.net.SocketInputStream.socketRead(Unknown Source)[na:1.8.0-internal]
      1 frame
    5. Grizzly HTTP
      AbstractProcessorLight.process
      1. org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    6. Apache Http
      HttpRequestExecutor.doReceiveResponse
      1. org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)[httpcore-4.4.5.jar!/:4.4.5]
      1 frame
    7. Grizzly HTTP
      NioEndpoint$SocketProcessor.doRun
      1. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    8. Java RT
      ThreadPoolExecutor.runWorker
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[na:1.8.0-internal]
      1 frame
    9. Glassfish Core
      RemoteIpValve.invoke
      1. org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:677)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    10. Apache HttpClient
      ManagedClientConnectionImpl.receiveResponseHeader
      1. org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:209)[httpclient-4.5.2.jar!/:4.5.2]
      1 frame
    11. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[na:1.8.0-internal]
      1 frame
    12. Apache HttpClient
      CloseableHttpClient.execute
      1. org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:209)[httpclient-4.5.2.jar!/:4.5.2]
      2. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)[httpclient-4.5.2.jar!/:4.5.2]
      2 frames
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    14. Apache Http
      AbstractSessionInputBuffer.fillBuffer
      1. org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:158)[httpcore-4.4.5.jar!/:4.4.5]
      1 frame
    15. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[tomcat-embed-websocket-8.5.5.jar!/:8.5.5]
      2. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)[tomcat-embed-websocket-8.5.5.jar!/:8.5.5]
      2 frames
    16. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)[spring-web-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
      2 frames
    17. Apache Http
      HttpRequestExecutor.execute
      1. org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)[httpcore-4.4.5.jar!/:4.4.5]
      1 frame
    18. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    19. Apache HttpClient
      CloseableHttpClient.execute
      1. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)[httpclient-4.5.2.jar!/:4.5.2]
      1 frame
    20. Glassfish Core
      ApplicationFilterChain.internalDoFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    21. Spring
      CharacterEncodingFilter.doFilterInternal
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)[spring-web-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
      1 frame
    22. Apache HttpClient
      AbstractHttpClient.doExecute
      1. org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)[httpclient-4.5.2.jar!/:4.5.2]
      1 frame
    23. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    24. Spring
      HttpPutFormContentFilter.doFilterInternal
      1. org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)[spring-web-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
      2. org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:89)[spring-web-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
      2 frames
    25. Glassfish Core
      ApplicationFilterChain.internalDoFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    26. org.springframework.cloud
      HystrixDashboardConfiguration$ProxyStreamServlet.doGet
      1. org.springframework.cloud.netflix.hystrix.dashboard.HystrixDashboardConfiguration$ProxyStreamServlet.doGet(HystrixDashboardConfiguration.java:172)[spring-cloud-netflix-hystrix-dashboard-1.2.0.RELEASE.jar!/:1.2.0.RELEASE]
      1 frame
    27. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
      1 frame
    28. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    29. Apache HttpClient
      CloseableHttpClient.execute
      1. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)[httpclient-4.5.2.jar!/:4.5.2]
      1 frame
    30. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      2 frames
    31. Apache HttpClient
      DefaultRequestDirector.execute
      1. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:488)[httpclient-4.5.2.jar!/:4.5.2]
      1 frame
    32. Glassfish Core
      ApplicationFilterChain.internalDoFilter
      1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      2. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      2 frames
    33. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    34. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
      1 frame
    35. Apache HttpClient
      DefaultClientConnection.receiveResponseHeader
      1. org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:259)[httpclient-4.5.2.jar!/:4.5.2]
      1 frame
    36. Glassfish Core
      ApplicationFilterChain.internalDoFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    37. Apache HttpClient
      DefaultRequestDirector.tryExecute
      1. org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:686)[httpclient-4.5.2.jar!/:4.5.2]
      1 frame
    38. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    39. Glassfish Core
      ApplicationFilterChain.internalDoFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      2. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      2 frames
    40. Apache HttpClient
      CloseableHttpClient.execute
      1. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)[httpclient-4.5.2.jar!/:4.5.2]
      1 frame
    41. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    42. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[spring-web-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
      1 frame
    43. Glassfish Core
      AuthenticatorBase.invoke
      1. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    44. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[na:1.8.0-internal]
      1 frame
    45. Glassfish Core
      ErrorReportValve.invoke
      1. org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:677)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      3. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      3 frames
    46. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[na:1.8.0-internal]
      1 frame
    47. Grizzly HTTP
      Http11Processor.service
      1. org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:784)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    48. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    49. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    50. Grizzly HTTP
      AbstractProtocol$ConnectionHandler.process
      1. org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      2. org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      3. org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      3 frames
    51. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      2. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      2 frames
    52. Grizzly HTTP
      NioEndpoint$SocketProcessor.doRun
      1. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    53. Glassfish Core
      StandardHostValve.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    54. Java RT
      ThreadPoolExecutor.runWorker
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[na:1.8.0-internal]
      1 frame