Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Original Zip file download failure; appears to have a 15 minute timeout, causing failures for large files and slow links #2068

Closed
posixeleni opened this issue Apr 22, 2015 · 5 comments

Comments

@posixeleni
Copy link
Contributor

User reported (RT https://help.hmdc.harvard.edu/Ticket/Update.html?id=209024) that when they try to download a single zip file (uploaded in 3.6 as a zip and not unpacked) and they try to open it, the file itself has nothing inside. I noticed that the file invpat_final.zip they tried to download was over 1G zipped in this Dataverse https://dataverse.harvard.edu/dataset.xhtml?persistentId=hdl:1902.1/15705

@posixeleni
Copy link
Contributor Author

Another user reported in RT https://help.hmdc.harvard.edu/Ticket/Display.html?id=196815 the same issue where if they go to this Dataset: https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi%3A10.7910/DVN/28999&version=5.0 and try to download a large zip file "DARTE.gdb.zip" (originally uploaded as zip in 3.6.2) that is > 1G and they try to open it there is nothing in the file

@pdurbin
Copy link
Member

pdurbin commented Apr 23, 2015

Related (I think): #2013

@scolapasta
Copy link
Contributor

From #2080: Reported by various users, especially on slow links but any download taking more than 15 minutes, the download halts, resulting in various user symptoms: zero length file (Mac/Mozilla) to partial download and corrupted zip file (windows, chrome)

@scolapasta scolapasta changed the title Original Zip file download failure Original Zip file download failure; appears to have a 15 minute timeout, causing failures for large files and slow links Apr 23, 2015
@scolapasta scolapasta assigned landreev and unassigned scolapasta Apr 23, 2015
@scolapasta
Copy link
Contributor

Passing to QA.

@kcondon
Copy link
Contributor

kcondon commented Apr 26, 2015

Tested, this appears to be resolved. Increased the download timeout but needed to add it to http-listener-2 since we use that now for direct file download via port 8181.

how to configure:
1. make a backup of your domain.xml
2. edit domain.xml:
under the section,
<config name="server-config">
<network-config>
<protocols>
<protocol name="http-listener-2" security-enabled="true">
update this line to have a request-timeout attribute:
<http request-timeout-seconds="50000" max-connections="250" default-virtual-server="server">
Note that your max-connections may be different and that's ok.
3. Restart glassfish

Closing.

@kcondon kcondon closed this as completed Apr 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants