Skip to content
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

Open running remote Jupyter notebooks #1573

Closed
mmrnustik opened this issue Dec 12, 2019 · 10 comments
Closed

Open running remote Jupyter notebooks #1573

mmrnustik opened this issue Dec 12, 2019 · 10 comments
Labels
notebook-remote Applies to remote Jupyter Servers

Comments

@mmrnustik
Copy link

VSCode should allow to open and connect to notebooks on Jupyter server visible on /tree? page.

@rchiodo
Copy link
Contributor

rchiodo commented Dec 12, 2019

Have you tried specifying the server URI in our "Python : Specify local or remote jupyter server"

image

That won't work with the /tree form, but it will if you provide the same port as the /tree form and the token you can see on the command line at startup of the server.

We require a token as a security measure.

You can also setup your jupyter notebook to require a password instead (then the token isn't necessary)

@mmrnustik
Copy link
Author

I'm able to create new notebook connected to remote server, but I can't see notebooks already running (created and edited in web browser) and I can't see notebook created in VSCode in jupyter web interface (and I can't send link to colleague etc.).

@rchiodo
Copy link
Contributor

rchiodo commented Dec 12, 2019

Sounds like you want a way to view the file system on the remote server. This issue here is similar:
https://github.com/microsoft/vscode-python/issues/7956

@rchiodo
Copy link
Contributor

rchiodo commented Dec 12, 2019

Our workaround to this problem is to use SSH to connect to the remote machine with VS code.

@rchiodo
Copy link
Contributor

rchiodo commented Dec 12, 2019

Well okay that solves half of the problem. Being able to send a link to a colleague is different. I'm guessing we could support that separately.

@mmrnustik
Copy link
Author

Our workaround to this problem is to use SSH to connect to the remote machine with VS code.
It allows me open notebooks from server, but does it allow connection to already running notebook (with result of long running computation and huge datset loaded)?

@rchiodo
Copy link
Contributor

rchiodo commented Dec 12, 2019

Not yet. Soon. We're working on supporting running kernels.

@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 13, 2020
@Minxiangliu
Copy link

@rchiodo
Hi, I am trying to use vscode for remote jupyter.
I have started the jupyter server on linux.
image

but when I copy the URL in vscode(Windows), there is no response
image

However, the web can be accessed normally
image

What am i missing?

@rchiodo
Copy link
Contributor

rchiodo commented May 18, 2021

@Minxiangliu your issue is a dupe of this: microsoft/vscode#110528

VS code is not allowing the enter key to work.

@greazer greazer added the notebook-remote Applies to remote Jupyter Servers label Aug 5, 2021
@IanMatthewHuff
Copy link
Member

I believe that this initial bug here (showing running sessions on a remote server) has been resolved, so closing this issue. I think that #1366 solves the other issues mentioned.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
notebook-remote Applies to remote Jupyter Servers
Projects
None yet
Development

No branches or pull requests

6 participants