manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cihad Guzel (JIRA)" <>
Subject [jira] [Created] (CONNECTORS-1408) Request-URI Too Long
Date Thu, 13 Apr 2017 18:20:42 GMT
Cihad Guzel created CONNECTORS-1408:

             Summary: Request-URI Too Long
                 Key: CONNECTORS-1408
             Project: ManifoldCF
          Issue Type: Bug
          Components: Email connector, Solr 6.x component
    Affects Versions: ManifoldCF 2.6
            Reporter: Cihad Guzel

I run email connector job and follow "Simple History" from UI. I see an error as follow:

Error from server at http://localhost:8983/solr/mycore: non ok status: 414, message:Request-URI
Too Long
It is sent by Solr. 

Solr logs say: 
HttpParser - URI is too large >8192

HttpParser - bad HTTP parsed: 414 for HttpChannelOverHttp@2b6931dd{r=0,&#8203;c=false,&#8203;a=IDLE,&#8203;uri=null}


ManifoldCF has following code:

 // It is has one stream, it is the post body, put the params in the URL
      else {
        String pstr = toQueryString(wparams, false);
        HttpEntityEnclosingRequestBase postOrPut = SolrRequest.METHOD.POST == request.getMethod()
            new HttpPost(url + pstr) : new HttpPut(url + pstr);


There is "pstr" field appended to the URL. "pstr" field have all Solr params. It contains
email content. We have "URI is too large" error when email has large content.

This message was sent by Atlassian JIRA

View raw message