You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When connecting to remote jupyter servers we create sessions:
// Try creating a session just to ensure we're connected. Callers of this function check to make sure jupyter// is running and connectable.constsession=(awaitthis.sessionManager.startNew(undefined,defaultKernel,launchInfo.connectionInfo.rootDirectory,cancelToken,launchInfo.disableUI))asJupyterSession;constidleTimeout=this.configService.getSettings().jupyterLaunchTimeout;// The wait for idle should throw if we can't connect.awaitsession.waitForIdle(idleTimeout);awaitsession.dispose();
If we want to check if the jupyter server is running & connectable, why not use an API such as getting a list of the kernels.
This feels unnecessary.
E.g. if we cannot start the default kernel then we cannot connect at all (& we have a few issues where users connecting to remote servers cannot start the default kernel). I too ran into this a few months ago, admittedly its because my default python kernel was busted.
I think we can just remove this & test connectivity by simply calling the API to get a list of kernels/sessions or similar API.
The text was updated successfully, but these errors were encountered:
Ran into this bug today and Don was able to isolate the issue for me and unblock me. In this case there were no notifications or any indication that something was broken. After re-installing conda I was able to see the Failed to start the kernel error.
When connecting to remote jupyter servers we create sessions:
If we want to check if the jupyter server is running & connectable, why not use an API such as getting a list of the kernels.
This feels unnecessary.
E.g. if we cannot start the default kernel then we cannot connect at all (& we have a few issues where users connecting to remote servers cannot start the default kernel). I too ran into this a few months ago, admittedly its because my default python kernel was busted.
I think we can just remove this & test connectivity by simply calling the API to get a list of kernels/sessions or similar API.
The text was updated successfully, but these errors were encountered: