@000 @faizhalas @Anirudh_Vangara @piclem
Some feedback from @kajarenc, one of our Software engineers:
After investigation, my best understanding is that
file_uploader
fails for apps deployed in Streamlit Cloud because of a misconfigrued_xsrf
token, the interesting thing is that xsrf protection is disabled for all Cloud apps, but for some reason old apps still running with--enableXsrfProtection=true
and just rebooting it doesn’t change it. But creating a container from scrach (attempt to deploy that app with a different domain?) solves that problem.
So the solution for Streamlit Cloud apps will be either try to redeploy the app (not just reboot), or explicitly specify:
[server] enableXsrfProtection = false
in app config.toml
If you’re still facing the issue, could you please try one of these solutions?
Best,
Charly