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

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 Aishwarya Krishnan
, 2 years ago
via GitHub by dhirendragupta
, 1 year ago
The target server failed to respond
via Stack Overflow by Anonymous
, 10 months ago
via Stack Overflow by Anonymous
, 10 months ago
via GitHub by yuriyz
, 1 year ago
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.io.AbstractMessageParser.parse(AbstractMessageParser.java:254)
at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:252)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:300)
at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:715)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:520)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(HTTPHC4Impl.java:517)
at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:331)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:74)
at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1146)
at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:434)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

173 times, 2 hours ago
4 times, 1 day ago
15 times, 4 days ago
2 times, 1 week ago
29 times, 3 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.