Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by user1692342
, 1 year ago
org.apache.http.NoHttpResponseException: The target server failed to respond
via Stack Overflow by user1692342
, 1 year ago
org.apache.http.NoHttpResponseException: sd-eureka-01.th.net:8443 failed to respond
via Google Groups by Unknown author, 1 year ago
org.apache.http.conn.HttpHostConnectException: Connection to http://localhost refused
via GitHub by bitsofinfo
, 1 year ago
javax.net.ssl.SSLException: Certificate for <localhost> doesn't match common name of the certificate subject: my-ssl-test
via GitHub by william-tran
, 1 year ago
javax.net.ssl.SSLException: Certificate for <api.google.com> doesn't match any of the subject alternative names: [www.google.com]
via Google Groups by Unknown author, 1 year ago
org.apache.http.conn.HttpHostConnectException: Connection to http://localhost refused
org.apache.http.NoHttpResponseException: The target server failed to respond	at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:95)	at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:62)	at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:254)	at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:289)	at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:252)	at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219)	at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:300)	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:127)	at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:712)	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:517)	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:827)	at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:173)	at com.sun.jersey.api.client.filter.GZIPContentEncodingFilter.handle(GZIPContentEncodingFilter.java:123)	at com.netflix.discovery.EurekaIdentityHeaderFilter.handle(EurekaIdentityHeaderFilter.java:28)	at com.sun.jersey.api.client.Client.handle(Client.java:652)	at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)	at com.sun.jersey.api.client.WebResource.put(WebResource.java:213)	at com.netflix.discovery.DiscoveryClient.makeRemoteCall(DiscoveryClient.java:1104)	at com.netflix.discovery.DiscoveryClient.makeRemoteCall(DiscoveryClient.java:1061)	at com.netflix.discovery.DiscoveryClient.access$500(DiscoveryClient.java:110)	at com.netflix.discovery.DiscoveryClient$HeartbeatThread.run(DiscoveryClient.java:1605)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:267)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)	at java.lang.Thread.run(Thread.java:785)