vscode-jupyter: Failed to connect to Jupyter notebook.
Hi, I try to connect to a server running on port 8888 (can be a local server or a forwarded ssh port).
I tried to specify multiple URI, like http://localhost:8888/
and http://127.0.0.1:8888/
, but I always get the same error Failed to connect to Jupyter notebook.
.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 27 (12 by maintainers)
Hi, sorry I didn’t have time.
I just tested and it works. I did the following:
ssh -L 8887:localhost:8888 remote
jupyter notebook
http://localhost:8888/?token={long hexa string}
and replaced 8888 by 8887Python: Specify Jupyter server URI
>Type in the URI for the Jupyter server
multiprocessing.cpu_count()
to be sure)I don’t have the Don Jayamanne extension anymore.
@EED85 Thanks for getting back here. I’ve reopened the issue. Sorry about how hard this is to diagnose, it’s just tricky when I don’t have a local repro of the issues yet. I appreciate the help.
One think to check here. The Jupyter support is actually part of the main Python extension currently. The Jupyter extension with Don Jayamanne is not the same thing. That extension is actually discontinued as the functionality is rolling into the main extension. Could you try the scenario again after disabling the Jupyter extension? The two of them do similar things and they may be interfering with each other.