question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to list clusters: might the server extension not be installed/enabled?

See original GitHub issue

Hello,

I’m having troubles to get my dashboard setup on a SageMaker notebook instance.

Tests I’ve done:

- Checked serverextension list:
(JupyterSystemEnv) sh-4.2$ jupyter serverextension list
config dir: /home/ec2-user/.jupyter
    jupyterlab_git  enabled 
    - Validating...
Error loading server extension jupyterlab_git
      X is jupyterlab_git importable?
config dir: /home/ec2-user/anaconda3/etc/jupyter
    dask_labextension  enabled 
    - Validating...
      dask_labextension 1.0.3 OK
    ipyparallel.nbextension  enabled 
    - Validating...
      ipyparallel.nbextension  OK
    jupyter_server_proxy  enabled 
    - Validating...
      jupyter_server_proxy  OK
    jupyterlab  enabled 
    - Validating...
      jupyterlab 0.32.1 OK
    nbdime  enabled 
    - Validating...
      nbdime 1.1.0 OK
    nb_conda  enabled 
    - Validating...
      nb_conda 2.2.1 OK
  • copy-pasted the url below in the extension search box image

Nothing much happens doing that.

The pop up error “Failed to list clusters: might the server extension not be installed/enabled?” show up when disabling/enabling the lab extension.

Tried: https://github.com/dask/dask-labextension/issues/61#issuecomment-515786252

Any ideas?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:21 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jacobtomlinsoncommented, May 20, 2020

A quick note if you don’t mind your dashboard being exposed to the internet on some obscure URL you can always proxy it with serveo. Bit of a hacky workaround but thought I’d share anyway.

Once you have your Dask cluster running in Sagemaker you can open a terminal and run ssh -R 80:localhost:8787 serveo.net where localhost:8787 is the host and port of your dashboard relative to the notebook server. It will probably ask you to accept some host keys but then it will print a URL where your dashboard will be available.

image

image

In this example the subdomain virgo was randomly assigned but you can also override this if you check the serveo docs.

1reaction
dschickcommented, Nov 13, 2019

okay,

jupyter serverextension enable dask_labextension

solved the problem, although I am running jupyter notebook 6.0.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jupyter Lab - dask-labextension not working - Stack Overflow
In juyerlab start up pop up error message - ERROR: "Dask Server Error Failed to list clusters: might the server extension not be...
Read more >
dask-labextension - PyPI
This package provides a JupyterLab extension to manage Dask clusters, ... If you are running Notebook 5.2 or earlier, enable the server extension...
Read more >
JupyterLab Extension for Dask - Morioh
This package provides a JupyterLab extension to manage Dask clusters, ... If you are running Notebook 5.2 or earlier, enable the server extension...
Read more >
Enabling Jupyter Notebook extensions - The Littlest JupyterHub
Enabling extensions via the command line​​ There are multiple ways to install contributed extensions. For this example, we will use pip .
Read more >
Known Issues | Container Service Extension (CSE) - VMware
Cluster creation fails when VCD external network has a DNS suffix and the DNS server resolves localhost.my.suffix to a valid IP ... This...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found