Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7385810D62 for ; Fri, 21 Nov 2014 18:45:55 +0000 (UTC) Received: (qmail 43819 invoked by uid 500); 21 Nov 2014 18:45:54 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 43692 invoked by uid 500); 21 Nov 2014 18:45:54 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 43678 invoked by uid 99); 21 Nov 2014 18:45:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2014 18:45:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of thomas.neidhart@gmail.com designates 209.85.212.177 as permitted sender) Received: from [209.85.212.177] (HELO mail-wi0-f177.google.com) (209.85.212.177) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Nov 2014 18:45:26 +0000 Received: by mail-wi0-f177.google.com with SMTP id l15so154488wiw.10 for ; Fri, 21 Nov 2014 10:43:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=nH+B3GYDLJ94K+3f0mgNAcLpH8mtqyoDgWXnHO/uEmg=; b=re8YJ47a5RGXV93bDlN9H7627/k2naMt6FtqcU2X/UVH6NDRK7Nymj6nCArk/I2BRS GsX3/bLEsE9KvVlWdLzCADMAuZG/CyzQlCGlNWjWxtqjpWWqHaGxw8ua0RU1KjlqfIUT TiBoywYCbd2d+AL5XhJiZt8tQdfFYUGq6uStloAhCVuUwknByuK6bDbYILiIdizB07bU 3xXWNeae9B6Dm1Zr1W1VxA9xaJTk9y/hseYkJEAF/vPpXDcZXNEGRNkJTSx318LapGSZ yOmrO4ENwzyDkSeo73wg1JkqjB6N0nsSd1vnBg24m22PxPkSPpbpQF1MdxWbxr/RTIaB Lx8g== X-Received: by 10.194.185.167 with SMTP id fd7mr10640013wjc.108.1416595435556; Fri, 21 Nov 2014 10:43:55 -0800 (PST) Received: from [192.168.1.3] (ip-81-11-211-200.dsl.scarlet.be. [81.11.211.200]) by mx.google.com with ESMTPSA id v6sm9098842wjz.40.2014.11.21.10.43.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Nov 2014 10:43:54 -0800 (PST) Message-ID: <546F87E9.8010609@gmail.com> Date: Fri, 21 Nov 2014 19:43:53 +0100 From: Thomas Neidhart User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: user@commons.apache.org Subject: Re: [fileupload] multipart parsing failed: null? References: <546F5738.2010903@gmail.com> In-Reply-To: <546F5738.2010903@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 11/21/2014 04:16 PM, Kristian Rink wrote: > Folks; > > trying to track down a strange error frequently occurring on our > infrastructure when users are, well, uploading files using a > multipart/form data upload form. Traces see below. Worth noting: > > - The application runs in an embedded jetty (HTTP) behind an apache2 > mod_proxy reverse proxy (HTTPS). > > - These issues do not generally appear, I tried quite some uploading > myself today and never managed to reproduce this behaviour even while > uploading loads of files, large files and both together. > > - It does not seem to be generally tied to a particular browser; the > users associated with these messages use Firefox, MSIE or Chrome. > > - Looking at network traffic (and the transfer monitor in the app), it > _seems_ all data to be sent with the request have successfully been > transmitted yet parsing the request, ultimately, fails. > > - On _some_ clients, in such situations users reported the upload was > canceled with a "connection reset by peer" error, even though I do not > see reasons for that in our mod_proxy server log. > > > So far I feel a bit clueless where to look next, here. Does anyone out > here have an idea what could possibly go wrong? Hi Kristian, we have already received similar reports for previous versions of fileupload, but failed to come up with a re-producible test case or to track this problem down. Could you please create a new issue on our issue tracker and attach as much information as possible? Thanks, Thomas > Thanks in advance for any hints on that, > Kristian > > > Trace: > > > [...] > > org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: > Processing of multipart/form-data request failed. null > at > org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:351) > ~[commons-fileupload-1.3.1.jar:1.3.1] > at > org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:115) > ~[commons-fileupload-1.3.1.jar:1.3.1] > [...] > Caused by: org.eclipse.jetty.io.EofException: null > at > org.eclipse.jetty.server.HttpInput$3.noContent(HttpInput.java:465) > ~[jetty-server-9.1.4.v20140401.jar:9.1.4.v20140401] > at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:125) > ~[jetty-server-9.1.4.v20140401.jar:9.1.4.v20140401] > at > org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:999) > ~[commons-fileupload-1.3.1.jar:1.3.1] > at > org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:903) > ~[commons-fileupload-1.3.1.jar:1.3.1] > at java.io.InputStream.read(InputStream.java:101) ~[na:1.7.0_51] > at > org.apache.commons.fileupload.util.Streams.copy(Streams.java:100) > ~[commons-fileupload-1.3.1.jar:1.3.1] > at > org.apache.commons.fileupload.util.Streams.copy(Streams.java:70) > ~[commons-fileupload-1.3.1.jar:1.3.1] > at > org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:347) > ~[commons-fileupload-1.3.1.jar:1.3.1] > [...] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org > For additional commands, e-mail: user-help@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org