com.sun.jersey.api.client.ClientHandlerException: org.apache.http.NoHttpResponseException: The target server failed to respond

Stack Overflow | user1692342 | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Eureka - Can't get a response - Can't contact any eureka nodes | Can access from my browser

    Stack Overflow | 7 months ago | user1692342
    com.sun.jersey.api.client.ClientHandlerException: org.apache.http.NoHttpResponseException: The target server failed to respond
  2. 0

    Issue 6732 in selenium: Selenium Grid SEVERE: cannot forward the request The target server failed to respond

    Google Groups | 3 years ago | sele...@googlecode.com
    org.apache.http.NoHttpResponseException: The target server failed to respond
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

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
    AbstractClientConnAdapter.receiveResponseHeader
    1. org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:252)
    2. org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219)
    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:712)
    2. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:517)
    3. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
    4. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:827)
    4 frames
  7. Jersey Apache HTTP Client 4.x
    ApacheHttpClient4Handler.handle
    1. com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)
    1 frame
  8. jersey-client
    GZIPContentEncodingFilter.handle
    1. com.sun.jersey.api.client.filter.GZIPContentEncodingFilter.handle(GZIPContentEncodingFilter.java:123)
    1 frame
  9. eureka-client
    EurekaIdentityHeaderFilter.handle
    1. com.netflix.discovery.EurekaIdentityHeaderFilter.handle(EurekaIdentityHeaderFilter.java:28)
    1 frame
  10. jersey-client
    WebResource.put
    1. com.sun.jersey.api.client.Client.handle(Client.java:652)
    2. com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)
    3. com.sun.jersey.api.client.WebResource.put(WebResource.java:213)
    3 frames
  11. eureka-client
    DiscoveryClient$HeartbeatThread.run
    1. com.netflix.discovery.DiscoveryClient.makeRemoteCall(DiscoveryClient.java:1104)
    2. com.netflix.discovery.DiscoveryClient.makeRemoteCall(DiscoveryClient.java:1061)
    3. com.netflix.discovery.DiscoveryClient.access$500(DiscoveryClient.java:110)
    4. com.netflix.discovery.DiscoveryClient$HeartbeatThread.run(DiscoveryClient.java:1605)
    4 frames
  12. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:267)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
    5. java.lang.Thread.run(Thread.java:785)
    5 frames