vscode-jupyter: Unable to connect to a remote server

Type: Bug

I am unable to tunnel into jupyter notebooks on vscode. I have to open a separate browser window.

Extension version: 2022.9.1303220346 VS Code version: Code 1.73.1 (Universal) (6261075646f055b99068d3688932416f2346dd3b, 2022-11-09T02:08:38.961Z) OS version: Darwin arm64 22.1.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) 1, 2, 2
Memory (System) 16.00GB (0.15GB 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 3289)
Memory (System) 251.59GB (105.83GB free)
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
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
azure-dev_surveyone:30548225
vscccc:30610679
pyindex848cf:30577861
nodejswelcome1cf:30587006
fc301958:30595537
3biah626:30602489
gswce1:30612156
iaj6b796:30613358
dbltrim-noruby:30604474
89544117:30613380

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

I tried copying and pasting the verbose output here, but it exceeded the character limit.

I should clarify:

  • this issue started happening last week, when I updated to the very latest version of VScode
  • my earlier issues prior to last week were due to me not finding the right documentation for connecting
  • my personal guess is that some change in the version of VScode that was released last week is to blame

If I try to log into a cloud service that uses Github’s login API to access jupyter notebooks, VScode won’t accept th

Please could you file a seperate issue for this.

For tunnel into jupyter I essentially mean this:

1.) When logged into the HPC I will access a compute node with something like this: interact -n 32 -p node-shared -t 1:00:00

The HPC will give me the name of the node, let’s say it’s r177.

2.) On another terminal on my desktop I will tunnel into HPC with a port number, say 8765: ssh -L localhost:8765:localhost:8765 username@hpc.university.edu

3.) On this same terminal, I will tunnel into the compute node using that port number and the name of the node: ssh -L localhost:8765:localhost:8765 r177

4.) Back on the original HPC window in VScode I will tunnel into the notebook conda activate myenvironment jupyter lab --port=8765 --no-browser --ip=0.0.0.0

However, I can only open this notebook on a browser. As previously mentioned, the instructions for getting this to work on VScode don’t work for me.