Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-1694

Basic auth for Solr output connector not working for POST/DELETE requests

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • ManifoldCF 2.22
    • None
    • None

    Description

      From https://github.com/apache/manifoldcf/pull/113

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            schuch Markus Schuch
            schuch Markus Schuch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment