Unknown Error 413 when trying to upload Android Player APK

I am running Xibo Docker Version 4.0.5
We have an android player (DSCS9X) with activated licence.
Now trying to upload the new APK R402 results in an “Unknown Error”. Console tells me it is HTTP 413.
For testing I generated two files:
dd if=/dev/random of=./test10M.apk bs=100K count=10
dd if=/dev/random of=./test11M.apk bs=100K count=11
Uploading test10M.apk is successfull, test11M.apk fails.
What can we do?

Right after posting this, i have got the solution.
I had the idea of missing settings in my nginx config - which caused the problem.
Here is the relevant part of my reverse proxy config now:

        location / {
                proxy_pass http://127.0.0.1:8001/;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection "upgrade";
                proxy_set_header Host $http_host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto https;
                proxy_set_header X-Nginx-Proxy true;
                proxy_redirect off;
                client_max_body_size 4G;
        }

https://community.xibo.org.uk/t/walkthrough-for-creating-reverse-proxy-with-nginx/23139

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.