Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello Community,
I'm new to using Microsoft Fabric and am encountering a challenge that I hope some of you might be able to assist me with. I've been trying to run a Jupyter notebook in Visual Studio Code, but I keep running into a kernel connection timeout issue.
Here’s what I see when I try to start the notebook:
```
Failed to start the Kernel.
Unable to start Kernel 'fabric-synapse-runtime-1-1 (Python 3.10.10)' due to a connection timeout.
```
I've attached a screenshot of the error for reference.
What I've tried so far:
- Ensuring that the Conda environment is correctly set up and activated.
- Checking that the IPython kernel is installed and up to date.
- Uninstalling VS Code and reinstall all the extensions.
Despite these efforts, I'm still facing the timeout error. Could anyone provide some guidance on what might be causing this and how to resolve it? Any insights or suggestions would be greatly appreciated, especially from those familiar with Synapse and Fabric on VS Code.
Thank you so much for your time and help!
Solved! Go to Solution.
Hi @v-nikhilan-msft ,
Thank you so much for your help. I have raised a support ticket for this issue. Ticket Number is 2403130040001992.
Hi @Anonymous
The issue in your case is the session is starting very slowly. Can you please add the JupyterLaunch Timeout like this:
Default timeout is 60000 ms (1 minutes). Set the Default timeout to 10 mins (i.e) 600000ms. After setting the timeout you can connect to the cluster successfully.
Hope this helps. Please let me know if you have any further queries.
Hi @Anonymous
Thanks for using Fabric Community.
Can you please check if the spark version in your notebook is also set to runtime 1.1 version?
Thanks.
Hi @v-nikhilan-msft ,
Yes the spark version in my notebook is also set to runtime 1.1 version. I'm able to run this notebook in the UI but not locally in vscode.
Thank you.
Hi @Anonymous
Thanks for the details.
At this time, we are reaching out to the internal team to get some help on this. We will update you once we hear back from them.
Thanks
Hi @Anonymous
Apologies for the issue you have been facing.
If the issue still persists, please reach out to our support team so they can do a more thorough investigation on why this is happening: Link
After creating a Support ticket please provide the ticket number as it would help us to track for more information.
Hope this helps. Please let us know if you have any other queries.
Hi @v-nikhilan-msft ,
Thank you so much for your help. I have raised a support ticket for this issue. Ticket Number is 2403130040001992.
Hi @Anonymous
The issue in your case is the session is starting very slowly. Can you please add the JupyterLaunch Timeout like this:
Default timeout is 60000 ms (1 minutes). Set the Default timeout to 10 mins (i.e) 600000ms. After setting the timeout you can connect to the cluster successfully.
Hope this helps. Please let me know if you have any further queries.
Thanks!!! you don't know how much this helped me
Hi @v-nikhilan-msft,
Making this change helped me overcome this connection timeout error. Thank you once again.
Hi @Anonymous
Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.
User | Count |
---|---|
33 | |
14 | |
6 | |
3 | |
2 |
User | Count |
---|---|
39 | |
22 | |
11 | |
7 | |
6 |