Followup: We're digging deeper into HttpClient 4.3.3, since it is apparently misbehaving and we need to debug it to find out why. Karl
On Wed, May 21, 2014 at 9:36 AM, Karl Wright <[email protected]> wrote: > Hi Erlend, > > Are you sure this is the complete log? I don't see any outgoing request > data or headers. > > If you saw Oleg's response to my question, you might want to look for the > following in the outgoing data: > (1) An expect/continue header > (2) A 100 response > > If those things are not there, we're going to have to debug httpclient > ourselves to figure out why they aren't, because Oleg's test seems to work > right. > > Karl > > > On Wed, May 21, 2014 at 9:32 AM, Erlend Garåsen > <[email protected]>wrote: > >> >> The complete log is not available here: >> http://folk.uio.no/erlendfg/manifoldcf/manifoldcf.log >> >> Erlend >> >> >> On 21.05.14 15:09, Erlend Garåsen wrote: >> >>> >>> Thanks for looking at this, Karl. >>> >>> I have sent you the output from tcpdump directly to you. >>> >>> Erlend >>> >>> On 21.05.14 14:42, Karl Wright wrote: >>> >>>> 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 >>>>>> >>>>>> >>>>> >>>>> >>>> >>> >> >
