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

Test HTTPS for a jupyter server to use in the jupyter web extension #10167

Closed
1 task done
rchiodo opened this issue May 27, 2022 · 1 comment
Closed
1 task done

Test HTTPS for a jupyter server to use in the jupyter web extension #10167

rchiodo opened this issue May 27, 2022 · 1 comment
Labels
testplan-item triage-needed Issue needs to be triaged
Milestone

Comments

@rchiodo
Copy link
Contributor

rchiodo commented May 27, 2022

Testing the jupyter web extension can connect to an HTTPS jupyter server

Refs: #9754

Complexity: 4

Authors: @rchiodo

Create Issue


Requirements

Test connecting to https

  1. Go to a command prompt
  2. Activate the python environment with jupyter in it
  3. Run jupyter with the following command line : jupyter notebook --no-browser --NotebookApp.allow_origin=* --certfile=mycert.pem --keyfile mykey.key
  4. Note the URL it generates for connecting. It should start with https.
  5. Start a browser
  6. Navigate to the https location from step 4.
  7. Browser should say the certificate isn't trusted (unless you generated a trusted one)
  8. Accept this certificate anyway
  9. Make sure you can get to the jupyter notebook UI in the browser (the one from jupyter, not VS code).
  10. Create a tab with insiders.vscode.dev
  11. Make sure Jupyter prerelease extension is installed
  12. Bring up command palette
  13. Pick 'Jupyter: Specify jupyter server for connections'
  14. Pick 'Existing'
  15. Enter the URL from step 4
  16. The quick pick should close

Test kernel connection

  1. Open a new notebook
  2. Pick the 'Python 3' kernel
  3. Add some code
  4. Run a cell
  5. Verify you get some output
@rchiodo rchiodo added the bug Issue identified by VS Code Team member as probable bug label May 27, 2022
@github-actions github-actions bot added the triage-needed Issue needs to be triaged label May 27, 2022
@rchiodo rchiodo added testplan-item and removed bug Issue identified by VS Code Team member as probable bug labels May 27, 2022
@joaomoreno joaomoreno added this to the May 2022 milestone Jun 1, 2022
@paulacamargo25 paulacamargo25 removed their assignment Jun 1, 2022
@paulacamargo25
Copy link

The connection with the kernel works, nice job!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
testplan-item triage-needed Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

3 participants