Open Bryson14 opened 2 months ago
We're encountering the same recurring issue. We've tried to diagnose considering potential causes like nginx traffic, Streamlit reloading, or ECS container management, yet we've been unable to determine the root cause. While it functions correctly most of the time, it frequently breaks in production, without error logs, exhibiting the same error message and behavior as described above.
I've noticed that another function we have is doing another stste_session update after the feedback. It seems to be working. It like REACT where the state session updates might be happening in a batch or one after another. But its upto the framework when to actually do the state updates..
I've noticed that the feedback item has been giving intermittent errors. Sometimes they work great, but other times they give errors with no apparent changes.
Sometimes some will load and other will flash as the placeholder is loading:
Notive how the top message has loaded the feedback component correctly and the other two have loading placeholder.
then after a few seconds (about 10 seconds), those placeholders will turn into these warning:![image](https://github.com/trubrics/streamlit-feedback/assets/43580701/a37c9ed1-ac43-42eb-8641-1078c08cf681)
Other times the feedback doesn't show up at all.. This is the code that takes the messages and loads them into the UI. this function is called at the main.py script and called every time that script is reloaded:
Am I just overloading the app with too many calls to feedback?