-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't connect to gateway cluster created from dask labestension #748
Comments
I think this is hitting dask/dask-labextension#135. I can take a shot at that fixing that in dask-labextension. |
Thanks Tom! Not very urgent, but I wanted to flag it. |
Echoing @rabernat's issue, I'm getting the same error |
Here's an idea for a workaround. You can successfully create dask gateway clusters from the labextension. You just can't inject code to connect to them into your notebook. After creating a cluster from the labextension, try this: from dask_gateway import Gateway
gateway = Gateway()
clusters = gateway.list_clusters()
cluster = gateway.connect(clusters[0].name) Not quite as simple as before, but it does allow you to easily share clusters between notebooks. |
That should be on the instruction page as long as the 'regular way' does not work. |
I'm getting the following GatewayClusterError when trying to activate my clusters on Binderhub:
I've been trying to call them via:
which works on the Pangeo Jupyterhub but fails in the Binderhub. I tried @rabernat 's idea but it didn't work for me. |
@roxyboy - right now we're in an awkward state where binderhubs require dask-gateway>=0.9 but jupyterhubs require dask-gateway<0.9. Hopefully things will get normalized this week. |
On GCP, I created a dask gateway cluster with the dask labextension. But when I injected the code to connect to it, it didn't work:
The text was updated successfully, but these errors were encountered: