Getting RuntimeState.ONE_OR_MORE_SESSIONS_CONNECTED -> RuntimeState.NO_SESSIONS_CONNECTED

I have an app deployed on https://llmapidemo-hjxvju7yxn5pycsemwdn9g-test-2.streamlit.app/, and from time to time I’m getting a black page.
In the debug console I see

2024-04-15 17:22:09.783 Disconnecting files for session with ID d5aa9997-37a1-4887-80b7-ce6eb3387544
2024-04-15 17:22:09.784 Sessions still active: dict_keys([])
2024-04-15 17:22:09.784 Files: 0; Sessions with files: 0
2024-04-15 17:22:13.819 Removing orphaned files...
2024-04-15 17:22:13.917 Shutting down (id=ed8d72a6-e9fe-40da-b607-f7f22c62cd5f)
2024-04-15 17:22:13.917 Disconnecting files for session with ID ed8d72a6-e9fe-40da-b607-f7f22c62cd5f
2024-04-15 17:22:13.917 Sessions still active: dict_keys([])
2024-04-15 17:22:13.918 Files: 0; Sessions with files: 0
2024-04-15 17:22:13.918 Removing orphaned files...
2024-04-15 17:22:13.918 Shutting down (id=c64cf0af-179d-4084-82ad-ae5b6c5e2136)
2024-04-15 17:22:13.918 Disconnecting files for session with ID c64cf0af-179d-4084-82ad-ae5b6c5e2136
2024-04-15 17:22:13.918 Sessions still active: dict_keys([])
2024-04-15 17:22:13.918 Files: 0; Sessions with files: 0
2024-04-15 17:22:13.918 Removing orphaned files...
2024-04-15 17:22:13.918 Shutting down (id=47d3923e-c9d2-435d-a835-4a60fa2b4807)
2024-04-15 17:22:13.919 Disconnecting files for session with ID 47d3923e-c9d2-435d-a835-4a60fa2b4807
2024-04-15 17:22:13.919 Sessions still active: dict_keys([])
2024-04-15 17:22:13.919 Files: 0; Sessions with files: 0
2024-04-15 17:22:13.919 Removing orphaned files...
2024-04-15 17:22:13.919 Runtime state: RuntimeState.ONE_OR_MORE_SESSIONS_CONNECTED -> RuntimeState.NO_SESSIONS_CONNECTED

Anyone knows what could be the issue?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.