Spark - Jupyter notebook connection error RRS feed

  • Question

  • I do the following:

    1. click "Jupyter Notebook

    2. Click HVACTutorial.ipynb

    3. Notebook opens ok, but I get the following error message: "A connection to the notebook server could not be established. The notebook will continue trying to reconnect but until it does you will NOT be able to run code. Check your network connection or or notebook server configuration".

    4. There is nothing wrong with my network connection. Please advise!

    Best regards,


    Saturday, July 25, 2015 1:05 PM

All replies

  • Hi Chrthi,

    Thanks for posting here.

    I regret for the inconvenience caused.

    I suggest you to clear the cookies, cache and also try re-connecting from the portal.

    Ref: http://blogs.technet.com/b/machinelearning/archive/2015/07/24/introducing-jupyter-notebooks-in-azure-ml-studio.aspx


    Hope this helps you.

    Let us know the status.

    In the meanwhile, let me involve the experts in this for best solution.

    Girish Prajwal

    Sunday, July 26, 2015 12:27 PM
  • Hi Girish,

    thanks for helping out! Thanks for the links. It has been a few weeks since I last visited my Machine Learning on Azure, and I am really happy that Microsoft has added Jupyter and Python support! I created a test jupyter notebook and it worked without problems.

    Unfortunately, even after deleting cookies. reconnecting etc. it is not possible to connect a Jupyter notebook to the Spark cluster as described in my first posting.

    Any and all tips appreciated!

    Best regards,


    Sunday, July 26, 2015 10:08 PM
  • Hello again Girish,

    just to make sure there is no error on my side I signed up for a trial Spark subscription at Databricks. I experienced no problems in setting up a Jupyther Python notebook and programming my spark cluster there...

    Best regards,


    Thursday, July 30, 2015 6:44 PM
  • Hi ChrThi,

    I was able to execute the code in the notebook. may i request you to try recreating the cluster and launching the jupyter notebook again, if the error persists, we may have to proceed by looking probably at the network you are being logged to, did you try launching the notebook via wifi? i say so because  i did work on one of the cases wherein the problem was with the LAN and not wifi.


    Sunday, August 23, 2015 6:47 AM
  • Hi, 

    Was there any improvement on this issue? 

    Thank you

    Tuesday, May 5, 2020 6:17 AM
  • Hi Giulia,

    Since the thread is too old, I would recommend you to create a new thread with as much details about your issue as possible. That would enhance the visibility of the issue.

    Tuesday, May 5, 2020 12:31 PM