[Dspace-tech] Processing of multipart/form-data request failed. Stream ended unexpectedly

457 views
Skip to first unread message

Andrea Bollini

unread,
Aug 25, 2015, 1:31:48 PM8/25/15
to DSpace Tech
Hi all,
we are experience a lot of errors uploading files from a specific
workstation. From this workstation with all the browser available
(firefox, IE, Opera) it is impossible complete an upload.
We always get the following exception:

> Exception:
> java.io.IOException: Processing of multipart/form-data request failed. Stream ended unexpectedly
> at org.dspace.app.webui.util.FileUploadRequest.<init>(FileUploadRequest.java:139)
> at org.dspace.app.webui.servlet.SubmissionController.wrapMultipartRequest(SubmissionController.java:1405)
> at org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:255)
> at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)

The error occurs with files of any size, and from other workstations we don't see any problem.
Apparently, we can't check this directly, there is no firewall, proxy or network limit/special configuration between the client and the DSpace server (1.5.2)...

Any idea/previous experience with this issue? do you have any suggestion about test that could help to collect more information?
Thanks,
Andrea


--
Dott. Andrea Bollini
Project Manager, IT Architect & Systems Integrator
Sezione Servizi per le Biblioteche e l'Editoria Elettronica
CILEA, http://www.cilea.it
tel. +39 06-59292853
cel. +39 348-8277525

---

Disclaimer: the content of this email is confidential and may be privileged, and it must not be disclosed or copied without the sender's consent. If you have received this message in error, please notify the sender and remove it from your system. The content of this email does not constitute legal advice, nor any responsibility is accepted for loss or damage incurred as a result of acting upon its contents or attachments.
The statements and opinions expressed in this email are those of the author and do not necessarily reflect those of the employer.


Tim Donohue

unread,
Aug 25, 2015, 1:31:52 PM8/25/15
to dspac...@lists.sourceforge.net
Andrea,

I've never seen this particular error before, to be honest. However, I
do recall seeing similar (usually random) issues when uploading larger
files across an unstable (or bogged down) wireless network.

The "Stream ended unexpectedly" error looks almost like the upload is
timing out (does the browser just hang for a while after uploading?) or
somehow being interrupted. But it's hard to say what could be causing
this -- especially from just a single machine. If it's only happening
from one machine it seems like that machine's network connection could
be having problems (though it sounds like you've already started looking
into that).

Anyone else encounter this with regularity? Or have any ideas?

- Tim

Andrea Bollini

unread,
Aug 25, 2015, 1:39:27 PM8/25/15
to Tim Donohue, dspac...@lists.sourceforge.net
I have notice that I have missed to share the end of the history...
well, the problem was related to the traffic shaping of the packeteer nothing was wrong in DSpace or in the server configuration.
Hope this could help someone in future,
Andrea

Tim Donohue ha scritto:
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
DSpace-tech mailing list
DSpac...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


  
Reply all
Reply to author
Forward
0 new messages