You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Issue with dashboard when using DASK with --dashboard-prefix with Python3.7 #6141
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.
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.
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
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.
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:
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
The BokehTornado application should have a prefix option that we should
have used. If memory serves I didn't use this, and instead prepended the
prefix to all of the route names for each of the pages like status/tasks.
On Mon, Apr 27, 2020 at 10:10 AM James Bourbeau ***@***.***> wrote:
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
<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
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6141 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACKZTGRJXIAYW5XTQRAP5DROW4BNANCNFSM4MR536ZA>
.
Activity
jrbourbeau commentedon Apr 27, 2020
Thanks for raising this issue @mt-krainski! Do you have any logs or tracebacks you can post to help the debugging process?
mt-krainski commentedon Apr 27, 2020
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
The dashboard then is on
localhost:8787/dask/statusit looks like on the screenshot belowIn the network tab of the developer tools of the browser, one can see that the requests for
bokeh*.min.jsfiles are failing with a 404.mrocklin commentedon Apr 27, 2020
jrbourbeau commentedon Apr 27, 2020
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:
which doesn't exist. However if I remove the
dask/prefix between8787/andstatic, then I'm able to properly navigate to the.jsfile locally. I'll navigate through dask/distributed#3658, but if someone knows where we pass path information to bokeh for where it should put.jsfiles that would be very usefulmrocklin commentedon Apr 27, 2020