coiled / feedback

A place to provide Coiled feedback
14 stars 3 forks source link

Coiled Dashboard link not accessible on a CI system #264

Closed aimran-adroll closed 6 months ago

aimran-adroll commented 6 months ago

In the CI system, the generated dashboard link does not have the appropriate auth to click through.

e.g If we do the recommended

from coiled import Cluster
cluster = Cluster(...)

from dask.distributed import Client
client = Client(cluster)
print('Dashboard:', client.dashboard_link)

it spits out a link just fine with ...?token=dOneHeSE8RAR5ic1 bit as well. But clicking on the link takes me to this page

image

I also noticed the "dashboard link" from the coiled page is not accessible in this case as well. It brings up the same error page as above ☝🏽

image

phofl commented 6 months ago

Hi,

sorry for the confusing error message here. This error also shows up if you don't have bokeh installed in your environment. Your latest cluster doesn't seem to have it installed, so adding bokeh should fix that (the Dashboards are built with bokeh)

aimran-adroll commented 6 months ago

Ah! Thanks Patrick. Will try it and report back

aimran-adroll commented 6 months ago

@phofl sorry, completely forgot to close out the issue. Your diagnosis was spot on. Thanks