Remote connection with vscode-python
- Dominant language
- Jupyter Notebook
- Stars
- 13.3k
- Forks
- 5.8k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 7
Description
I'm trying to connect to a remote jupyter kernel running on EC2 with SSL/SSH. I can connect fine by port forwarding and visiting https://localhost/port. However, when I try to connect using vscode-python extension, in my jupyter server logs I see the error:
`[W 00:04:57.316 LabApp] error on read: [SSL: KRB5_S_TKT_NYV] unexpected eof while reading (_ssl.c:2309)`
I've tried modifying `c.NotebookApp.ssl_options = ` to `{'ssl_version': 5}` and ` {'ssl_version': ssl.PROTOCOL_TLSv1_2}`, but still get the error with both.
Contributor guide
Research direction
Start by reproducing the reported vscode-python connection to the remote Jupyter kernel on EC2 using the described SSL/SSH setup, then inspect the Jupyter server log for the SSL EOF error. Done means the extension connects successfully without producing that server-side error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, jupyter-notebook, vscode
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100