OUTjava.net.SocketTimeoutException: Read timed out

GitHub | jubinjacobthomas | 4 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 | 4 months ago | jubinjacobthomas
    OUTjava.net.SocketTimeoutException: Read timed out

    Root Cause Analysis

    1. OUTjava.net.SocketTimeoutException

      Read timed out

      at org.apache.catalina.core.ApplicationFilterChain.doFilter()
    2. 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
    3. Apache Http
      SocketInputBuffer.fillBuffer
      1. org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:82)[httpcore-4.4.5.jar!/:4.4.5]
      1 frame
    4. Java RT
      SocketInputStream.socketRead
      1. java.net.SocketInputStream.socketRead(Unknown Source)[na:1.8.0-internal]
      1 frame
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    6. 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
    7. Apache HttpClient
      ManagedClientConnectionImpl.receiveResponseHeader
      1. org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:259)[httpclient-4.5.2.jar!/:4.5.2]
      2. org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:209)[httpclient-4.5.2.jar!/:4.5.2]
      2 frames
    8. Apache Http
      HttpRequestExecutor.doReceiveResponse
      1. org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:281)[httpcore-4.4.5.jar!/:4.4.5]
      2. org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)[httpcore-4.4.5.jar!/:4.4.5]
      2 frames
    9. Apache HttpClient
      DefaultHttpResponseParser.parseHead
      1. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:488)[httpclient-4.5.2.jar!/:4.5.2]
      2. org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)[httpclient-4.5.2.jar!/:4.5.2]
      3. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)[httpclient-4.5.2.jar!/:4.5.2]
      4. org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)[httpclient-4.5.2.jar!/:4.5.2]
      4 frames
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      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.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      2 frames
    11. Grizzly HTTP
      SocketProcessorBase.run
      1. org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    12. 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
    13. 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
    14. 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
    15. 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
    16. 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.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      3. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      3 frames
    17. Java RT
      ThreadPoolExecutor.runWorker
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[na:1.8.0-internal]
      1 frame
    18. 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
    19. Spring
      HttpPutFormContentFilter.doFilterInternal
      1. org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:89)[spring-web-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
      1 frame
    20. 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
    21. 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
    22. Glassfish Core
      ErrorReportValve.invoke
      1. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      2 frames
    23. Grizzly HTTP
      AbstractProtocol$ConnectionHandler.process
      1. org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    24. Glassfish Core
      StandardWrapperValve.invoke
      1. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)[tomcat-embed-core-8.5.5.jar!/:8.5.5]
      1 frame
    25. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[na:1.8.0-internal]
      1 frame
    26. 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
    27. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)[na:1.8.0-internal]
      1 frame
    28. Spring
      HiddenHttpMethodFilter.doFilterInternal
      1. org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)[spring-web-4.3.3.RELEASE.jar!/:4.3.3.RELEASE]
      1 frame
    29. 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
    30. 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
    31. 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
    32. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)[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
    33. Apache Http
      HttpRequestExecutor.execute
      1. org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)[httpcore-4.4.5.jar!/:4.4.5]
      1 frame
    34. Java RT
      SocketInputStream.socketRead0
      1. java.net.SocketInputStream.socketRead0(Native Method)[na:1.8.0-internal]
      1 frame
    35. Apache HttpClient
      DefaultHttpResponseParser.parseHead
      1. org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:209)[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]
      3. org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)[httpclient-4.5.2.jar!/:4.5.2]
      3 frames
    36. Apache Http
      AbstractSessionInputBuffer.readLine
      1. org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:271)[httpcore-4.4.5.jar!/:4.4.5]
      1 frame
    37. Java RT
      SocketInputStream.read
      1. java.net.SocketInputStream.read(Unknown Source)[na:1.8.0-internal]
      1 frame