Attaching 5 MB image to task results in "413 Request Entity Too Large"
-
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 -
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 -
@subven Yes, I did take a look there and my yml is still set to the default 20 MB. Is that what you mean for me to check for?
-
@canadaduane think there is a bug in the nginx config of the package. I have fixed it now, can you please update and try?
-
N nebulon marked this topic as a question on
-
N nebulon has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login