maloja icon indicating copy to clipboard operation
maloja copied to clipboard

If a picture is too large upload is silently canceled

Open Magikh42 opened this issue 1 year ago • 3 comments

Hello, when drag and dropping an image to update an album or artist picture it happens that the image is silently rejected due too being too large There should be an error messages, or better, auto rescale the picture and use the rescaled version

Magikh42 avatar Feb 14 '24 07:02 Magikh42

Maloja server 3.2.2 I can confirm, even 400kB image gets cancelled. I get a "413 Request Entity Too Large" reply on the POST requst.

TeaWhyDee avatar Oct 22 '24 22:10 TeaWhyDee

@Magikh42 in my case it was an issue with nginx. I modified my site config to allow larger images:

server {
        client_max_body_size 5M;
        
...

UPD: nevermind, honestly I don't know if this helped at all

TeaWhyDee avatar Oct 22 '24 22:10 TeaWhyDee

I'm also having this happen. It seems random, sometimes if I try multiple times it'll work. Other times I can try as many times as I like but nothing happens. The closest thing to an error I get is my host's nginx that I'm using as a reverse proxy reporting that the connection was refused when this happens.

ngoomie avatar Oct 25 '25 16:10 ngoomie