Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoke 'Reconnect to kernel' (Websockets) when requesting kernel status through REST calls #4252

Open
amangarg96 opened this issue Dec 7, 2018 · 0 comments

Comments

@amangarg96
Copy link

This enhancement is suggested on facing #516.

Configuration - JupyterLab with Jupyter Enterprise Gateway (in YARN Cluster Mode) to launch remote IPython kernels on YARN-managed clusters.
System - OSX
JupyterLab version - 0.33.12

When the Notebook server loses connection to the kernels, it polls the state of the kernels through REST calls. If it's able to retrieve the kernel state and it's in active/idle state, it does not attempt the reconnect to kernel (websockets), which needs to be invoked explicitly by choosing [Kernels -> reconnect] in classic Jupyter Notebooks and [Reconnect to kernel] in JupyterLab.

(See #516 for the issue this causes)

A reconnect attempt (I think) is a harmless activity and does not interfere with the state of the kernel, so should be invoked automatically.

cc: @kevin-bates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant