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.

Enter key has no effect for jupyter instance specification if https is used instead of http

See original GitHub issue

Applies To

  • Notebooks (.ipynb files)
  • Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

I click the “Jupyter Server: local” button in the bottom right corner to specify the path to my already running jupyter instance, I write the path and hit enter, nothing happens. I should be able to connect and use an already running instance. When I enter a bogus path, it tells me that it didn’t find the server specified (which is normal)

VS Code Version

Version: 1.67.1 (user setup) Commit: da15b6fd3ef856477bf6f4fb29ba1b7af717770d Date: 2022-05-06T12:37:03.389Z Electron: 17.4.1 Chromium: 98.0.4758.141 Node.js: 16.13.0 V8: 9.8.177.13-electron.0 OS: Windows_NT x64 10.0.19044

Jupyter Extension Version

2022.4.1021342353

Jupyter logs

Visual Studio Code (1.67.1, undefined, desktop)
Jupyter Extension Version: 2022.4.1021342353.
Python Extension Version: 2022.6.2.
Workspace folder c:\Users\Mher.Movsisyan\Desktop\Projects\sandbox2
info 14:34:36.904: ZMQ install verified.
User belongs to experiment group 'jupyterTestcf'
User belongs to experiment group 'jupyterEnhancedDataViewer'
info 14:34:39.665: Experiment status for python is {"enabled":true,"optInto":[],"optOutFrom":[]}
info 14:34:40.558: Preferred Remote kernel for c:\Users\Mher.Movsisyan\Desktop\Projects\sandbox2\Hw11.ipynb is undefined
info 14:34:40.558: Find preferred kernel for c:\Users\Mher.Movsisyan\Desktop\Projects\sandbox2\Hw11.ipynb with metadata {"interpreter":{"hash":"ad2bdc8ecc057115af97d19610ffacc2b4e99fae6737bb82f5d7fb13d2f2c186"},"kernelspec":{"display_name":"Python 3.9.7 ('base')","language":"python","name":"python3"},"language_info":{"codemirror_mode":"r","file_extension":".r","mimetype":"text/x-r-source","name":"python","pygments_lexer":"r","version":"3.9.7"},"orig_nbformat":4} & preferred interpreter c:\Users\Mher.Movsisyan\AppData\Local\Programs\Python\Python310\python.exe
info 14:34:40.565: Preferred Remote kernel for c:\Users\Mher.Movsisyan\Desktop\Projects\sandbox2\Hw11.ipynb is undefined
info 14:34:40.565: Preferred kernel .jvsc74a57bd0ad2bdc8ecc057115af97d19610ffacc2b4e99fae6737bb82f5d7fb13d2f2c186.c:\ProgramData\Anaconda3\python.exe.c:\ProgramData\Anaconda3\python.exe.-m#ipykernel_launcher is exact match
info 14:34:40.566: PreferredConnection: .jvsc74a57bd0ad2bdc8ecc057115af97d19610ffacc2b4e99fae6737bb82f5d7fb13d2f2c186.c:\ProgramData\Anaconda3\python.exe.c:\ProgramData\Anaconda3\python.exe.-m#ipykernel_launcher found for NotebookDocument: c:\Users\Mher.Movsisyan\Desktop\Projects\sandbox2\Hw11.ipynb
info 14:34:40.566: TargetController found ID: .jvsc74a57bd0ad2bdc8ecc057115af97d19610ffacc2b4e99fae6737bb82f5d7fb13d2f2c186.c:\ProgramData\Anaconda3\python.exe.c:\ProgramData\Anaconda3\python.exe.-m#ipykernel_launcher for document c:\Users\Mher.Movsisyan\Desktop\Projects\sandbox2\Hw11.ipynb
info 14:34:40.969: Process Execution: > ~\AppData\Local\Programs\Python\Python310\python.exe -m pip list
> ~\AppData\Local\Programs\Python\Python310\python.exe -m pip list
info 14:34:41.774: Registering dummy command feature
info 14:34:46.457: Process Execution: > c:\ProgramData\Anaconda3\python.exe -m pip list
> c:\ProgramData\Anaconda3\python.exe -m pip list
info 14:34:50.414: Preferred Remote kernel for c:\Users\Mher.Movsisyan\Desktop\Projects\sandbox2\Hw11.ipynb is undefined
info 14:34:50.414: Find preferred kernel for c:\Users\Mher.Movsisyan\Desktop\Projects\sandbox2\Hw11.ipynb with metadata {"interpreter":{"hash":"ad2bdc8ecc057115af97d19610ffacc2b4e99fae6737bb82f5d7fb13d2f2c186"},"kernelspec":{"display_name":"Python 3.9.7 ('base')","language":"python","name":"python3"},"language_info":{"codemirror_mode":"r","file_extension":".r","mimetype":"text/x-r-source","name":"python","pygments_lexer":"r","version":"3.9.7"},"orig_nbformat":4} & preferred interpreter c:\Users\Mher.Movsisyan\AppData\Local\Programs\Python\Python310\python.exe
info 14:34:50.415: Preferred Remote kernel for c:\Users\Mher.Movsisyan\Desktop\Projects\sandbox2\Hw11.ipynb is undefined
info 14:34:50.415: Preferred kernel .jvsc74a57bd0ad2bdc8ecc057115af97d19610ffacc2b4e99fae6737bb82f5d7fb13d2f2c186.c:\ProgramData\Anaconda3\python.exe.c:\ProgramData\Anaconda3\python.exe.-m#ipykernel_launcher is exact match
info 14:35:12.734: Creating server with url : https://127.0.0.1:5858/

Coding Language and Runtime Version

No response

Language Extension Version (if applicable)

v2022.6.2

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Local

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:19 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
amungercommented, May 18, 2022

Great to hear! I can repro the issue now with that info, so I’m going to leave this bug open since that experience is pretty confusing

1reaction
amungercommented, May 17, 2022

also, can you check if you have any special config settings and share those if possible? They should be in ~/.jupyter on the remote machine if you have anything

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running a notebook server
This document describes how you can secure a notebook server and how to run it on a public interface.
Read more >
Can not Connect to Jupyter Notebook on AWS EC2 Instance
I'm trying to connect to Jypter in Safari from my MacBookPro. I opened https port 443 and TCP 8888 in my security group....
Read more >
Jupyter Notebook on Compute Engine with HTTPS - Medium
I wanted to run/serve Jupyter Notebook from my remote GCE instance and access it through my laptop's browser to test and visualize Python...
Read more >
How to Use Jupyter Notebook: A Beginner's Tutorial - Dataquest
The easiest way for a beginner to get started with Jupyter Notebooks is by installing Anaconda. Anaconda is the most widely used Python ......
Read more >
RDD Programming Guide - Spark 3.3.1 Documentation
Linking with Spark. Scala; Java; Python. Spark 3.3.1 is built and distributed to work with Scala 2.12 by default. (Spark ...
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