Project

General

Profile

Actions

Incident #1348

closed

Workspace: Uploading file and errors

Added by Leonardo Candela over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Application
Target version:
Start date:
Nov 12, 2015
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Production

Description

I'm trying to upload a file (1.46 GB) on the workspace and I'm getting an error. Unfortunately, the error message I get is almost useless ... what shall I do?

I would suggest to improve the error message, it should be a bit more informative and explain to the user what he/she should do (e.g. retry in a while).


Files

Screen Shot 2015-11-12 at 11.30.42.png (31.4 KB) Screen Shot 2015-11-12 at 11.30.42.png Leonardo Candela, Nov 12, 2015 11:31 AM
imarineportal.log (13.6 KB) imarineportal.log Roberto Cirillo, Nov 12, 2015 05:06 PM
Actions #1

Updated by Roberto Cirillo over 9 years ago

From portal log I see an exception when the file is copied in the Portal local folder (not in mongodb):

org.apache.commons.fileupload.MultipartStream$MalformedStreamException: Stream ended unexpectedly

I'm going to investigate about this exception. In attachment the logs of iMarine Portal

Actions #2

Updated by Roberto Cirillo over 9 years ago

I believe I've discovered something that may be related to this problem: https://issues.apache.org/jira/browse/FILEUPLOAD-143
The problem seems to be related to the commons-fileupload library that is a dependency of workspace-uploader component.
If it's possible, I suggest to update the library to a more recent version. Now we have the version 1.2.1

Actions #3

Updated by Francesco Mangiacrapa over 9 years ago

Currently, the workspace-uploader component is using commons-fileupload library at 1.2.1 because is managed in org.gcube.distribution:maven-portal-bom.

Several versions were released of this libray after 1.2.1. The last version is FileUpload 1.3.1 - 7 February 2014 see: https://commons.apache.org/proper/commons-fileupload/index.html
We are using FileUpload 1.2.1 - 18 January 2008...

@massimiliano.assante@isti.cnr.it is it possible to update this library? If not, I can update commons-fileupload dependency into workspace-uploader removing inherits from maven-portal-bom and adding a specific dependency (eg. 1.3.1) only for worskpace-uploader

Actions #5

Updated by Francesco Mangiacrapa over 9 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 100

In dev enviroment, the library commons-fileupload has been updated (to the org.gcube.distribution:maven-portal-bom) with the last available (v.1.3.1) and it should fix the issue.

This incident will be closed after performing update and test to pre-production

Actions #6

Updated by Francesco Mangiacrapa over 9 years ago

  • Status changed from In Progress to Resolved
Actions #7

Updated by Francesco Mangiacrapa over 9 years ago

The new common-file upload library (v.1.3.1) will be added in production enviroment to the next release (gCube 3.10) with new build to maven-portal-bom.

I'm going to delete relation with #1400 (so gCube Release 3.9) to link it then with gCube Release 3.10

Actions #9

Updated by Francesco Mangiacrapa over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)