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

414 error when trying to download ~1000 files in a dataset #6943

Closed
djbrooke opened this issue May 28, 2020 · 2 comments · Fixed by #6957
Closed

414 error when trying to download ~1000 files in a dataset #6943

djbrooke opened this issue May 28, 2020 · 2 comments · Fixed by #6957

Comments

@djbrooke
Copy link
Contributor

There’s an unpublished dataset in dataverse.harvard.edu that has 1061 files:

https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/HVY5GR

When I try to select all files for download I get:

“Request-URI Too Long
The requested URL’s length exceeds the capacity limit for this server.”

…I assume because it’s a URI like https://dataverse.harvard.edu/api/access/datafiles/3851150,3851397,3851153, and so on, with all 1,000 files.

Tagging @qqmyers as he mentioned he has some code that handles this issue. Thanks @qqmyers !

@pameyer
Copy link
Contributor

pameyer commented May 28, 2020

FYI - I think max URL length is configurable in apache (not sure about glassfish/payara/etc), so this may be fixable without code changes.

@qqmyers
Copy link
Member

qqmyers commented May 28, 2020

I think I looked into that, but there are browser limits as well. I think the lowest is IE/Edge at around 2K chars (current info afaik).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants