org.apache.http.NoHttpResponseException: The target server failed to respond

GitHub | binh-vu | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Error when import xml file

    GitHub | 9 months ago | binh-vu
    org.apache.http.NoHttpResponseException: The target server failed to respond
  2. 0

    GitHub comment 15#37863720

    GitHub | 3 years ago | dtarima
    org.apache.http.NoHttpResponseException: The target server failed to respond
  3. 0

    HttpClientError: The target server failed to respond

    Stack Overflow | 2 years ago | Balaji V
    org.apache.http.NoHttpResponseException: The target server failed to respond
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
  6. 0

    Sometimes getting NoHttpResponseException from Push API

    GitHub | 4 years ago | rlubbat
    org.apache.http.NoHttpResponseException: The target server failed to respond
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. org.apache.http.NoHttpResponseException

    The target server failed to respond

    at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead()
  2. Apache HttpClient
    DefaultHttpResponseParser.parseHead
    1. org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:95)
    2. org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:62)
    2 frames
  3. Apache Http
    AbstractHttpClientConnection.receiveResponseHeader
    1. org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:254)
    2. org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:289)
    2 frames
  4. Apache HttpClient
    ManagedClientConnectionImpl.receiveResponseHeader
    1. org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:252)
    2. org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:191)
    2 frames
  5. Apache Http
    HttpRequestExecutor.execute
    1. org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:300)
    2. org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:127)
    2 frames
  6. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:716)
    2. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:521)
    3. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
    4. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
    5. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784)
    5 frames
  7. edu.isi.karma
    RequestController.doPost
    1. edu.isi.karma.util.HTTPUtil.invokeHTTPRequest(HTTPUtil.java:102)
    2. edu.isi.karma.util.HTTPUtil.executeHTTPPostRequest(HTTPUtil.java:64)
    3. edu.isi.karma.util.HTTPUtil.executeHTTPPostRequest(HTTPUtil.java:77)
    4. edu.isi.karma.controller.update.WorksheetCleaningUpdate.generateJson(WorksheetCleaningUpdate.java:134)
    5. edu.isi.karma.controller.update.UpdateContainer.generateJson(UpdateContainer.java:87)
    6. edu.isi.karma.controller.update.UpdateContainer.generateJson(UpdateContainer.java:120)
    7. edu.isi.karma.webserver.RequestController.doPost(RequestController.java:79)
    7 frames
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    2 frames
  9. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:698)
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:505)
    3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:138)
    4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:564)
    5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:213)
    6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1096)
    7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:432)
    8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175)
    9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1030)
    10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
    11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:201)
    12. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
    13. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    14. org.eclipse.jetty.server.Server.handle(Server.java:445)
    15. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:268)
    16. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:229)
    17. org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358)
    18. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601)
    19. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532)
    19 frames
  10. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame