413 error (Request Entity Too Large) #232

Closed
opened 2026-02-04 18:00:27 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @jnijland on GitHub (Sep 25, 2022).

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?

Originally created by @jnijland on GitHub (Sep 25, 2022). 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?
Author
Owner

@meltyshev commented on GitHub (Sep 26, 2022):

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?

@meltyshev commented on GitHub (Sep 26, 2022): 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?
Author
Owner

@DearFox commented on GitHub (May 10, 2023):

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.

@DearFox commented on GitHub (May 10, 2023): > 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.
Author
Owner

@TassSinclair commented on GitHub (Apr 14, 2024):

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.

@TassSinclair commented on GitHub (Apr 14, 2024): 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](https://stackoverflow.com/questions/26717013/how-to-edit-nginx-conf-to-increase-file-size-upload) 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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#232