File upload fails because of size, but no size limit exceed error is thrown

Hi,

on uploading a image file of about 4 MB, the upload.unableToUploadFile message is shown. If i lower the file size to less then 2MB, it works fine. This ahppens only on production tomcat 9 on a CentOS 7 machine, on my Win10 dev laptop no error is thrown. Any ideas what tomcat setting could be the issue?

Never mind, it was a NGINX setting client_max_body_size which defaulted to 2MB, setting it to 20MB resolved the issue.