dask / dask-gateway

A multi-tenant server for securely deploying and managing Dask clusters.
https://gateway.dask.org/
BSD 3-Clause "New" or "Revised" License
135 stars 87 forks source link

Launch Dashboard in JupyterLab button does not work for gateway cluster backed client #830

Open jbusecke opened 1 month ago

jbusecke commented 1 month ago

Describe the issue: I am working on the leap hub provided by 2i2c using the pangeo/pangeo-notebook:2024.04.08 image

Minimal Complete Verifiable Example:

# lets get some help
from dask_gateway import Gateway
gateway = Gateway()
cluster = gateway.new_cluster()
client = cluster.get_client()
client

Gives me

image

But pressing the button does not do anything.

Anything else we need to know?:

I confirmed that both of the following work:

from distributed import Client
client_local = Client()
client_local

So the issue must be somehow specific to dask gateway?

Environment:

Using the pangeo/pangeo-notebook:2024.04.08 image