[
https://issues.apache.org/jira/browse/CONNECTORS-661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13599035#comment-13599035
]
Karl Wright commented on CONNECTORS-661:
----------------------------------------
Yeah, having TWO status lines is a definite no-no as far as HTTP is concerned.
What version of Resin is this, and is there a Resin ticket open for the
problem? If not, maybe you should consider opening one.
FWIW, it looks like Apache web server had problems with this functionality
also, back in 2007.
http://www.gossamer-threads.com/lists/apache/users/340406
As far as MCF is concerned - I'm leery of fixing problems in the wrong place in
order to work around somebody else's bugs. I think the proper course of action
is to see if you can find a solution on your end - perhaps with a patched
version of Resin. But absolutely a ticket should be created against Resin, or
this will not get addressed.
If a Resin fix proves impossible, then I'd consider creating a branch which
includes Maciej's MCF fix to pre-emptively send basic auth credentials, and we
can then generate a patch and attach it to this ticket for other resin users to
apply. I can certainly help you code this up if you need it.
> Solr Connector cannot index documents when Solr is protected by authentication
> ------------------------------------------------------------------------------
>
> Key: CONNECTORS-661
> URL: https://issues.apache.org/jira/browse/CONNECTORS-661
> Project: ManifoldCF
> Issue Type: Bug
> Components: Lucene/SOLR connector
> Affects Versions: ManifoldCF 1.1.1
> Reporter: Karl Wright
> Assignee: Karl Wright
> Priority: Critical
> Fix For: ManifoldCF 1.2
>
>
> The Solr connector cannot deal with Solr servers that are protected by
> authentication. The reason is that HttpClient forces a retry based on the
> WWW-authenticate header that is returned, but the HttpEntity is not
> resettable and thus the retry fails for that reason.
> This is a regression, because the Solr connector used to properly support
> basic auth, and now no longer does.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira