[
https://issues.apache.org/jira/browse/CONNECTORS-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17482950#comment-17482950
]
Markus Schuch commented on CONNECTORS-1694:
-------------------------------------------
After applying the patch the ingestion works fine.
The patch looks reasonable to me. Preemptive basic authentication is the
sensible and correct solution for server-to-server connections.
r1897536
> Basic auth for Solr output connector not working for POST/DELETE requests
> -------------------------------------------------------------------------
>
> Key: CONNECTORS-1694
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1694
> Project: ManifoldCF
> Issue Type: Bug
> Reporter: Markus Schuch
> Priority: Major
> Attachments: 113.patch
>
>
> From https://github.com/apache/manifoldcf/pull/113
> {quote}The underlying Apache HTTP client uses universal basic auth for the
> first request, then caches the resp. auth-related data and switches to
> pre-emptive basic auth for subsequent requests that target the same host.
> This seems to cause problems requests that alter state at Solr (POST/DELETE).
> This situation can be easily remedied by enforcing pre-emptive basic auth for
> the first request.
> {quote}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)