Detailed description of issue
When i use a pdf document bigger (3 or 4 Mb) the first time that i save annotations in a database i retrieve the error PayloadTooLargeError: request entity too large and the annotation don’t save.
Does your issue happen with every document, or just one?
Every big document
In other topic you’re sugerence it’s about my server config, but i don’t know what’s the configuration that i need to change to use big pdfs with my saveAnnotations script that works perfect with small pdfs (less than 2Mb).
I test diferents servers for charge the document pdf but the problem it’s the same.
Any sugestion?
I’m using my server, i mount a virtual machine with the node.js and PDF.js Express and put the pdf in a Apache web server.
I test to use a nginx server and put the pdf in external apache server too. And the problem always it’s the same, with a big pdf i retreive the PayloadTooLargeError message the first time.