sequenceserver
sequenceserver copied to clipboard
nginx "entity too large" error is ugly/not user friendly
(here my query was 2 fasta seq for combined length of ~1580380 nt)
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
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.