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

Look into how HttpSolrCall#remoteQuery handles IOException and passing error messages back to a client.

    XMLWordPrintableJSON

    Details

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

      Description

      We have a test fail that is reported to the client as:

      Error from server at http://127.0.0.1:45745/awholynewcollection_0: non ok status: 500, message:Server Error

      but problem seems to be:

      org.apache.solr.common.SolrException: Error trying to proxy request for url: http://127.0.0.1:45745/awholynewcollection_0/select

      Caused by: java.io.IOException: Response header too large

      Caused by: java.nio.BufferOverflowException

      I'm not sure if this is because we are using sendError on catching Exception in that method instead of throwing out an exception (I'd like to make this change anyway), or if it's because we close the streams. I've removed those closes in another uncommitted issue about using method.abort().

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markrmiller@gmail.com Mark Miller
                Reporter:
                markrmiller@gmail.com Mark Miller
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: