-
Notifications
You must be signed in to change notification settings - Fork 294
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
Support for Remote in IW window #6881
Comments
here the output for the 501 not implemented error:
here a screenshot of the not working workspace with the interactive window and error message, i tried to run the very first cell with the imports: Here a screenshot of the working worksapce with an executed cell: |
@ghylander Would you mind sharing steps for how you set up your Jupyter server in WSL so I can try to reproduce the issue? Did you notice this issue with a recent update, or has this been a problem for some time? Would you mind providing the full Jupyter output logs as well (not just the specific error callstack)? Thank you! |
Hi, I am having this problem as well, are there any updates? I can send my logging information |
@brosand Please do send any logs you have so we can track this down 😊 |
So in the window logs in vscode I see this message:
|
So previously I was only having this issue with the interactive window, and not the built in jupyter notebook, which I was able to run last night and this morning. However, I just created a new jupyter instance on my remote server, and upon connecting to it, got the same error with the jupyter notebook. To be clear, with previous jupyter sessions I only had problems with the interactive window, now it's both.
Also to clarify, I can manually run code in the interactive window without any problems. |
Hi, Ubuntu user here. I was having the same issue, I re-installed the jupyter extension package. It is working for me now. |
I was able to solve the issue by opening up a new workspace, but it would be great to know if there is a better solution, the jupyter reinstall did not help me. Also, if it matters, this is all taking place on a remote server |
I have the same problem as brosand. Working interactively with python locally works fine, but when connecting interactively to a remote jupyter server I get a 501 not implemented error. My main window logs
The rest OSMacos 11.5.2VS CodeVersion: 1.59.1 Commit: 3866c3553be8b268c8a7f8c0482c0c0177aa8bfa Date: 2021-08-19T11:53:52.479Z Electron: 13.1.7 Chrome: 91.0.4472.124 Node.js: 14.16.0 V8: 9.1.269.36-electron.0 OS: Darwin x64 20.6.0VS Code ExtensionsName: Atom One Light Theme Id: akamud.vscode-theme-onelight Description: One Light Theme based on Atom Version: 2.2.3 Publisher: Mahmoud Ali VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=akamud.vscode-theme-onelightName: Azure Log Analytics (Kusto) Syntax Highlighting Name: Better TOML Name: C/C++ Name: Docker Name: Go Name: Jupyter Name: Markdown All in One Name: Prettier - Code formatter Name: Prettier+ Name: Pylance Name: Python Name: Remote - SSH Name: Remote - SSH: Editing Configuration Files Name: XML Tools |
I too have noticed this |
I started getting this today as well after updating to VSCode 1.59. The error appears for both local and remote Jupyter kernels. The code works when copy-pasting into the execution prompt, but running the cell gives the 501 error. |
Just reproed this on a CI run https://github.com/microsoft/vscode-jupyter/pull/7310/checks?check_run_id=3437356276#step:35:1453 Will investigate |
I had the same problem ( 501 not implemented). It turned out, that the problem was on the Jupyter server-side, and not on VS code side. If you have such a problem, first try to run cell in Jupyter web interface. In my case, restarting of Jupyter server solved the problem. |
Tested this again at work today. Notebook Python However, if I just run the same command in the interactive window it runs. The connection between VS Code locally and the jupyterhub server is there, but it seems like the commands aren't being passed when I run a specific cell to the remote server. I have full access to all the data and can inspect it from the variables menu. Not sure if that helps but it does show that
At work we use each workspace to separate each employee's access to different databases so it's not really an option to just create a new one. We have separate workspaces for different projects too and we'd like to reuse them, especially in cases where we share them. |
Just reporting the same issue connecting to a remote kernel MacOS 11.5.2 Logs attached.
|
On Linux, downgrading from the most recent version (v2021.8.1236758218, released 16 days ago) to the previous version (v2021.8.1195043623, released 29 days ago) fixed the issue for me. Given when this issue was created, I think it's clear that the problem starting happening with the most recent release. |
I can replicate this issue.
|
Issue Type: Bug
i have a .py file i run in an interactive window with cells
first i start a jupyter server in a WSL, then connect to it
when i try to run any cell, i get the error "Invalid response: 501 Not Implemented"
the server is started in the exact same working directory as the visual studio workspace
this doesnt always happen, i have a second jupyter server running in a different directory serving a different workspace and i can run interactive files no problem. Both use the same WSL and interpreter within it
VS Code version: Code - Insiders 1.59.0-insider (e437d424c5e6de97632f5513229c7ebc2cf27a32, 2021-07-28T05:13:47.114Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (11)
(2 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: