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 GitHub by pushkarajc
, 1 year ago
org.apache.http.NoHttpResponseException: localhost:56919 failed to respond**
org.apache.http.NoHttpResponseException: localhost:56919 failed to respond	at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:143)	at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)	at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)	at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)	at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)	at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)	at com.codahale.metrics.httpclient.InstrumentedHttpRequestExecutor.execute(InstrumentedHttpRequestExecutor.java:44)	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)	at io.dropwizard.client.DropwizardApacheConnector.apply(DropwizardApacheConnector.java:87)	at io.dropwizard.client.DropwizardApacheConnector.apply(DropwizardApacheConnector.java:109)	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:252)	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:684)	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:681)	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)	at org.glassfish.jersey.internal.Errors.process(Errors.java:228)	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:681)	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:411)	at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:311)	at com.v1.api.resources.UserResourceTest.getAllUsers(UserResourceTest.java:47)