planka
planka copied to clipboard
413 error (Request Entity Too Large)
When uploading a file (just 1mb) via a Planka installation using docker, I get a 413 (Request Entity Too Large) error. I cannot upload any files. Is this a bug or a misconfiguration on my side?
Hi! I've tested it and I have no problems with uploading 🤔 This could be a bug, but I need more information about your configuration. Are you using a proxy server?
When uploading a file (just 1mb) via a Planka installation using docker, I get a 413 (Request Entity Too Large) error. I cannot upload any files. Is this a bug or a misconfiguration on my side?
If you are using nginx or something, you may need to set this up in the nginx config for this site. I just had this error but I fixed it by simply increasing the limit.
I had the same issue. As confirmed by @meltyshev and @DearFox, in my case it was related to the nginx reverse proxy.
I followed the steps on this StackOverflow question and updated my app.conf
to allow for larger individual uploads to Planka:
server {
...
location /planka/ {
...
client_max_body_size 10M;
}
}
There's an opportunity here for Planka to capture and respond to this kind of error. I've raised this in #711.