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

SolrStream reports AuthN/AuthZ failures (401|403) as IOException w/o details

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      If you try to use the SolrJ SolrStream class to making a streaming expression request to a solr node, any authentication or authorization failures will be swallowed and a eneric "IOException" will be thrown.

      (evidently due to a pars error trying to read the body of the response w/o consulting the HTTP status?)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hossman Chris M. Hostetter
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: