sequenceserver icon indicating copy to clipboard operation
sequenceserver copied to clipboard

nginx "entity too large" error is ugly/not user friendly

Open yannickwurm opened this issue 8 years ago • 2 comments

(here my query was 2 fasta seq for combined length of ~1580380 nt)

screenshot 2016-04-26 13 20 59

yannickwurm avatar Apr 26 '16 12:04 yannickwurm

Note that this was on antgenomes.org - i.e. running via nginx. The same query was successful (albeit it took a while & locked the browser for 30 seconds) when using seqserv locally via its built-in web server

yannickwurm avatar Apr 26 '16 12:04 yannickwurm

It is a server imposed restrictions on maximum post size and should be configurable. Webrick, the built-in server, is not as strict. Nginx (and Apache) need to be.

For now I would only document this on the website under "known issues and limitations" that greater than 1MB could be problematic depending on server config. Even drag-n-drop is limited to 10MB.

Appropriate solution for this will be to use a good file-upload library to upload sequences (pasted or dropped) in chunks.

yeban avatar Apr 30 '16 12:04 yeban