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 GitHub by binh-vu
, 1 year ago
The target server failed to respond
via java-forums.org by Unknown author, 1 year ago
The target server failed to respond
via GitHub by dtarima
, 9 months ago
The target server failed to respond
via Stack Overflow by Unknown author, 2 years 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:716)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:521)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at edu.isi.karma.util.HTTPUtil.invokeHTTPRequest(HTTPUtil.java:102)
at edu.isi.karma.util.HTTPUtil.executeHTTPPostRequest(HTTPUtil.java:64)
at edu.isi.karma.util.HTTPUtil.executeHTTPPostRequest(HTTPUtil.java:77)
at edu.isi.karma.controller.update.WorksheetCleaningUpdate.generateJson(WorksheetCleaningUpdate.java:134)
at edu.isi.karma.controller.update.UpdateContainer.generateJson(UpdateContainer.java:87)
at edu.isi.karma.controller.update.UpdateContainer.generateJson(UpdateContainer.java:120)
at edu.isi.karma.webserver.RequestController.doPost(RequestController.java:79)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:698)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:505)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:138)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:564)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:213)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1096)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:432)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1030)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:201)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:445)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:268)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:229)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

5 times, 1 day ago
173 times, 1 day ago
15 times, 6 days ago
2 times, 1 week ago
29 times, 4 weeks ago

Write tip

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