You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So whenever you upload a file bigger than 1 MB (which is max limit for nginx by default), nginx doesn't allow it on the server and NiceGUI hangs at 99.9%.
I was able to solve it by changing the client_max_body_size in nginx config.
I believe this can be troublesome in production environments, hence an error message from NiceGUI end will be helpful.
Oh wow, thanks for the update, @adarshpunj!
Do you have an idea how NiceGUI could check for this limitation? We'd love to show a warning or error message, but I'm not sure how to trigger it.
Description
I checked a previous issue related to this which was closed. However, I'm still facing this issue.
Interestingly, it's working normally on my Mac. Though, it stops at 99.9% on a Linux VM. Note that I'm using Docker image in both cases.
Version -
1.4.22
I'm able to reproduce this on both Firefox on Chrome.
I didn't encounter this issue with file size < 1 MB. I tested two files 5 MB and 29 MB, where the upload fails (or passes) at 99.9%
Attaching my code if that helps:
The function
self.fn
The text was updated successfully, but these errors were encountered: