question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't change remote Jupyter server without restarting VS Code

See original GitHub issue

Issue Type: Bug

After one of the recent updates, I can no longer change the remote Jupyter server without restarting VS Code. I used to be able to simply comment out the remote and local Jupyter python.dataScience.jupyterServerURIs that I was not using and un-comment the one that I wanted to use and after closing the VS Code Python notebook pane everything would switch just fine. Now after changing the python.dataScience.jupyterServerURI it is only recognized after I restart VS Code.

Is there a way to get back the old behavior? It was much more convenient.

	"settings":  {
		// local
		// "python.dataScience.jupyterServerURI":  "local"
		// Remote # 1
		// "python.dataScience.jupyterServerURI": "http://100.100.100.001:8888/?token=*******************"
		// Remote # 2
		"python.dataScience.jupyterServerURI": "http://100.100.100.002:8888/?token=*******************"
	 }

Extension version: 2020.9.114305 VS Code version: Code 1.50.1 (d2e414d9e4239a252d1ab117bd7067f125afd80a, 2020-10-13T15:06:15.712Z) OS version: Windows_NT x64 10.0.18363

System Info
Item Value
CPUs Intel® Core™ i5-6300U CPU @ 2.40GHz (4 x 2496)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.88GB (5.36GB free)
Process Argv –crash-reporter-id f652528b-5678-4b12-9ca0-3de6b1e1135f
Screen Reader no
VM 0%

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
steventartakovsky-vunglecommented, Oct 27, 2020

Also @DavidKutu, FYI it seems that the url of the remote connection gets cached and cannot be easily modified even after reload.

1reaction
claymscommented, Oct 22, 2020

@DavidKutu sure, give me a few more days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working with Jupyter Notebooks in Visual Studio Code
Work with Jupyter code cells; View, inspect, and filter variables using the Variable Explorer and Data Viewer; Connect to a remote Jupyter server;...
Read more >
VSCode Jupyter error when attempting to connect to remote ...
Restart the remote server (nothing changes); Manually port forward and view the Jupyter notebook in Google Chrome (works); Check for updates (no ......
Read more >
Connecting to a Remote Jupyter Notebook Server Running on ...
If you want to change the remote Jupyter kernel URL, you either need to quit VS Code, restart it, and go through the...
Read more >
Can't restart kernel in VSCode jupyter notebook - VS Code
Tried it in jupyterlab and there it works fine, so seems to be with the VSCode plugin and not the kernel. Are you...
Read more >
DataSpell - Manage Jupyter notebook servers - JetBrains
In DataSpell, you can execute code cells using: Managed server – a Jupyter server that is automatically launched by DataSpell for the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found