Error occured during image upload

0
We're getting an error while uploading a simple image in our app: An error occured while uploading a file: the server did not respond. I don't see any error in the log and not in my console, only a client message. The max upload size is 5mb and my image is only 1 mb. So what could be wrong?
asked
2 answers
0

Can you reproduce this consistently? If so, you could monitor your network traffic to see where the request actually gets stuck.

answered
0

If your application is deployed behind a web server (as recommended), make sure to proxy '/file' requests to the Mendix runtime as well. In such a case you might also have a size limit on these requests set in your web server that could be lower than the 5 MiB in your model (but I think this would result in a different error message).

answered