jupyter / nbclassic

Jupyter Notebook as a Jupyter Server extension
https://nbclassic.readthedocs.io/en/latest
BSD 3-Clause "New" or "Revised" License
69 stars 60 forks source link

Websocket connection closes when left idle #231

Open kamalsharma2 opened 1 year ago

kamalsharma2 commented 1 year ago

I've been using a system which uses a proxy and a certain VPN which closes idle connections after a certain timeout. Due to this the WebSocket connection to the jupyter server closes if no cells are run for a certain period and the state of the next cell run shows up as "Queuing", however if we check the Network Console, we find that a new WebSocket connection gets established and then re-running the cells works fine with the last run cell incorrectly showing the state as "Queuing" even though it runs fine. Is there any way to avoid the disconnection?