Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9604

Pooled SSL connections are not being reused with client authentication

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3, 7.0
    • Component/s: None
    • Labels:
      None

      Description

      Solr isn't setting user tokens on any of its HttpClientContext objects when requested new http connections. This means that when SSL + client authentication is used, HttpClient is creating a new connection on every request, to ensure that authentication tokens aren't shared between different users. We end up with lots of unused open connections in the connection pool, leading to slowness and out-of-memory errors.

        Attachments

        1. fails with null.png
          760 kB
          Mikhail Khludnev
        2. SOLR-9604.patch
          22 kB
          Alan Woodward
        3. SOLR-9604.patch
          21 kB
          Alan Woodward
        4. SOLR-9604-6x.patch
          27 kB
          Mikhail Khludnev

        Issue Links

          Activity

            People

            • Assignee:
              romseygeek Alan Woodward
              Reporter:
              romseygeek Alan Woodward

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment