WebSocket connection failure and kernel disconnection
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 13.3k
- Forks
- 5.8k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 7
Description
We are using Jupyter notebook installed on HDInsight spark cluster. While executing long running notebook, using FQDN URL, we are facing WebSocket connection failure and kernel disconnection
If we use internal URL of the head node to connect, whole process works without any issue.
Screen shot of the error log from Firefox debug window:

Is there a proxy setting(related to timeout) that we need to configure, if we are accessing the notebook behind a proxy/gateway?
Total running time of the sample notebook that we are testing is ~20 mins
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the roughly 20-minute notebook run through the FQDN URL and proxy or gateway, comparing it with the working internal head-node URL. Inspect the Firefox WebSocket error and the proxy timeout configuration; done means the kernel remains connected for the long-running run through the external URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, spark
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100