Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B0729200C57 for ; Sat, 15 Apr 2017 21:54:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A4175160BA0; Sat, 15 Apr 2017 19:54:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E8B09160B8B for ; Sat, 15 Apr 2017 21:54:46 +0200 (CEST) Received: (qmail 58365 invoked by uid 500); 15 Apr 2017 19:54:46 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 58353 invoked by uid 99); 15 Apr 2017 19:54:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Apr 2017 19:54:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B8D6F1A048B for ; Sat, 15 Apr 2017 19:54:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id PWdVesE8vRzm for ; Sat, 15 Apr 2017 19:54:44 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 39FE25F3F0 for ; Sat, 15 Apr 2017 19:54:44 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 63D5EE09D6 for ; Sat, 15 Apr 2017 19:54:43 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6E79121B45 for ; Sat, 15 Apr 2017 19:54:42 +0000 (UTC) Date: Sat, 15 Apr 2017 19:54:42 +0000 (UTC) From: "Cihad Guzel (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-1408) Request-URI Too Long MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 15 Apr 2017 19:54:47 -0000 [ https://issues.apache.org/jira/browse/CONNECTORS-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15970104#comment-15970104 ] Cihad Guzel commented on CONNECTORS-1408: ----------------------------------------- Yes Karl, hasNullStreamName is true > Request-URI Too Long > -------------------- > > Key: CONNECTORS-1408 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1408 > Project: ManifoldCF > Issue Type: Bug > Components: Email connector, Solr 6.x component > Affects Versions: ManifoldCF 2.6 > Reporter: Cihad Guzel > Assignee: Karl Wright > Fix For: ManifoldCF 2.8 > > Attachments: http-wire2.log, http-wire.log > > > I run email connector job and follow "Simple History" from UI. I see an error as follow: > {code} > Error from server at http://localhost:8983/solr/mycore: non ok status: 414, message:Request-URI Too Long > {code} > It is sent by Solr. > Solr logs say: > {code} > HttpParser - URI is too large >8192 > {code} > and > {code} > HttpParser - bad HTTP parsed: 414 for HttpChannelOverHttp@2b6931dd{r=0,​c=false,​a=IDLE,​uri=null} > {code} > ManifoldCF ModifiedHttpSolrClient.java has following code: > {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); > {code} > 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 (v6.3.15#6346)