-
-
Notifications
You must be signed in to change notification settings - Fork 25
Handle network instability during file upload in the Editor #2134
Description
Describe the bug
There seems to be an issue with data file uploads where the upload fails consistently for files >= 150mb. I tried this out on dev.nceas.ucsb.edu.
To Reproduce
Steps to reproduce the behavior:
- Go to dev.nceas.ucsb.edu
- Click on Submit
- Upload a 200mb file from a connection upload speed of ~40 Mbps using WIFI (with and without VPN)
- See error
- Upload a couple of smaller files (they should succeed)
- Save dataset
Your permissions should be lost and the user is no longer able to edit the dataset.
Expected behavior
Should be able to upload files of several GB files with no problems over a strong wifi connection. I have not had any problems uploading files over wifi using other web applications. I do wireless backups to the cloud, upload to google drive and submit data via curl to metacat with no problems. All using the same wireless connection.
On nceas after save
I was able to upload two 100GB files but the 200GB file failed

Desktop (please complete the following information):
- OS: MacOS
- Browser: Chrome
- Version: Version 113.0.5672.92 (Official Build) (x86_64)
Additional context
I plugged my laptop directly into the router and had no problems uploading files. I was able to upload up to 1GB size of files (See https://dev.nceas.ucsb.edu/view/urn%3Auuid%3A052ac749-d225-40f4-a72a-6f2d5c3968ff).
So, this might be an issue in how metacatui handles uploading from flaky wifi connections. We are seeing an increasing number of users having this problem on ESS-DIVE.
I think there at least tow major issues:
- Not handling upload errors gracefully (missing resource map, loss of permissions)
- Flaky upload support for strong wifi connections
Metadata
Metadata
Assignees
Labels
Type
Projects
Status

