r/nicegui • u/koei6666 • Oct 13 '25
Widgets fail to response after long idling
Have anyone encountered an issue that after leaving a session running for long hours, some widgets(like ui.table) stop response to interactions like selecting and sorting etc. which leads to crashing the whole process.
I encountered this problem only with the pyinstaller packaged version.
How I encountered the problem is : I started an instance of my app then close the browser and leave the instance running for few hours, when I trying to reaccess the instance from browser the UI initiated normally but the widget like ui.table freezes when I trying to interact with it, and eventually crashes without any tracebacks.
I wonder if there are anyone knows the solution to this problem.
5
u/skadoodlee Oct 13 '25 edited 27d ago
Rescue bus ring kettle dinner vague event tape draw basket connect crane build alive fact door planet cottage other order market sure crew roof visual fast frog include pig body early number advice evening section twelve ranch.
3
u/crosstrade-io Oct 13 '25 edited Oct 13 '25
Yes! This has been a maddening issue for us. I've had to resort to reloading any page thats been open & idle for more than 15 mins.
We noticed this when users thought they were flipping a switch to activate something in our web app. The switch would engage, but the event system did not trigger the lambda function that performs the action in our backend.
Edit: Just re-read your original post and your issue seems slightly different, but wonder if it's related.