[
https://issues.apache.org/jira/browse/HTTPCLIENT-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebb updated HTTPCLIENT-1436:
-----------------------------
Summary: Unable to retrieve binary encoded response from a website using
httpclient 4.3 (was: Unable to retreive binay encoded response from a website
using httpclient 4.3)
> Unable to retrieve binary encoded response from a website using httpclient 4.3
> ------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-1436
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1436
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient
> Affects Versions: 4.3.1
> Environment: Linux Operating System
> Reporter: sanath
>
> I am getting following exception while trying retrieve a binary encoded
> response from a web site using httpclient-4.3
> Exception occured while getting the http response:null
> org.apache.http.client.ClientProtocolException
> at
> org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:188)
> 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:76)
> at com.scraper.SimpleBrowser.get(SimpleBrowser.java:262)
> 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.ClaimUSFoodServiceAgent.getScreen(ClaimUSFoodServiceAgent.java:708)
> at
> com.scraper.agents.claim.web.ClaimUSFoodServiceAutoAgent.getInvoiceNumbers(ClaimUSFoodServiceAutoAgent.java:83)
> at
> com.scraper.agents.base.ClaimAgent.processCheckNumbers(ClaimAgent.java:1844)
> at
> com.scraper.agents.base.ClaimAgent.processAccount(ClaimAgent.java:1722)
> at
> com.scraper.agents.base.ClaimAgent.getSubRequests(ClaimAgent.java:1681)
> at
> com.scraper.agents.base.ClaimAgent.collectAndProcessSubRequests(ClaimAgent.java:1592)
> at
> com.scraper.agents.base.ClaimAgent.getAuthorizedData(ClaimAgent.java:1563)
> at
> com.scraper.agents.base.AuthorizedMultiAgent.getData(AuthorizedMultiAgent.java:295)
> 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)
> Caused by: org.apache.http.HttpException: Unsupported Content-Coding: binary
> at
> org.apache.http.client.protocol.ResponseContentEncoding.process(ResponseContentEncoding.java:98)
> at
> org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:139)
> at
> org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:199)
> 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)
> ... 26 more
> Can you people please help me to get rid of this?
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]