Looking at CONNECTORS-661, the fix to this was to enable expect-continue. The current code still does this, so clearly it's not working as expected. I'll post to the HTTPCLIENT list for answers. In the meantime, I think we should open a ticket.
Karl On Wed, May 21, 2014 at 8:35 AM, Karl Wright <[email protected]> wrote: > Hi Erlend, > > Looking at the log you provided, it's missing critical information, namely > what ManifoldCF is sending to your server. So in its current form it's not > very helpful. I can see that there are two 401 responses, but that's about > it. > > Karl > > > > On Wed, May 21, 2014 at 6:39 AM, Erlend Garåsen > <[email protected]>wrote: > >> >> I'm getting the following error after I upgraded to version 1.6. I think >> HttpClient is the source of the problem and that the following ticket >> describes the issue in detail: >> https://issues.apache.org/jira/browse/CONNECTORS-661 >> >> I have turned on HttpClient logging and placed the manifoldcf.log here: >> http://folk.uio.no/erlendfg/manifoldcf/manifoldcf.log >> >> The first line indicates that the Solr server requires authentication. >> Then it seems that the authentication was unsuccessful using the BASIC >> method. >> >> Then we're getting the following from HttpClient, just like we did as >> described in CONNECTORS-661: NonRepeatableRequestException: Cannot retry >> request with a non-repeatable request entity. >> >> There is nothing wrong with my settings. The realm, user ID and password >> values are all correctly set. >> >> Last time it was something about two HTTP statuses sent (100 and 401), >> but I can only see the 401 status this time. We have also changed our >> authentication implementation on our Solr server since then to only rely on >> Apache, i.e. a setup in httpd.conf. So neither Resin nor mod_caucho should >> be the problem here. >> >> Erlend >> > >
