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

Unable to execute code in JupyterHub #64

Open
DonJayamanne opened this issue Jul 31, 2024 · 3 comments
Open

Unable to execute code in JupyterHub #64

DonJayamanne opened this issue Jul 31, 2024 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@DonJayamanne
Copy link
Collaborator

DonJayamanne commented Jul 31, 2024

Some time in the past few months JupyterLab installed/configured via JupyterHuab is always using the latest WebSocket prortocol.
Fix will be here microsoft/vscode-jupyter#14422
Attempted changes here microsoft/vscode-jupyter#15897 & here https://github.com/microsoft/vscode-notebook-renderers/pull/208/files

Work around

Try overriding this value to ensure its an empty string to use the old protocol
Docs here https://jupyter-server.readthedocs.io/en/latest/other/full-config.html

--ServerApp.kernel_ws_protocol=<Unicode>
    DEPRECATED. Use ZMQChannelsWebsocketConnection.kernel_ws_protocol

BaseKernelWebsocketConnection.kernel_ws_protocolUnicode
Default: None

Preferred kernel message protocol over websocket to use (default: None). If an empty string is passed, select the legacy protocol. If None, the selected protocol will depend on what the front-end supports (usually the most recent protocol supported by the back-end and the front-end).
@DonJayamanne DonJayamanne added the bug Issue identified by VS Code Team member as probable bug label Jul 31, 2024
@DonJayamanne DonJayamanne self-assigned this Jul 31, 2024
@jaymc-arg
Copy link

@DonJayamanne Hi again.
Where do i have to set this configuration? can't find it here. Is it for jupyter server? how can I set it to jupyter hub?

@basiekjusz
Copy link

I'm also encountering this issue, however the workaround does not solve it at all.

@Yelinz
Copy link

Yelinz commented Sep 28, 2024

So there is no workaround if you do not have configuration permission for the jupyterLab server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

4 participants