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

Refresh token of remote server connections #856

Closed
sevillal opened this issue Jul 15, 2020 · 2 comments
Closed

Refresh token of remote server connections #856

sevillal opened this issue Jul 15, 2020 · 2 comments
Assignees

Comments

@sevillal
Copy link
Contributor

When connecting to an Azure ML Compute Instance jupyter server the auth token can expire, the Azure ML extension can include an expireOn utc date that can indicate the Python extension when to request a new token.

@greazer
Copy link
Member

greazer commented Jul 16, 2020

Let's try using ping to keep alive.

@rchiodo
Copy link
Contributor

rchiodo commented Jul 17, 2020

Some extra info from Sergio:

Rich, while testing I found that the token does not expire if you keep using the same notebook, but if the token has expired and you open a new notebook then it fails. 

So we should be able to keep it alive with a ping and we need to rerequest when creating a new notebook.

@rchiodo rchiodo self-assigned this Jul 23, 2020
@greazer greazer closed this as completed Aug 26, 2020
@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 11, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants