I have a streamlit application deployed behind a load balancer. The load balancers usually have a maximum timeout for websocket connections. After this timeout, the websocket connection will get closed by the load balancer as expected. The issue is streamlit application fails to re-establish the websocket connection. In the network tab, the applications keeps on sending websocket requests and their statuses turn to “Finished” rather than 101.