Attaching 5 MB image to task results in "413 Request Entity Too Large"
Solved
Vikunja
-
I get the following error when trying to attach/upload a 4.6 MB image to a Vikunja task:
413 Request Entity Too Large nginx/1.18.0 (Ubuntu)
Reading a few other threads here related to this error message (but for different apps) one of the recommendations was to increase the RAM. I did so, from 256 MB to 1 GB; however, the error remains when trying to upload.
Any suggested solutions from here?
-
A couple of interesting notes:
- Reducing the size of the image to ~2 MB does not help
- But I can upload an image that is about 100KB
-
Take a look at the config.yml first:
files: # The path where files are stored basepath: /app/data/files/ # relative to the binary # The maximum size of a file, as a human-readable string. # Warning: The max size is limited 2^64-1 bytes due to the underlying datatype maxsize: 20MB
-
@canadaduane think there is a bug in the nginx config of the package. I have fixed it now, can you please update and try?
-
-