jupyter-incubator / sparkmagic

Jupyter magics and kernels for working with remote Spark clusters
Other
1.33k stars 447 forks source link

IIS 10.0 Detailed Error - 502.3 - Bad Gateway #650

Open virtualdvid opened 4 years ago

virtualdvid commented 4 years ago

Describe the bug Following the documentation I want to connect to a HDI4 cluster But I'm getting IIS 10.0 Detailed Error - 502.3 - Bad Gateway error.

To Reproduce This is in my config.json file:

{
  "kernel_python_credentials" : {
    "username": "{USERNAME}",
    "base64_password": "{BASE64ENCODEDPASSWORD}",
    "url": "https://{CLUSTERDNSNAME}.azurehdinsight.net/livy"
  },

  "kernel_scala_credentials" : {
    "username": "{USERNAME}",
    "base64_password": "{BASE64ENCODEDPASSWORD}",
    "url": "https://{CLUSTERDNSNAME}.azurehdinsight.net/livy"
  },

  "custom_headers" : {
    "X-Requested-By": "livy"
  },

  "heartbeat_refresh_seconds": 5,
  "livy_server_heartbeat_timeout_seconds": 60,
  "heartbeat_retry_seconds": 1
}

Expected behavior Run %%info in a jupyter notebook cell

Screenshots chrome_MvTdL3kjDd

chrome_YG0505vGXi

Versions:

Additional context I can access it with zeppelin same url address.

PedroRossi commented 4 years ago

Hi @virtualdvid I think this issue is more related to the infrastructure of your Livy install, you run zeppelin on our machine or on a azure machine? And are you able to open Livy normally?