Actually, let's just cut to the chase, and enable full wire and context logging:
log4j.logger.org.apache.http=DEBUG That will let us see what is happening for sure. Karl On Thu, Mar 7, 2013 at 8:31 PM, Karl Wright <[email protected]> wrote: > Hi Erlend, > > > I had a chance to look through the httpclient code. > > First, if you could enable logging for the redirector class in > logging.ini, we can see what decisions it is making and perhaps figure > out why retries are happening even when disabled. To do that, add > this line: > > log4j.logger.org.apache.http.impl.client.DefaultRequestDirector=DEBUG > > ... then restart ManifoldCF, and try anything that would attempt to > index via solr. Send me the manifoldcf log and I can see where the > retries are coming from. From a quick inspection, it looks like > either: > > - setting the retry handler isn't working, OR > - it's deciding that it's talking through a proxy for some reason > > But, frankly, the code is convoluted and there are retries at multiple > levels, so I will need to nail this down better before I can say > anything definitive. > > Thanks! > Karl > > > > > > On Thu, Mar 7, 2013 at 9:41 AM, Erlend Garåsen <[email protected]> > wrote: >> On 07.03.13 15.33, Karl Wright wrote: >>> >>> Sounds good except for one thing: authentication failure should return >>> an http response of 401, and should not be causing connection retries >>> at the httpclient level. Those can only come from basic socket >>> errors, e.g. connection, SSL negotiation, socket. >> >> >> Hmmm, I will double-check the SSL certificate I added. Perhaps the CA I >> added is incorrect for the one we have installed. Good point. Anyway, I'm >> very close, so I guess I will figure it out soon. :) >> >> >> Erlend >> >> -- >> Erlend Garåsen >> Center for Information Technology Services >> University of Oslo >> P.O. Box 1086 Blindern, N-0317 OSLO, Norway >> Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050
