I am using panel and in the config I am using Add notifications on connect and disconnect — Panel v1.6.2. This seems to work fine however when I leave the browser for a long time and come back the UI is unresponsive and no notifications are displayed. The browser console shows a number of messages like those seen below.
Any ideas how to display that as a notification to the user to reload ?
...
[bokeh 3.6.3] not connected so cannot send
send @ bokeh.min.js?
...
there doesn’t seem to be a clear, consistent fix. It feels like something that should’ve been addressed more robustly by now, especially considering how central Bokeh is to the HoloViz ecosystem.
I’ve tried restarting the server, clearing browser cache, even running in different environments…same result. For a tool that’s meant to make interactive visualizations easier, these connection issues really kill the experience.
Would love to see the devs prioritize this or at least provide more detailed guidance on what actually causes the disconnects.