Skip to content

Issue with dashboard when using DASK with --dashboard-prefix with Python3.7 #6141

Closed
dask/distributed
#3746

Description

@mt-krainski

Hey,

I just made a fresh installation of dask 2.15.0 with the latest related packages. When running with --dashboard-prefix, the dashboard doesn't render properly - references to bokeh*.min.js files are broken. They result in 404s.

I have:

python 3.7.5
dask==2.15.0
bokeh==2.0.2
distributed==2.15.0

From what I've noticed, when using Python 3.8 everything works as expected. Also, I'm not sure why, but it turns out downgrading distributed to 2.14.0 resolves the issue.

Activity

  1. jrbourbeau commented on Apr 27, 2020

    @jrbourbeau
    Member

    Thanks for raising this issue @mt-krainski! Do you have any logs or tracebacks you can post to help the debugging process?

  2. mt-krainski commented on Apr 27, 2020

    @mt-krainski
    Author

    I'd be happy to post something, I'm just not sure if dask is logging requests to the dashboard anywhere? The scheduler on it's own doesn't log anything suspicious.

    Running e.g. with

    dask-scheduler --dashboard-prefix dask
    

    The dashboard then is on localhost:8787/dask/status it looks like on the screenshot below

    image

    In the network tab of the developer tools of the browser, one can see that the requests for bokeh*.min.js files are failing with a 404.

    image

  3. mrocklin commented on Apr 27, 2020

    @mrocklin
    Member
  4. jrbourbeau commented on Apr 27, 2020

    @jrbourbeau
    Member

    I can reproduce the 404 errors. It seems the prefix is not being filled in for bokeh-related files. The HTML source for the status page is pointing to:

    localhost:8787/dask/static/js/bokeh.min.js?v=ac90935137e13ae0b2c6583f2e1f3fe8
    

    which doesn't exist. However if I remove the dask/ prefix between 8787/ and static, then I'm able to properly navigate to the .js file locally. I'll navigate through dask/distributed#3658, but if someone knows where we pass path information to bokeh for where it should put .js files that would be very useful

  5. mrocklin commented on Apr 27, 2020

    @mrocklin
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions