You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Paul Brown <pa...@gmail.com> on 2010/06/17 09:52:37 UTC
intermittent issues with HC 3.1 on Windows loopback
I'm seeing odd issues with HC 3.1 on Windows. The symptom is that the receiving server will intermittently report a chunking error. Background on the scenario:
- JDK 1.6 u20, 32-bit Windows
- HC 3.1 used by SolrJ for ingest from one application deployed as a WAR to Solr deployed as a WAR running in the same web container
- Tried with Jetty 7.1.3 and with Tomcat 6.0.26.
The Tomcat exception is "Invalid chunk header", and the Jetty exception is "bad chunk char: ...".
The same code appears to work perfectly off of Windows, e.g., on Mac OS X.
I have wire traces from some of the failures, and the chunking and counts all look to be in order.
I'm going to turn chunking off, but I'd still like to know what's happening to cause the error. Anyone else seen similar behavior or dealt with it successfully?
Thanks.
-- Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
Re: intermittent issues with HC 3.1 on Windows loopback
Posted by Paul Brown <pa...@gmail.com>.
On Jun 18, 2010, at 3:29 AM, Oleg Kalnichevski wrote:
> We have not had a confirmed case of data corruption by HttpClient for
> many years. The trouble is we no longer support HttpClient 3.1, so I
> personally doubt anyone would be willing to invest time and effort into
> investigating the problem. It is generally recommended to upgrade to HC
> 4.0.
Thanks, Oleg. (And I fully understand.) There are a good number of libraries out there that use it but don't also offer support for HC 4. I'll probably end up writing it for SolrJ and contribute it back.
-- Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org
Re: intermittent issues with HC 3.1 on Windows loopback
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Thu, 2010-06-17 at 00:52 -0700, Paul Brown wrote:
> I'm seeing odd issues with HC 3.1 on Windows. The symptom is that the receiving server will intermittently report a chunking error. Background on the scenario:
>
> - JDK 1.6 u20, 32-bit Windows
> - HC 3.1 used by SolrJ for ingest from one application deployed as a WAR to Solr deployed as a WAR running in the same web container
> - Tried with Jetty 7.1.3 and with Tomcat 6.0.26.
>
> The Tomcat exception is "Invalid chunk header", and the Jetty exception is "bad chunk char: ...".
>
> The same code appears to work perfectly off of Windows, e.g., on Mac OS X.
>
> I have wire traces from some of the failures, and the chunking and counts all look to be in order.
>
> I'm going to turn chunking off, but I'd still like to know what's happening to cause the error. Anyone else seen similar behavior or dealt with it successfully?
>
> Thanks.
>
> -- Paul
Paul
We have not had a confirmed case of data corruption by HttpClient for
many years. The trouble is we no longer support HttpClient 3.1, so I
personally doubt anyone would be willing to invest time and effort into
investigating the problem. It is generally recommended to upgrade to HC
4.0.
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org