Streamlit-aggrid crashing my streamlit application

I have also been having issues with an app hosted on Streamlit Cloud for about a week.
This app uses an st.aggrid.agGrid component.

It has been running for more than a year on Streamlit Cloud without issues, was update a few times, with the latest update on December 8, 2022.
It started having that erratic behavior last week, while no change has been made to the code.

If I, as the developer, open a session with the cloud hosted app, I see no error (I am the developer and authenticate via Github).

If authorized users open a session, the app has an erratic behavior where it is constantly reloading and displaying errors related to the agGrid front-end component (users authenticate via SSO in our Streamlit Cloud account).

The app uses Streamlit streamlit == 1.15.2 and streamlit-aggrid ==0.3.3 and I import the following items:

from st_aggrid import AgGrid, GridUpdateMode, AgGridReturn, ColumnsAutoSizeMode
from st_aggrid.grid_options_builder import GridOptionsBuilder

I also tried updating streamlit to 1.16.0, which didn’t solve the problem…

Also, the app works fine locally on my laptop ad well as on a local server I use for staging, where it works fine for any user (but where there is no authentication required as it is only in our VPN). So this looks definitely related to the Streamlit Cloud deployment.

Users get this type of error:
image

1 Like