hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sanath (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1438) org.apache.http.NoHttpResponseException: The target server failed to respond
Date Tue, 26 Nov 2013 09:22:36 GMT
sanath created HTTPCLIENT-1438:
----------------------------------

             Summary: org.apache.http.NoHttpResponseException: The target server failed to
respond
                 Key: HTTPCLIENT-1438
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1438
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 4.3.1
         Environment: linux with java1.7
            Reporter: sanath


Hi am getting this exception while using httpclient4.1.
So please give me suggestion to resolve below exception.

Exception occured while getting the http response:The target server failed to respond
org.apache.http.NoHttpResponseException: The target server 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:260)
	at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:161)
	at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.http.impl.conn.CPoolProxy.invoke(CPoolProxy.java:138)
	at com.sun.proxy.$Proxy13.receiveResponseHeader(Unknown Source)
	at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:253)
	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:194)
	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:85)
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
	at com.scraper.SimpleBrowserHelper.executeMethod(SimpleBrowserHelper.java:75)
	at com.scraper.SimpleBrowser.get(SimpleBrowser.java:275)
	at com.scraper.GetNavigation.navigate(GetNavigation.java:56)
	at com.scraper.Navigation.execute(Navigation.java:126)
	at com.scraper.agents.base.BaseAgent.navigate(BaseAgent.java:102)
	at com.scraper.agents.claim.web.ClaimTargetAgent.postLogin(ClaimTargetAgent.java:496)
	at com.scraper.agents.claim.web.ClaimTargetAgent.aggregateVCNAorVPCNtypeClaims(ClaimTargetAgent.java:153)
	at com.scraper.agents.claim.web.ClaimTargetAgent.processClaimRequest(ClaimTargetAgent.java:116)
	at com.scraper.agents.claim.web.ClaimTarget2AutoAgent.processClaimRequest(ClaimTarget2AutoAgent.java:237)
	at com.scraper.agents.base.ClaimAgent.getSingleAuthorizedData(ClaimAgent.java:1085)
	at com.scraper.agents.base.AuthorizedMultiAgent.processRequests(AuthorizedMultiAgent.java:135)
	at com.scraper.agents.base.ClaimAgent.collectAndProcessSubRequests(ClaimAgent.java:1601)
	at com.scraper.agents.base.ClaimAgent.getAuthorizedData(ClaimAgent.java:1563)
	at com.scraper.agents.base.AuthorizedMultiAgent.getData(AuthorizedMultiAgent.java:297)
	at com.scraper.SimpleScrapper.executeRequest(SimpleScrapper.java:157)
	at com.scraper.DirectUpdateScheduledAction.run(DirectUpdateScheduledAction.java:162)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:276)
	at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:260)
	at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message