arXiv / arxiv-submission-ui

User interface of NG submit system.
MIT License
2 stars 6 forks source link

large submission size failed at file_upload #100

Open jimentwood opened 5 years ago

jimentwood commented 5 years ago

I tried a 56M tar file and got an error 413 Request Entity Too Large nginx/1.15.2

Maybe just an issue with testing on development.arxiv.org... ?

erickpeirson commented 5 years ago

Yeah, limit is currently set to 50MB. Given that this is way outside the allowed ranges, should we increase the limit, or provide an informative error message?

jimentwood commented 5 years ago

I'd suggest adding informative error message now. And that we keep this in mind to adjust based on user feedback.

Some >50MB submission uploads for 'anc' content could useful, but I would suggest we wait until there is a clear need for it.

erickpeirson commented 5 years ago

We will need to extend the default backend to implement the custom error backend behavior described here.

Here is a nice example in Go: https://github.com/kubernetes/ingress-nginx/blob/master/images/custom-error-pages/main.go