cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Notebook Detached Error: exception when creating execution context: java.net.SocketTimeoutException:

mithileshtiwar1
New Contributor II

Hello Community,

I have been facing this issue since yesterday. After attaching the cluster to a notebook and running a cell, I get the following error in the community edition of the databricks:

Notebook detached:

exception when creating execution context:
java.net.SocketTImeoutException: Connect Timeout 

Please help me.

Thanks,

Mithilesh Tiwari

8 REPLIES 8

bethere
New Contributor II

Getting the same issue.

Tried the following but did not resolve

- Restarted cluster

- Changed browser

 

Lo
New Contributor II

The same issue here ๐Ÿ˜•

Advika
Databricks Employee
Databricks Employee

Hello All,

There is a similar thread where another user encountered the same issue and shared a solution that worked for them. I suggest reviewing that thread to see if the solution is helpful in your case as well.

Hi Advika,

Thank you for your response. Yes, itโ€™s the same issue, but I donโ€™t see any solutions in this thread.

Thanks,

Mithilesh

karthikjoy
New Contributor II

Hi,

I am also facing the same issue recently in databricks notebook, I tried the following solution:

1. change the spark version and tried again 

2.use the  below code in the advanced spark configuration this also won't work

spark.executor.heartbeatInterval 60s
spark.network.timeout 720s

I have searched many resources not getting correct solutions 

if anyone knows to how to reslove this post here.

 

Dtk07
New Contributor II

Did anyone find a solution? Please post it here. I am facing this error for a long time 

Dtk07_0-1745927206971.png

 

NWW
New Contributor II

I have the same issue. This morning, my cluster worked. It automatically shut down because it was idle for 60 minutes. I created a new one, but it won't run my cells anymore.

Shweta0623
New Contributor II

Hi All,
I am also facing issue.
if anyone knows how to resolve this, please post the solution here.