vscode-jupyter: Cannot connect to remote server by specifying URL
Type: Bug
Error message: “A Jupyter Server with this already exists”
It won’t let me connect to it (or find it if it already exists). Unclear why this is happening.
Extension version: 2023.3.1000892223 VS Code version: Code 1.77.0 (Universal) (7f329fe6c66b0f86ae1574c2911b681ad5a45d63, 2023-03-29T09:57:11.797Z) OS version: Darwin arm64 22.4.0 Modes: Sandboxed: No Remote OS version: Linux x64 4.18.0-193.28.1.el8_2.x86_64
System Info
Item | Value |
---|---|
CPUs | Apple M1 (8 x 24) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
Load (avg) | 2, 4, 12 |
Memory (System) | 16.00GB (0.06GB free) |
Process Argv | –crash-reporter-id e2493ef2-63f6-4853-8d76-bd91aaff010d |
Screen Reader | no |
VM | 0% |
Item | Value |
---|---|
Remote | SSH: bridges2.psc.edu |
OS | Linux x64 4.18.0-193.28.1.el8_2.x86_64 |
CPUs | AMD EPYC 7742 64-Core Processor (256 x 3274) |
Memory (System) | 251.59GB (76.65GB free) |
VM | 0% |
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30610679
nodejswelcome1cf:30587006
3biah626:30602489
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
a9j8j154:30646983
showlangstatbar:30672706
vsccsb:30677849
pythonb192cf:30669361
azdwalk:30687957
pythonms35:30701012
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 22 (6 by maintainers)
I have found a quick (hopefully temporary) fix for this:
After doing this, one can reload the window:
Developer: Reload Window
and then re-start the same process. After choosingExisting Jupyter Server
, the jupyter server you just added should appear in the list of existing servers. There it can be chosen, and afterwards, you can choose the appropiate kernel.Whenever I try
Select Kernel
->Select Another Kernel...
->Existing Jupyter Server...
->Enter the URL of the running Jupyter server
add the url and click enter it asks again for the link and doesn’t save it. If you try to add it again it displaysA Jupyter Server with this already exists
Thank you @DonJayamanne ! Using Jupyter Notebooks in VS Code is a great experience for me.
Will fix in the next recovery build (within a day or two)
Same problem here after
Enter the URL of the running Jupyter server
, andDeveloper: Reload Window
works for me now.The fix has been shipped, please install the latest version of the Jupyter extension
Specify Jupyter Server for Connections
Kernel Picker
and add a remote URLSelect Another Kernel => Existing Jupyter Server
, then enter the URL there (previously this too didn’t work, that issue too has been resolved in the latest fix)