locked
Jupyter notebook connection error RRS feed

  • Question

  • I am trying to run the sample that shows how to use BI tools with Spark.
    https://azure.microsoft.com/en-us/documentation/articles/hdinsight-apache-spark-use-bi-tools/

    I
     have created a cluster 5 times already but always get the same result when I try to use a Jupyter notebook:

    Connection failed

    A connection to the notebook server could not be established. The notebook will continue trying to reconnect. Check your network connection or notebook server configuration.

    The first time I click on the cluster dashboard I get prompted for the cluster user/password.
    I enter them and can then see the cluster and all its metrics etc.
    So I know the user/password I set up are valid.

    But when I try to open a notebook to proceed with the sample, I get the above connection error.
    Again, 5 times I deleted and re-created the cluster, each time the same result.

    If it makes a difference I am using Safari on OS X 10.11.4.

    Any suggestions from those who have successfully run the sample?


    • Edited by howdy_doody Thursday, June 30, 2016 8:21 PM
    Thursday, June 30, 2016 8:20 PM

Answers

  • Hi Pradeep,

    Thank you for the suggestions.

    I tried two different Macs which have never opened any Azure web page before.
    So the Safari cache on each would not have any old Azure bits.

    Both had exactly the same problem.
    Can see the cluster dashboard but the notebook fails to connect.

    I then tried chrome on one of the Macs and that works.
    But I would prefer to use Safari if possible to continue the testing.

    So ... is Safari not supported on Azure HDInsight (or the notebook part of it)?
    That seems like a severe limitation if true?

    Friday, July 1, 2016 4:58 PM
  • Hi, this is correct. Safari is not supported.

    Maxim


    Friday, July 1, 2016 5:15 PM

All replies

  • Hello,

    Thank you for posting here!

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

    Or try to use any other browsers.

    If you still facing same issue, try to deactivate anti-virus software and firewall.

    Let me know the status.

     

    Regards,

    Pradeep

     

    If a post answers your question, please click Mark as Answer on that post and Vote as Helpful.

    Friday, July 1, 2016 6:28 AM
  • Hi Pradeep,

    Thank you for the suggestions.

    I tried two different Macs which have never opened any Azure web page before.
    So the Safari cache on each would not have any old Azure bits.

    Both had exactly the same problem.
    Can see the cluster dashboard but the notebook fails to connect.

    I then tried chrome on one of the Macs and that works.
    But I would prefer to use Safari if possible to continue the testing.

    So ... is Safari not supported on Azure HDInsight (or the notebook part of it)?
    That seems like a severe limitation if true?

    Friday, July 1, 2016 4:58 PM
  • Hi, this is correct. Safari is not supported.

    Maxim


    Friday, July 1, 2016 5:15 PM
  • thank you for clarifying Maxim.

    that is pretty funny though given the prevalence of macs in the big data "scene".

    anyway, it would be nice to get a warning if using safari to avoid wasting time.
    fwiw, i noticed i got a warning that ie8 is not supported when i tried this from an older win7 machine.

    Friday, July 1, 2016 8:33 PM
  • That's a good suggestion. We'll add warning for Safari. Thank you.
    Friday, July 1, 2016 8:57 PM